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 #56 received at 76327 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: 76327 <at> debbugs.gnu.org, dushistov <at> mail.ru
Subject: Re: bug#76327: 29.4; random segfaults after switch to tree-sitter
Date: Tue, 18 Feb 2025 17:46:18 +0200
> Date: Tue, 18 Feb 2025 15:38:43 +0000
> From: Pip Cet <pipcet <at> protonmail.com>
> 
> "Evgeniy Dushistov via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\"" <bug-gnu-emacs <at> gnu.org> writes:
> 
> > (gdb) fr 5
> > #5  make_lispy_event (event=0x555555f308e0 <kbd_buffer+13952>) at keyboard.c:6375
> > warning: Source file is more recent than executable.
> > 6375		  return list5 (head, position, make_fixnum (double_click_count),
> > (gdb) pp event->arg
> > (33558466)
> 
> So XCDR (event->arg) is nil, not a cons cell, and its car is also not
> what it should be.  (My reading of xterm.c is that it should be Qnil,
> and there should be floats in the list following the nil).
> 
> The car would be XLI(0x8003f0a), but that doesn't ring any immediate
> bells (it might be a weird character with a shift modifier, but not an
> ASCII one...)

But we are talking about a mouse-wheel event, so it cannot be a
character with a modifier, right?

> So this still seems like a GC issue.

Probably.  I just don't understand what could that have to do with
tree-sitter.




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.