unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Andrea Corallo <akrl@sdf.org>
Cc: 51688@debbugs.gnu.org, schwab@linux-m68k.org
Subject: bug#51688: ELC+ELN  international/emoji.elc crashes
Date: Tue, 23 Nov 2021 16:02:33 +0100	[thread overview]
Message-ID: <871r36j4om.fsf@gmail.com> (raw)
In-Reply-To: <xjfwnkz2alc.fsf@ma.sdf.org> (Andrea Corallo's message of "Tue, 23 Nov 2021 14:46:55 +0000")

>>>>> On Tue, 23 Nov 2021 14:46:55 +0000, Andrea Corallo <akrl@sdf.org> said:

    Andrea> $ gcc emoji-aca2d225-0997194d_libgccjit_repro.c -lgccjit
    >> 
    Andrea> And run it to see if it crashes.
    >> 
    Andrea> $ ./a.out
    >> 
    >> No, that doesnʼt crash. And similarly for the .c files in
    >> .emacs.d/eln-cache, they donʼt crash.

    Andrea> To be sure, was the .c file produced when Emacs crashed?

Not quite, it was produced when I reran the compile but with the
comp-libgccjit-reproducer set to t. The crash doesnʼt always happen
the second time.

But I have a live emacs process thatʼs just crashed (the first time)
trapped in gdb if you want me to poke at it.

#0  0x00007ffff4fc4231 in  () at /lib64/libgccjit.so.0
#1  0x00007ffff4fc9809 in  () at /lib64/libgccjit.so.0
#2  0x00007ffff4fea69f in  () at /lib64/libgccjit.so.0
#3  0x00007ffff4e7ba92 in  () at /lib64/libgccjit.so.0
#4  0x00007ffff500c1f2 in  () at /lib64/libgccjit.so.0
#5  0x00007ffff4fe7cd5 in gcc_jit_context_compile_to_file () at /lib64/libgccjit.so.0
#6  0x0000000000692cd6 in Fcomp__compile_ctxt_to_file (filename=0x1260834) at comp.c:4652
#7  0x000000000063a3a8 in funcall_subr (subr=0xb00fe0 <Scomp__compile_ctxt_to_file>, numargs=1, args=0x7fffffff9918) at eval.c:3143
#8  0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffff9910) at eval.c:3068
#9  0x00007ffff0a64cda in F636f6d702d636f6d70696c652d637478742d746f2d66696c65_comp_compile_ctxt_to_file_0 ()
    at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/comp-7672a6ed-a040a5e7.eln
#10 0x000000000063a3a8 in funcall_subr (subr=0xe94bd0, numargs=1, args=0x7fffffff9a78) at eval.c:3143
#11 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffff9a70) at eval.c:3068
#12 0x00007ffff0a64ec5 in F636f6d702d66696e616c31_comp_final1_0 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/comp-7672a6ed-a040a5e7.eln
#13 0x000000000063a38f in funcall_subr (subr=0xe94c20, numargs=0, args=0x7fffffff9ce8) at eval.c:3141
#14 0x0000000000639fc2 in Ffuncall (nargs=1, args=0x7fffffff9ce0) at eval.c:3068
#15 0x00007ffff0a6511c in F636f6d702d66696e616c_comp_final_0 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/comp-7672a6ed-a040a5e7.eln
#16 0x000000000063a3a8 in funcall_subr (subr=0xe94c70, numargs=1, args=0x7fffffff9f00) at eval.c:3143
#17 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffff9ef8) at eval.c:3068
#18 0x00007ffff0a68e1a in F636f6d702d2d6e61746976652d636f6d70696c65_comp__native_compile_0 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/comp-7672a6ed-a040a5e7.eln
#19 0x000000000063a402 in funcall_subr (subr=0xe95150, numargs=3, args=0x7fffffffa0b0) at eval.c:3148
#20 0x0000000000639fc2 in Ffuncall (nargs=4, args=0x7fffffffa0a8) at eval.c:3068
#21 0x00007ffff0a6655d in F636f6d702d7472616d706f6c696e652d636f6d70696c65_comp_trampoline_compile_0 ()
    at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/comp-7672a6ed-a040a5e7.eln
#22 0x000000000063a3a8 in funcall_subr (subr=0xe94ea0, numargs=1, args=0x7fffffffa238) at eval.c:3143
#23 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffffa230) at eval.c:3068
#24 0x00007ffff0a12a0a in F636f6d702d737562722d7472616d706f6c696e652d696e7374616c6c_comp_subr_trampoline_install_0 ()
    at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/comp-7672a6ed-a040a5e7.eln
#25 0x000000000063a3a8 in funcall_subr (subr=0xfca3a0, numargs=1, args=0x7fffffffa418) at eval.c:3143
#26 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffffa410) at eval.c:3068
#27 0x00007ffff179955f in F6164766963652d2d6164642d66756e6374696f6e_advice__add_function_0 ()
    at /home/rpluim/repos/emacs-4/src/../native-lisp/29.0.50-04b8e366/preloaded/nadvice-64630aaa-4c5c4a90.eln
#28 0x000000000063a43d in funcall_subr (subr=0x7ffff225a8c0, numargs=4, args=0x7fffffffa6a8) at eval.c:3151
#29 0x0000000000639fc2 in Ffuncall (nargs=5, args=0x7fffffffa6a0) at eval.c:3068
#30 0x00007ffff179aba0 in F6164766963652d616464_advice_add_0 () at /home/rpluim/repos/emacs-4/src/../native-lisp/29.0.50-04b8e366/preloaded/nadvice-64630aaa-4c5c4a90.eln
#31 0x000000000063a43d in funcall_subr (subr=0x7ffff1fcd7f8, numargs=3, args=0x7fffffffa850) at eval.c:3151
#32 0x0000000000639fc2 in Ffuncall (nargs=4, args=0x7fffffffa848) at eval.c:3068
#33 0x0000000000685feb in exec_byte_code (bytestr=0x105bad4, vector=0x105abfd, maxdepth=0x12, args_template=0x0, nargs=0, args=0x0) at bytecode.c:632
#34 0x0000000000685556 in Fbyte_code (bytestr=0x105bad4, vector=0x105abfd, maxdepth=0x12) at bytecode.c:334
#35 0x0000000000638a28 in eval_sub (form=0x104e313) at eval.c:2549
#36 0x0000000000638115 in Feval (form=0x104e313, lexical=0x30) at eval.c:2372
#37 0x00007ffff07f145a in top_level_run () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/transient-376febf1-23039d56.eln
#38 0x0000000000693c1a in load_comp_unit (comp_u=0x10103c0, loading_dump=false, late_load=false) at comp.c:5093
#39 0x000000000069473b in Fnative_elisp_load (filename=0xfe51a4, late_load=0x0) at comp.c:5309
#40 0x000000000066cda6 in Fload (file=0x100e344, noerror=0x0, nomessage=0x30, nosuffix=0x0, must_suffix=0x30) at lread.c:1564
#41 0x000000000066d0e4 in save_match_data_load (file=0x100e344, noerror=0x0, nomessage=0x30, nosuffix=0x0, must_suffix=0x30) at lread.c:1628
#42 0x0000000000649046 in Frequire (feature=0x489f90 <Fcurrent_bidi_paragraph_direction+854>, filename=0x0, noerror=0x0) at fns.c:3188
#43 0x000000000063a402 in funcall_subr (subr=0xafe3a0 <Srequire>, numargs=1, args=0x7fffffffb418) at eval.c:3148
#44 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffffb410) at eval.c:3068
#45 0x0000000000638f75 in Fapply (nargs=2, args=0x7fffffffb410) at eval.c:2655
#46 0x00007ffff09b195e in F627974652d636f6d70696c652d66696c652d666f726d2d72657175697265_byte_compile_file_form_require_0 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/bytecomp-12882072-c5edfb79.eln
#47 0x000000000063a3a8 in funcall_subr (subr=0xc90de0, numargs=1, args=0x7fffffffb598) at eval.c:3143
#48 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffffb590) at eval.c:3068
#49 0x00007ffff09b0a7a in F627974652d636f6d70696c652d66696c652d666f726d_byte_compile_file_form_0 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/bytecomp-12882072-c5edfb79.eln
#50 0x000000000063a3a8 in funcall_subr (subr=0xc90bb0, numargs=1, args=0x7fffffffb6e8) at eval.c:3143
#51 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffffb6e0) at eval.c:3068
#52 0x00007ffff09b0993 in F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_49 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/bytecomp-12882072-c5edfb79.eln
#53 0x000000000063a3a8 in funcall_subr (subr=0xc19ad8, numargs=1, args=0x7fffffffb838) at eval.c:3143
#54 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffffb830) at eval.c:3068
#55 0x00007ffff09a1fc7 in F627974652d636f6d70696c652d726563757273652d746f706c6576656c_byte_compile_recurse_toplevel_0 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/bytecomp-12882072-c5edfb79.eln
#56 0x000000000063a3cf in funcall_subr (subr=0xc888b0, numargs=2, args=0x7fffffffb998) at eval.c:3145
#57 0x0000000000639fc2 in Ffuncall (nargs=3, args=0x7fffffffb990) at eval.c:3068
#58 0x00007ffff09b09f6 in F627974652d636f6d70696c652d746f706c6576656c2d66696c652d666f726d_byte_compile_toplevel_file_form_0 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/bytecomp-12882072-c5edfb79.eln
#59 0x000000000063a3a8 in funcall_subr (subr=0xbf9ed0, numargs=1, args=0x7fffffffbaf8) at eval.c:3143
#60 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffffbaf0) at eval.c:3068
#61 0x00007ffff09ae91f in F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_47 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/bytecomp-12882072-c5edfb79.eln
#62 0x000000000063a3a8 in funcall_subr (subr=0xc19a38, numargs=1, args=0x7fffffffbcb0) at eval.c:3143
#63 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffffbca8) at eval.c:3068
#64 0x00007ffff09af11d in F627974652d636f6d70696c652d66726f6d2d627566666572_byte_compile_from_buffer_0 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/bytecomp-12882072-c5edfb79.eln
#65 0x000000000063a3a8 in funcall_subr (subr=0xbf9ca0, numargs=1, args=0x7fffffffbeb8) at eval.c:3143
#66 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffffbeb0) at eval.c:3068
#67 0x00007ffff09ad066 in F627974652d636f6d70696c652d66696c65_byte_compile_file_0 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/bytecomp-12882072-c5edfb79.eln
#68 0x000000000063a3cf in funcall_subr (subr=0xbf9c00, numargs=1, args=0x7fffffffc048) at eval.c:3145
#69 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffffc040) at eval.c:3068
#70 0x0000000000685feb in exec_byte_code (bytestr=0xd26d84, vector=0xc6b685, maxdepth=0x42, args_template=0x406, nargs=1, args=0x7fffffffc850) at bytecode.c:632
#71 0x000000000063a65b in fetch_and_exec_byte_code (fun=0xc5741d, syms_left=0x406, nargs=1, args=0x7fffffffc848) at eval.c:3192
#72 0x000000000063a9e8 in funcall_lambda (fun=0xc5741d, nargs=1, arg_vector=0x7fffffffc848) at eval.c:3273
#73 0x000000000063a016 in Ffuncall (nargs=2, args=0x7fffffffc840) at eval.c:3072
#74 0x0000000000638f35 in Fapply (nargs=3, args=0x7fffffffc840) at eval.c:2651
#75 0x000000000063a2e4 in funcall_subr (subr=0xafbbe0 <Sapply>, numargs=3, args=0x7fffffffc840) at eval.c:3123
#76 0x0000000000639fc2 in Ffuncall (nargs=4, args=0x7fffffffc838) at eval.c:3068
#77 0x0000000000685feb in exec_byte_code (bytestr=0x7ffff24179ac, vector=0xeda71d, maxdepth=0x3a, args_template=0x606, nargs=1, args=0x7fffffffcd80) at bytecode.c:632
#78 0x000000000063a65b in fetch_and_exec_byte_code (fun=0xfa17e5, syms_left=0x606, nargs=1, args=0x7fffffffcd78) at eval.c:3192
#79 0x000000000063a9e8 in funcall_lambda (fun=0xfa17e5, nargs=1, arg_vector=0x7fffffffcd78) at eval.c:3273
#80 0x000000000063a016 in Ffuncall (nargs=2, args=0x7fffffffcd70) at eval.c:3072
#81 0x00007ffff0a2fc0a in F636f6d702d7370696c6c2d6c6170_comp_spill_lap_0 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/comp-7672a6ed-a040a5e7.eln
#82 0x000000000063a3a8 in funcall_subr (subr=0xfb2ea0, numargs=1, args=0x7fffffffcf10) at eval.c:3143
#83 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffffcf08) at eval.c:3068
#84 0x00007ffff0a68e1a in F636f6d702d2d6e61746976652d636f6d70696c65_comp__native_compile_0 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/comp-7672a6ed-a040a5e7.eln
#85 0x000000000063a402 in funcall_subr (subr=0xe95150, numargs=1, args=0x7fffffffd0a8) at eval.c:3148
#86 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffffd0a0) at eval.c:3068
#87 0x00007ffff0a6a1e0 in F62617463682d6e61746976652d636f6d70696c65_batch_native_compile_0 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/comp-7672a6ed-a040a5e7.eln
#88 0x000000000063a3a8 in funcall_subr (subr=0xf24d60, numargs=0, args=0x7fffffffd250) at eval.c:3143
#89 0x0000000000639fc2 in Ffuncall (nargs=1, args=0x7fffffffd248) at eval.c:3068
#90 0x00007ffff0a6a360 in F62617463682d627974652b6e61746976652d636f6d70696c65_batch_bytenative_compile_0 () at /home/rpluim/repos/emacs-4/native-lisp/29.0.50-04b8e366/comp-7672a6ed-a040a5e7.eln
#91 0x000000000063a38f in funcall_subr (subr=0xf24db0, numargs=0, args=0x7fffffffd440) at eval.c:3141
#92 0x0000000000639fc2 in Ffuncall (nargs=1, args=0x7fffffffd438) at eval.c:3068
#93 0x00007ffff185652b in F636f6d6d616e642d6c696e652d31_command_line_1_0 () at /home/rpluim/repos/emacs-4/src/../native-lisp/29.0.50-04b8e366/preloaded/startup-bbc6ea72-1e61e581.eln
#94 0x000000000063a3a8 in funcall_subr (subr=0x7ffff22d8c78, numargs=1, args=0x7fffffffd7e8) at eval.c:3143
#95 0x0000000000639fc2 in Ffuncall (nargs=2, args=0x7fffffffd7e0) at eval.c:3068
#96 0x00007ffff184e2d0 in F636f6d6d616e642d6c696e65_command_line_0 () at /home/rpluim/repos/emacs-4/src/../native-lisp/29.0.50-04b8e366/preloaded/startup-bbc6ea72-1e61e581.eln
#97 0x000000000063a38f in funcall_subr (subr=0x7ffff22da5e0, numargs=0, args=0x7fffffffd990) at eval.c:3141
#98 0x0000000000639fc2 in Ffuncall (nargs=1, args=0x7fffffffd988) at eval.c:3068
#99 0x00007ffff184a354 in F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0 () at /home/rpluim/repos/emacs-4/src/../native-lisp/29.0.50-04b8e366/preloaded/startup-bbc6ea72-1e61e581.eln
#100 0x000000000063899d in eval_sub (form=0x7ffff22d1feb) at eval.c:2540
#101 0x0000000000638115 in Feval (form=0x7ffff22d1feb, lexical=0x0) at eval.c:2372
#102 0x000000000057f95f in top_level_2 () at keyboard.c:1143
#103 0x0000000000636414 in internal_condition_case (bfun=0x57f93c <top_level_2>, handlers=0x90, hfun=0x57f2bb <cmd_error>) at eval.c:1495
#104 0x000000000057f9a3 in top_level_1 (ignore=0x0) at keyboard.c:1151
#105 0x0000000000635b4a in internal_catch (tag=0xe9d0, func=0x57f961 <top_level_1>, arg=0x0) at eval.c:1226
#106 0x000000000057f896 in command_loop () at keyboard.c:1111
#107 0x000000000057ee76 in recursive_edit_1 () at keyboard.c:721
#108 0x000000000057f013 in Frecursive_edit () at keyboard.c:804
#109 0x000000000057bb08 in main (argc=11, argv=0x7fffffffdf38) at emacs.c:2376

Robert
-- 





  reply	other threads:[~2021-11-23 15:02 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-08 13:11 bug#51688: ELC+ELN international/emoji.elc crashes Andreas Schwab
2021-11-08 13:41 ` Eli Zaretskii
2021-11-08 13:50   ` Andreas Schwab
2021-11-08 14:04     ` Eli Zaretskii
2021-11-08 13:45 ` Lars Ingebrigtsen
2021-11-08 14:46   ` Andreas Schwab
2021-11-08 15:39     ` Lars Ingebrigtsen
2021-11-17 15:30 ` Andrea Corallo
2021-11-17 15:34   ` Andreas Schwab
2021-11-17 15:40     ` Andrea Corallo
2021-11-17 15:42       ` Andreas Schwab
2021-11-17 16:27         ` Andrea Corallo
2021-11-17 16:35           ` Andreas Schwab
2021-11-18  9:02             ` Andrea Corallo
2021-11-18  9:12               ` Andreas Schwab
2021-11-18  9:21                 ` Andrea Corallo
2021-11-22 10:51   ` Andreas Schwab
2021-11-22 14:48     ` Eli Zaretskii
2021-11-22 14:55       ` Robert Pluim
2021-11-23  8:44         ` Robert Pluim
2021-11-23 12:42           ` Eli Zaretskii
2021-11-23 13:18             ` Robert Pluim
2021-11-23 14:03               ` Robert Pluim
2021-11-23 14:11                 ` Eli Zaretskii
2021-11-23 14:15                   ` Robert Pluim
2021-11-23 14:27                     ` Eli Zaretskii
2021-11-23 14:34               ` Andrea Corallo
2021-11-23 14:42                 ` Robert Pluim
2021-11-23 14:46                   ` Andrea Corallo
2021-11-23 15:02                     ` Robert Pluim [this message]
2021-11-23 15:29                       ` Andrea Corallo
2021-11-23 16:00                         ` Robert Pluim
2021-11-24  9:39                           ` Andreas Schwab
2021-11-24 13:00                             ` Eli Zaretskii
2021-11-24 13:06                               ` Andreas Schwab
2021-11-24 13:18                                 ` Eli Zaretskii
2021-11-24 15:14                                   ` Andrea Corallo
2021-11-24 15:23                                     ` Martin Liška
2021-11-25 10:57                                     ` Andrea Corallo
2021-11-25 11:17                                       ` Eli Zaretskii
2021-11-23 11:22       ` Andreas Schwab
2021-11-23 11:36       ` Andreas Schwab
2021-11-23 12:56         ` Eli Zaretskii
2021-11-23 13:10           ` Eli Zaretskii
2021-11-23 13:22           ` Robert Pluim
2021-11-23 14:29           ` Andrea Corallo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871r36j4om.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=51688@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).