Subject: Re: bug#76237: 31.0.50; feature/igc: crash #1, 2025-02-12

From: Pip Cet <[email-masked]>
Date: Sat, 22 Feb 2025 11:50:16 +0000

"Oliver Reiter via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\"" <[email-masked]> writes:

> Dear all,
>
> crash happened while opening a .org file:
>
> (gdb) bt
> #0  terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at /home/reitero/build/sources/emacs/emacs/src/emacs.c:425
> #1  0x000055555579ef5a in set_state (state=state@entry=IGC_STATE_DEAD) at /home/reitero/build/sources/emacs/emacs/src/igc.c:1017
> #2  0x00005555557a0a7b in igc_assert_fail (file=<optimized out>, line=<optimized out>, msg=<optimized out>) at /home/reitero/build/sources/emacs/emacs/src/igc.c:306
> #3  0x0000555555835579 in LockClaim ()
> #4  0x0000555555835825 in ArenaEnterLock ()
> #5  0x000055555585f33e in ArenaAccess ()
> #6  0x000055555585f834 in sigHandle ()
> #7  <signal handler called>
> #8  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:833
> #9  0x000055555586962d in amcSegFix ()
> #10 0x000055555580362d in _mps_fix2 ()
> #11 0x00005555557994a7 in fix_raw (ss=ss@entry=0x7fffffffad78, p=p@entry=0x7fffffffabf0) at /home/reitero/build/sources/emacs/emacs/src/igc.c:1188
> #12 0x0000555555799563 in fix_string (ss=ss@entry=0x7fffffffad78, s=s@entry=0x7fffeca46290) at /home/reitero/build/sources/emacs/emacs/src/igc.c:1765

This looks like the pgtkterm.c device name bug that has since been
fixed.  Closing for now, please open a new bug report if you run into
this crash again!

Thanks!

Pip