bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59832: 30.0.50; [TREESIT] Segfault in treesit_load_language


From: Eli Zaretskii
Subject: bug#59832: 30.0.50; [TREESIT] Segfault in treesit_load_language
Date: Mon, 05 Dec 2022 17:42:14 +0200

> From: German Pacenza <germanp82@hotmail.com>
> Cc: 59832@debbugs.gnu.org
> Date: Mon, 05 Dec 2022 12:06:13 -0300
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> 
> > Thanks.  Please show the output of the following:
> >
> >   (gdb) frame 0
> >   (gdb) print XCAR(tail)
> 
> 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 ...

?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]