GNU bug report logs - #76327
29.4; random segfaults after switch to tree-sitter

Previous Next

Package: emacs;

Reported by: Evgeniy Dushistov <dushistov <at> mail.ru>

Date: Sun, 16 Feb 2025 08:47:01 UTC

Severity: normal

Found in version 29.4

Full log


View this message in rfc822 format

From: Evgeniy Dushistov <dushistov <at> mail.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 76327 <at> debbugs.gnu.org
Subject: bug#76327: 29.4; random segfaults after switch to tree-sitter
Date: Mon, 17 Feb 2025 18:42:09 +0300
On Mon, Feb 17, 2025 at 04:16:12PM +0300, Evgeniy Dushistov wrote:
> On Sun, Feb 16, 2025 at 11:48:52AM +0200, Eli Zaretskii wrote:
> > Please show this symbol:
> > 
> >   (gdb) source /path/to/emacs/src/.gdbinit
> >   (gdb) frame 0
> >   (gdb) print sym
> >   (gdb) xtype
> >   (gdb) xsymbol
> > 
> 
> (gdb) frame 0
> #0  SYMBOL_NAME (sym=XIL(0x55555f9b3260)) at /usr/src/debug/emacs/emacs-29.4/src/lisp.h:1152
> 1152	  return p;
> (gdb) print sym
> $1 = XIL(0x55555f9b3260)
> (gdb) xtype
> Lisp_Symbol
> (gdb) xsymbol 
> $2 = (struct Lisp_Symbol *) 0xaaaab57810c0
> Cannot access memory at address 0xaaaab57810c8
> (gdb) 
> 
> 
> > > #5  0x000055555570603b in Fcommand_error_default_function (data=0x55555a8e65c3, context=0x7ffff1880284, signal=0x7fe0) at /usr/src/debug/emacs/emacs-29.4/src/lisp.h:1679
> > 
> > Can you show the error and its data here?  Like this:
> > 
> >  (gdb) frame 5
> >  (gdb) pp data
> >  (gdb) pp context
> > 
> 
And because of "pp data" cause additional segfault,
I can not use "pp context",
so here is "pp context", if call it before "pp data":

(gdb) pp context
""


-- 
/Evgeniy




This bug report was last modified 116 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.