Subject: Re: bug#76133: 31.0.50; feature/igc: crash using mu4e, 2025-02-07

From: Pip Cet <[email-masked]>
Date: Sat, 08 Feb 2025 10:33:05 +0000

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

> Dear all,
>
> a feature/igc crash. Opened mu4e and tried to view some mails...

Thanks for the report!

> Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=11, backtrace_limit=40) at /home/reitero/build/sources/emacs/emacs/src/emacs.c:425
> 425	{
> (gdb) bt
> #0  terminate_due_to_signal (sig=11, backtrace_limit=40)
>     at /home/reitero/build/sources/emacs/emacs/src/emacs.c:425
> #1  0x00005555556d3892 in handle_fatal_signal (sig=sig@entry=11)
>     at /home/reitero/build/sources/emacs/emacs/src/sysdep.c:1793
> #2  0x00005555556d0fb9 in deliver_thread_signal (sig=sig@entry=11,
>     handler=handler@entry=0x5555556d3884 <handle_fatal_signal>)
>     at /home/reitero/build/sources/emacs/emacs/src/sysdep.c:1785
> #3  0x00005555556d101d in deliver_fatal_thread_signal (sig=sig@entry=11)
>     at /home/reitero/build/sources/emacs/emacs/src/sysdep.c:1805
> #4  0x00005555556d104e in handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>)
>     at /home/reitero/build/sources/emacs/emacs/src/sysdep.c:1943
> #5  <signal handler called>
> #6  0x00007ffff364c3db in __GI_kill () at ../sysdeps/unix/syscall-template.S:120
> #7  0x000055555585f157 in sigHandle ()
> #8  <signal handler called>
> #9  0x000055555574ebea in SYMBOL_NAME (sym=<optimized out>)
>     at /home/reitero/build/sources/emacs/emacs/src/lisp.h:2417
> #10 print_object (obj=<optimized out>, obj@entry=0x7fffa7debfb3, printcharfun=printcharfun@entry=0x38,
>     escapeflag=escapeflag@entry=true) at /home/reitero/build/sources/emacs/emacs/src/print.c:2587
> #11 0x000055555574f80d in print (obj=obj@entry=0x7fffa7debfb3, printcharfun=0x38,
>     escapeflag=escapeflag@entry=true) at /home/reitero/build/sources/emacs/emacs/src/print.c:1297
> #12 0x000055555574f8ef in Fprin1 (object=object@entry=0x7fffa7debfb3,
>     printcharfun=printcharfun@entry=0x38, overrides=overrides@entry=0x0)
>     at /home/reitero/build/sources/emacs/emacs/src/print.c:778
> #13 0x000055555574fe98 in print_error_message (data=<optimized out>, stream=0x38,
>     context=<optimized out>, caller=<optimized out>)
>     at /home/reitero/build/sources/emacs/emacs/src/print.c:1136
> #14 0x00005555556b5ee6 in Fcommand_error_default_function (data=0x7fffb59141b3,
>     context=0x7fffe04215cc, signal=0x7fffb582a70d)
>     at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:1111
> #15 0x00007fffdff0956b in F68656c702d636f6d6d616e642d6572726f722d636f6e66757361626c652d73756767657374696f6e73_help_command_error_confusable_suggestions_0 ()
>    from /home/reitero/build/sources/emacs/emacs/src/../native-lisp/31.0.50-8ba3f656/preloaded/help-59d8049f-833688ae.eln
> #16 0x000055555572f297 in funcall_subr (subr=subr@entry=0x7fffbbda37f8, numargs=numargs@entry=3,
>     args=args@entry=0x7fffffffd7e8) at /home/reitero/build/sources/emacs/emacs/src/eval.c:3176
> #17 0x000055555572dacb in funcall_general (fun=0x7fffbbda37fd, numargs=numargs@entry=3,
>     args=args@entry=0x7fffffffd7e8) at /home/reitero/build/sources/emacs/emacs/src/lisp.h:2290
> #18 0x000055555572dbe3 in Ffuncall (nargs=4, args=0x7fffffffd7e0)
>     at /home/reitero/build/sources/emacs/emacs/src/eval.c:3104
> #19 0x00005555556b4be7 in cmd_error_internal (data=data@entry=0x7fffb59141b3,
>     context=context@entry=0x7fffffffd830 "")
>     at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:1053
> #20 0x00005555556b4d55 in cmd_error (data=0x7fffb59141b3)
>     at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:1021
> #21 0x000055555572c431 in internal_condition_case (bfun=0x5555556b7b61 <command_loop_1>,
>     handlers=<optimized out>, hfun=0x5555556b4c1e <cmd_error>)
>     at /home/reitero/build/sources/emacs/emacs/src/eval.c:1619
> #22 0x00005555556b4e49 in command_loop_2 (handlers=handlers@entry=0xa8)
>     at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:1174
> #23 0x000055555572c377 in internal_catch (tag=<optimized out>, func=0x5555556b4e27 <command_loop_2>,
>     arg=0xa8) at /home/reitero/build/sources/emacs/emacs/src/eval.c:1302
> #24 0x00005555556b6029 in command_loop ()
> --Type <RET> for more, q to quit, c to continue without paging--
>     at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:1152
> #25 0x00005555556b60c0 in recursive_edit_1 ()
>     at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:760
> #26 0x00005555556b625e in Frecursive_edit ()
>     at /home/reitero/build/sources/emacs/emacs/src/keyboard.c:843
> #27 0x00005555556b7696 in main (argc=<optimized out>, argv=0x7fffffffdb68)
>     at /home/reitero/build/sources/emacs/emacs/src/emacs.c:2580
>
> Lisp Backtrace:
> "help-command-error-confusable-suggestions" (0xffffd7e8)
>
>
> In GNU Emacs 31.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version
>  3.24.48, cairo version 1.18.2) of 2025-02-06 built on wilap
> Repository revision: aa915b0c87e42444ee5426744df18c3b15ac0cf5
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Significant fixes have been made to the specpdl and ppstack code since
that revision, possibly fixing this bug.  I'll have another look, but
it'd be great if you could try reproducing it with a new version!

Thanks!

Pip