all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: German Pacenza <germanp82@hotmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 59832@debbugs.gnu.org
Subject: bug#59832: 30.0.50; [TREESIT] Segfault in treesit_load_language
Date: Mon, 05 Dec 2022 17:47:43 -0300	[thread overview]
Message-ID: <DM5PR2201MB116194BED2DFA02AC8F4F332A7189@DM5PR2201MB1161.namprd22.prod.outlook.com> (raw)
In-Reply-To: <83bkoh97s9.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Dec 2022 10:42:31 -0500")


The crash happens when compiling with '--without-modules', if I remove
it emacs doesn't crash.


Eli Zaretskii <eliz@gnu.org> writes:

>> Running that after it crashes shows:
>> 
>> (gdb) frame 0
>> #0  treesit_load_language (language_symbol=<optimized out>, signal_symbol=0x7fffffffd2f8, 
>>     signal_data=0x7fffffffd300) at treesit.c:565
>> 565	     char *library_name = SSDATA (XCAR (tail));
>> (gdb) print XCAR(tail)
>> No symbol "XCAR" in current context.
>> (gdb) 
>
> That's because your build is without -g3.  Can you rebuild with
>
>   CFLAGS='-O2 -g3' ./configure ...
>
> ?

I get the same result.

-- 
German Pacenza





  reply	other threads:[~2022-12-05 20:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-05  9:50 bug#59832: 30.0.50; [TREESIT] Segfault in treesit_load_language German Pacenza
2022-12-05 11:44 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-05 12:49 ` Eli Zaretskii
2022-12-05 14:31   ` German Pacenza
2022-12-05 14:57     ` Eli Zaretskii
2022-12-05 15:06       ` German Pacenza
2022-12-05 15:42         ` Eli Zaretskii
2022-12-05 20:47           ` German Pacenza [this message]
2022-12-06 12:02             ` Eli Zaretskii
2022-12-06 13:06               ` German Pacenza
2022-12-06 14:39                 ` Eli Zaretskii
2022-12-06 15:01                   ` German Pacenza
2022-12-06 15:22                     ` Eli Zaretskii
2022-12-06 15:31                       ` German Pacenza
2022-12-06 15:43                         ` Eli Zaretskii
2022-12-06 21:12                           ` Yuan Fu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM5PR2201MB116194BED2DFA02AC8F4F332A7189@DM5PR2201MB1161.namprd22.prod.outlook.com \
    --to=germanp82@hotmail.com \
    --cc=59832@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.