all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: German Pacenza <germanp82@hotmail.com>
Cc: 59832@debbugs.gnu.org
Subject: bug#59832: 30.0.50; [TREESIT] Segfault in treesit_load_language
Date: Mon, 05 Dec 2022 17:42:14 +0200	[thread overview]
Message-ID: <83bkoh97s9.fsf@gnu.org> (raw)
In-Reply-To: <DM5PR2201MB1161130EFFE63F0195568336A7189@DM5PR2201MB1161.namprd22.prod.outlook.com> (message from German Pacenza on Mon, 05 Dec 2022 12:06:13 -0300)

> 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	other threads:[~2022-12-05 15:42 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 [this message]
2022-12-05 20:47           ` German Pacenza
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=83bkoh97s9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=59832@debbugs.gnu.org \
    --cc=germanp82@hotmail.com \
    /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.