GNU bug report logs - #74966
31.0.50; Crash report (using igc on macOS)

Previous Next

Package: emacs;

Reported by: Sean Devlin <spd <at> toadstyle.org>

Date: Thu, 19 Dec 2024 09:19:02 UTC

Severity: normal

Found in version 31.0.50

Done: Pip Cet <pipcet <at> protonmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sean Devlin <spd <at> toadstyle.org>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: 74966 <at> debbugs.gnu.org, Pip Cet <pipcet <at> protonmail.com>
Subject: bug#74966: 31.0.50; Crash report (using igc on macOS)
Date: Thu, 19 Dec 2024 20:57:12 +0900
[Message part 1 (text/plain, inline)]
Hi folks,

> On Dec 19, 2024, at 7:25 PM, Gerd Möllmann <gerd.moellmann <at> gmail.com> wrote:
> 
> Sean Devlin <spd <at> toadstyle.org <mailto:spd <at> toadstyle.org>> writes:
> 
>> Hi folks,
>> 
>> I was using Emacs and encountered a crash.
>> 
>> I am running on macOS, and I built Emacs from scratch/igc using the
>> instructions on that branch.
>> 
>> I didn’t have Emacs running under a debugger, but I do have some crash
>> information captured by macOS. (See attached.)
>> 
>> At the time, I was trying to use apropos-documentation. I invoked the
>> command once, entered a string, and hit RET, and it signaled an error. I
>> tried to do this again and Emacs crashed.
>> 
>> I hope this is useful. Please let me know if there’s any other
>> information I can collect.
>> 
>> Thanks!
>> 
> .c:1811)
>> 11  Emacs                         	       0x100d222a4 handle_sigsegv + 64 (sysdep.c:1949)
>> 12  libsystem_platform.dylib      	       0x19435ee04 _sigtramp + 56
>> 13  apropos-7c1ecbdf-5d074552.eln 	       0x103407010 F6170726f706f732d736166652d646f63756d656e746174696f6e_apropos_safe_documentation_0 + 208
>> 14  Emacs                         	       0x100dd0a4c exec_byte_code + 2648 (bytecode.c:828)
>> 15  Emacs                         	       0x100d82488 Ffuncall + 456 (eval.c:3099)
>> 16  apropos-7c1ecbdf-5d074552.eln 	       0x103405968 F6170726f706f732d2d6d61702d7072656c6f616465642d61746f6d73_apropos__map_preloaded_atoms_0 + 696
> 
> Looks to me like apropos-safe-documentation, native compiled, has a
> problem here and gets an EXC_BAD_ACCESS. But that's all I can see. It's
> not even clear to me if this is GC-related or not.

Just as a data point, I tried recompiling Emacs from scratch with that same commit hash with both --with-mps=yes and --with-mps=no. I can reproduce the crash only with the --with-mps=yes setting, i.e. only when igc is enabled.

> 
> Can you reproduce this? If yes, can you give me a recipe?
> 
> Pip, should I perhaps merge with current master? I think there have been
> fixes to the native compiler on master, not sure though.

[Message part 2 (text/html, inline)]

This bug report was last modified 130 days ago.

Previous Next


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