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


Message #110 received at 76327 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Evgeniy Dushistov <dushistov <at> mail.ru>
Cc: pipcet <at> protonmail.com, eggert <at> cs.ucla.edu, 76327 <at> debbugs.gnu.org,
 mattiasengdegard <at> gmail.com
Subject: Re: bug#76327: 29.4; random segfaults after switch to tree-sitter
Date: Wed, 19 Feb 2025 18:32:09 +0200
> Date: Wed, 19 Feb 2025 14:20:53 +0300
> From: Evgeniy Dushistov <dushistov <at> mail.ru>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 76327 <at> debbugs.gnu.org,
> 	Paul Eggert <eggert <at> cs.ucla.edu>,
> 	Mattias EngdegÄrd <mattiasengdegard <at> gmail.com>
> "X-PGP-Key: https://sks-keyservers.net/pks/lookup?op=vindex&search=dushistov%40mail.ru"
> 
> On Tue, Feb 18, 2025 at 05:44:15PM +0000, Pip Cet wrote:
> > Evgeniy,, could you try replacing the definition of
> > flush_stack_call_func in lisp.h by this definition, and recompiling?
> > 
> > INLINE void
> > flush_stack_call_func (void (*func) (void *arg), void *arg)
> > {
> >   volatile bool repeat = true;
> >   while (repeat)
> >     {
> >       __builtin_unwind_init ();
> >       asm volatile ("" : : : "memory");
> >       flush_stack_call_func1 (func, arg);
> >       repeat = false;
> >     }
> > }
> > 
> 
> 
> I tried this fix.
> It doesn't help :(
> 
> New crash dump looks the same to previous (I rebuilt without --enable-checking=all):

Is this still in Emacs 29.4, only with the above patch applied?  Or is
this a different version of Emacs?




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.