Subject: Re: bug#51688: ELC+ELN international/emoji.elc crashes

From: Robert Pluim <[email-masked]>
Date: Tue, 23 Nov 2021 09:44:01 +0100

>>>>> On Mon, 22 Nov 2021 15:55:57 +0100, Robert Pluim <[email-masked]> said:

    Robert> Iʼve seen this crash *once* in my Tumbleweed VM, which unfortunately
    Robert> had core dumps disabled. Iʼve not seen it since enabling core
    Robert> dumps. Iʼll see what happens if I uses Andreas' configure options.

So this only seems to happen in a clean checkout, and I suspect I need
to remove ~/.emacs.d/eln-cache as well.

SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = xterm-256color
Breakpoint 1 at 0x4247e3: file emacs.c, line 406.
Breakpoint 2 at 0x4df170: file xterm.c, line 11599.
#0  0x00007f9e6a53387c in __pthread_kill_implementation () at /lib64/libc.so.6
#1  0x00007f9e6a4e66f6 in raise () at /lib64/libc.so.6
#2  0x0000000000424880 in terminate_due_to_signal (sig=sig@entry=11, backtrace_limit=backtrace_limit@entry=40) at emacs.c:443
#3  0x0000000000424cff in handle_fatal_signal (sig=sig@entry=11) at sysdep.c:1780
#4  0x0000000000527688 in deliver_thread_signal (sig=sig@entry=11, handler=0x424cf4 <handle_fatal_signal>) at sysdep.c:1772
#5  0x00000000005276f9 in deliver_fatal_thread_signal (sig=11) at sysdep.c:1792
#6  handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>) at sysdep.c:1885
#7  0x00007f9e6a4e67a0 in <signal handler called> () at /lib64/libc.so.6
#8  0x00007f9e6b6d3231 in  () at /lib64/libgccjit.so.0
#9  0x00007f9e6b6d8809 in  () at /lib64/libgccjit.so.0
#10 0x00007f9e6b6f969f in  () at /lib64/libgccjit.so.0
#11 0x00007f9e6b58aa92 in  () at /lib64/libgccjit.so.0
#12 0x00007f9e6b71b1f2 in  () at /lib64/libgccjit.so.0
#13 0x00007f9e6b6f6cd5 in gcc_jit_context_compile_to_file () at /lib64/libgccjit.so.0
#14 0x00000000005cfc7e in Fcomp__compile_ctxt_to_file (filename=XIL(0x2259fd4)) at /home/rpluim/repos/emacs-3/src/lisp.h:1577
#15 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffab190) at eval.c:3068
#16 0x00007f9e67173cda in F636f6d702d636f6d70696c652d637478742d746f2d66696c65_comp_compile_ctxt_to_file_0 ()
    at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/comp-7672a6ed-a040a5e7.eln
#17 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffab250) at eval.c:3068
#18 0x00007f9e67173ec5 in F636f6d702d66696e616c31_comp_final1_0 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/comp-7672a6ed-a040a5e7.eln
#19 0x000000000058aa0b in Ffuncall (nargs=1, args=0x7ffc4ffab420) at eval.c:3068
#20 0x00007f9e6717411c in F636f6d702d66696e616c_comp_final_0 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/comp-7672a6ed-a040a5e7.eln
#21 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffab598) at eval.c:3068
#22 0x00007f9e67177e1a in F636f6d702d2d6e61746976652d636f6d70696c65_comp__native_compile_0 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/comp-7672a6ed-a040a5e7.eln
#23 0x000000000058aa0b in Ffuncall (nargs=4, args=0x7ffc4ffab6a8) at eval.c:3068
#24 0x00007f9e6717555d in F636f6d702d7472616d706f6c696e652d636f6d70696c65_comp_trampoline_compile_0 ()
    at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/comp-7672a6ed-a040a5e7.eln
#25 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffab790) at eval.c:3068
#26 0x00007f9e67121a0a in F636f6d702d737562722d7472616d706f6c696e652d696e7374616c6c_comp_subr_trampoline_install_0 ()
    at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/comp-7672a6ed-a040a5e7.eln
#27 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffab8d0) at eval.c:3068
#28 0x00007f9e67ea855f in F6164766963652d2d6164642d66756e6374696f6e_advice__add_function_0 ()
    at /home/rpluim/repos/emacs-3/src/../native-lisp/29.0.50-22b306c1/preloaded/nadvice-64630aaa-4c5c4a90.eln
#29 0x000000000058aa0b in Ffuncall (nargs=5, args=0x7ffc4ffabac0) at eval.c:3068
#30 0x00007f9e67ea9ba0 in F6164766963652d616464_advice_add_0 () at /home/rpluim/repos/emacs-3/src/../native-lisp/29.0.50-22b306c1/preloaded/nadvice-64630aaa-4c5c4a90.eln
#31 0x000000000058aa0b in Ffuncall (nargs=4, args=args@entry=0x7ffc4ffabbc8) at eval.c:3068
#32 0x00000000005c5ec0 in exec_byte_code
    (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:632
#33 0x000000000058ce72 in eval_sub (form=<optimized out>) at eval.c:2549
#34 0x000000000058ea19 in Feval (form=XIL(0x226a553), lexical=<optimized out>) at eval.c:2372
#35 0x00007f9e66f0045a in top_level_run () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/transient-376febf1-23039d56.eln
#36 0x00000000005d0747 in load_comp_unit (comp_u=0x222dbd0, loading_dump=<optimized out>, late_load=<optimized out>) at comp.c:5093
#37 0x00000000005d0bba in Fnative_elisp_load (filename=XIL(0x2202c74), late_load=late_load@entry=XIL(0)) at comp.c:5309
#38 0x00000000005b41b0 in Fload (file=<optimized out>, noerror=<optimized out>, nomessage=XIL(0x30), nosuffix=<optimized out>, must_suffix=<optimized out>) at lread.c:1564
#39 0x00000000005b471a in save_match_data_load
    (file=file@entry=XIL(0x2202604), noerror=noerror@entry=XIL(0), nomessage=nomessage@entry=XIL(0x30), nosuffix=nosuffix@entry=XIL(0), must_suffix=must_suffix@entry=XIL(0x30))
    at lread.c:1628
#40 0x0000000000599eeb in Frequire (feature=XIL(0x17c1760), filename=<optimized out>, noerror=XIL(0)) at fns.c:3188
#41 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffac350) at eval.c:3068
#42 0x000000000058c7a3 in Fapply (nargs=2, args=0x7ffc4ffac350) at eval.c:2655
#43 0x00007f9e670c095e in F627974652d636f6d70696c652d66696c652d666f726d2d72657175697265_byte_compile_file_form_require_0 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/bytecomp-12882072-c5edfb79.eln
#44 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffac430) at eval.c:3068
#45 0x00007f9e670bfa7a in F627974652d636f6d70696c652d66696c652d666f726d_byte_compile_file_form_0 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/bytecomp-12882072-c5edfb79.eln
#46 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffac4e0) at eval.c:3068
#47 0x00007f9e670bf993 in F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_49 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/bytecomp-12882072-c5edfb79.eln
#48 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffac590) at eval.c:3068
#49 0x00007f9e670b0fc7 in F627974652d636f6d70696c652d726563757273652d746f706c6576656c_byte_compile_recurse_toplevel_0 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/bytecomp-12882072-c5edfb79.eln
#50 0x000000000058aa0b in Ffuncall (nargs=3, args=0x7ffc4ffac650) at eval.c:3068
#51 0x00007f9e670bf9f6 in F627974652d636f6d70696c652d746f706c6576656c2d66696c652d666f726d_byte_compile_toplevel_file_form_0 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/bytecomp-12882072-c5edfb79.eln
#52 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffac710) at eval.c:3068
#53 0x00007f9e670bd91f in F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_47 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/bytecomp-12882072-c5edfb79.eln
#54 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffac828) at eval.c:3068
#55 0x00007f9e670be11d in F627974652d636f6d70696c652d66726f6d2d627566666572_byte_compile_from_buffer_0 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/bytecomp-12882072-c5edfb79.eln
#56 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffac990) at eval.c:3068
#57 0x00007f9e670bc066 in F627974652d636f6d70696c652d66696c65_byte_compile_file_0 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/bytecomp-12882072-c5edfb79.eln
#58 0x000000000058aa0b in Ffuncall (nargs=2, args=args@entry=0x7ffc4ffaca80) at eval.c:3068
#59 0x00000000005c5ec0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:632
#60 0x000000000058a8ad in Ffuncall (nargs=2, args=0x7ffc4ffacfc0) at eval.c:3084
#61 0x000000000058c760 in Fapply (nargs=3, args=0x7ffc4ffacfc0) at eval.c:2651
#62 0x000000000058aa0b in Ffuncall (nargs=4, args=args@entry=0x7ffc4ffacfb8) at eval.c:3068
#63 0x00000000005c5ec0 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:632
#64 0x000000000058a8ad in Ffuncall (nargs=2, args=0x7ffc4ffad2f0) at eval.c:3084
#65 0x00007f9e6713ec0a in F636f6d702d7370696c6c2d6c6170_comp_spill_lap_0 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/comp-7672a6ed-a040a5e7.eln
#66 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffad3e8) at eval.c:3068
#67 0x00007f9e67177e1a in F636f6d702d2d6e61746976652d636f6d70696c65_comp__native_compile_0 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/comp-7672a6ed-a040a5e7.eln
#68 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffad4e0) at eval.c:3068
#69 0x00007f9e671791e0 in F62617463682d6e61746976652d636f6d70696c65_batch_native_compile_0 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/comp-7672a6ed-a040a5e7.eln
#70 0x000000000058aa0b in Ffuncall (nargs=1, args=0x7ffc4ffad5e8) at eval.c:3068
#71 0x00007f9e67179360 in F62617463682d627974652b6e61746976652d636f6d70696c65_batch_bytenative_compile_0 () at /home/rpluim/repos/emacs-3/native-lisp/29.0.50-22b306c1/comp-7672a6ed-a040a5e7.eln
#72 0x000000000058aa0b in Ffuncall (nargs=1, args=0x7ffc4ffad738) at eval.c:3068
#73 0x00007f9e67f6552b in F636f6d6d616e642d6c696e652d31_command_line_1_0 () at /home/rpluim/repos/emacs-3/src/../native-lisp/29.0.50-22b306c1/preloaded/startup-bbc6ea72-1e61e581.eln
#74 0x000000000058aa0b in Ffuncall (nargs=2, args=0x7ffc4ffada40) at eval.c:3068
#75 0x00007f9e67f5d2d0 in F636f6d6d616e642d6c696e65_command_line_0 () at /home/rpluim/repos/emacs-3/src/../native-lisp/29.0.50-22b306c1/preloaded/startup-bbc6ea72-1e61e581.eln
#76 0x000000000058aa0b in Ffuncall (nargs=1, args=0x7ffc4ffadb48) at eval.c:3068
#77 0x00007f9e67f59354 in F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0 () at /home/rpluim/repos/emacs-3/src/../native-lisp/29.0.50-22b306c1/preloaded/startup-bbc6ea72-1e61e581.eln
#78 0x000000000058cef6 in eval_sub (form=<optimized out>) at eval.c:2540
#79 0x000000000058ea19 in Feval (form=XIL(0x7f9e689e0feb), lexical=<optimized out>) at eval.c:2372
#80 0x00000000005899a7 in internal_condition_case (bfun=bfun@entry=0x50f200 <top_level_2>, handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x514da0 <cmd_error>) at eval.c:1495
#81 0x000000000050fe52 in top_level_1 (ignore=ignore@entry=XIL(0)) at keyboard.c:1151
#82 0x0000000000589901 in internal_catch (tag=tag@entry=XIL(0xe9d0), func=func@entry=0x50fe30 <top_level_1>, arg=arg@entry=XIL(0)) at eval.c:1226
#83 0x000000000050f17b in command_loop () at keyboard.c:1111
#84 0x000000000051499c in recursive_edit_1 () at keyboard.c:721
#85 0x0000000000514ce3 in Frecursive_edit () at keyboard.c:804
#86 0x000000000042c8cf in main (argc=11, argv=<optimized out>) at emacs.c:2376
You can't do that without a process to debug.

Robert
--