GNU bug report logs - #77046
31.0.50; Emacs sometimes crashes

Previous Next

Package: emacs;

Reported by: Markus Triska <triska <at> metalevel.at>

Date: Sun, 16 Mar 2025 09:56:02 UTC

Severity: normal

Found in version 31.0.50

Full log


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

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 77046 <at> debbugs.gnu.org, Markus Triska <triska <at> metalevel.at>
Subject: Re: bug#77046: 31.0.50; Emacs sometimes crashes
Date: Sat, 22 Mar 2025 13:04:58 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Markus Triska <triska <at> metalevel.at>
>> Cc: gerd.moellmann <at> gmail.com,  77046 <at> debbugs.gnu.org
>> Date: Sat, 22 Mar 2025 09:00:27 +0100
>> 
>> Please see below for the new backtrace, using:
>> 
>>     $ ./emacs --version
>>     GNU Emacs 31.0.50
>>     Development version cf7fdd374ac9 on master branch; build date 2025-03-22.
>> 
>> Thank you and all the best,
>> Markus
>> 
>> #0  0x000055555575e5a2 in internal_equal_1 (o1=0x7ffff47f2fac, o2=o2 <at> entry=0x555555a008e4, equal_kind=equal_kind <at> entry=EQUAL_PLAIN, depth=depth <at> entry=0, ht=ht <at> entry=0x7fffffffc4f8) at fns.c:2836
>
> Line 2836 of fns.c is this:
>
>   static bool
>   internal_equal_1 (Lisp_Object o1, Lisp_Object o2, enum equal_kind equal_kind,
> 		    int depth, Lisp_Object *ht)
>   { <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>    tail_recurse:
>     if (depth > 10)
>
> So the only way I can understand how that line could trigger a crash
> is that you have C stack overflow, something that is hard to believe
> with just 55 call-stack frames in the backtrace.  IOW, it's a mystery
> how and why does this crash in your case.
>
> Maybe Gerd could have some ideas.

Not really, I'm afraid, except to build Emacs with debug, configure with
--enable-checking=yes,glyphs and try to get it reproduced.




This bug report was last modified 84 days ago.

Previous Next


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