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 17:00:27 +0100	[thread overview]
Message-ID: <87wnkyhnfo.fsf@gmail.com> (raw)
In-Reply-To: <xjfsfvm3n6j.fsf@ma.sdf.org> (Andrea Corallo's message of "Tue, 23 Nov 2021 15:29:40 +0000")

>>>>> On Tue, 23 Nov 2021 15:29:40 +0000, Andrea Corallo <akrl@sdf.org> said:

    Andrea> It's really important we make sure the reproducer is produced when Emacs
    Andrea> crashes.  Could you clean-up the old repro before each test so we make
    Andrea> sure we get a new repro that we know is correlated with the crashy run?

As I suspected, my reproduction was faulty. The first crash produces
these files only (and linking and running them doesnʼt crash):

~/.emacs.d/eln-cache/29.0.50-04b8e366> ls
subr--trampoline-746f702d6c6576656c_top_level_0_libgccjit_repro.c
subr--trampoline-61626f72742d7265637572736976652d65646974_abort_recursive_edit_0.eln
subr--trampoline-746f702d6c6576656c_top_level_0vRK8HA.eln.tmp
subr--trampoline-61626f72742d7265637572736976652d65646974_abort_recursive_edit_0_libgccjit_repro.c

    >> 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.

    Andrea> I think without libgccjit with debug symbols there's not much that can be
    Andrea> easily inferred here.

Well why didnʼt you say so in the first place. Itʼs a VM, I can
install whatever I like :-)

gdb) bt
#0  vec<gcc::jit::playback::block*, va_heap, vl_ptr>::space(int) const (nelems=1, this=0x7ffff06fe778) at ../../gcc/vec.h:1467
#1  vec<gcc::jit::playback::block*, va_heap, vl_ptr>::reserve(unsigned int, bool) (nelems=1, exact=false, this=0x7ffff06fe778) at ../../gcc/vec.h:1762
#2  vec<gcc::jit::playback::block*, va_heap, vl_ptr>::safe_push(gcc::jit::playback::block* const&) (obj=<synthetic pointer>: 0x7ffff0324870, this=0x7ffff06fe778) at ../../gcc/vec.h:1887
#3  gcc::jit::playback::function::new_block(char const*) (name=<optimized out>, this=0x7ffff06fe730) at ../../gcc/jit/jit-playback.c:1565
#4  gcc::jit::recording::block::replay_into(gcc::jit::playback::context*) (this=0x11eff50) at ../../gcc/jit/jit-recording.c:4452
#5  0x00007ffff4fc9809 in gcc::jit::recording::context::replay_into(gcc::jit::playback::context*) (this=0x115b370, r=0x7fffffff92f0) at ../../gcc/jit/jit-recording.c:688
#6  0x00007ffff4fea69f in gcc::jit::playback::context::replay() (this=<optimized out>) at ../../gcc/jit/jit-playback.c:2957
#7  jit_langhook_parse_file() () at ../../gcc/jit/dummy-frontend.c:615
#8  0x00007ffff4e7ba92 in compile_file() () at ../../gcc/toplev.c:457
#9  0x00007ffff500c1f2 in do_compile () at ../../gcc/toplev.c:2201
#10 toplev::main(int, char**) (argv=<optimized out>, argc=<optimized out>, this=0x7fffffff9222) at ../../gcc/toplev.c:2340
#11 gcc::jit::playback::context::compile() (this=0x7fffffff92f0) at ../../gcc/jit/jit-playback.c:2113
#12 0x00007ffff4fe7cd5 in gcc::jit::recording::context::compile_to_file(gcc_jit_output_kind, char const*) (output_path=<optimized out>, output_kind=<optimized out>, this=<optimized out>)
    at ../../gcc/jit/jit-recording.c:1429
#13 gcc_jit_context_compile_to_file(gcc_jit_context*, gcc_jit_output_kind, char const*) (ctxt=<optimized out>, output_kind=<optimized out>, output_path=<optimized out>)
    at ../../gcc/jit/libgccjit.c:2860
#14 0x0000000000692cd6 in Fcomp__compile_ctxt_to_file (filename=0x13c1874) at comp.c:4652

    Andrea> BTW which libgccjit version are you on? (looks farily recent)

Information for package libgccjit0:
-----------------------------------
Repository     : Main Repository (OSS)
Name           : libgccjit0
Version        : 11.2.1+git610-1.15
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 23.8 MiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : gcc11-11.2.1+git610-1.15.src

Robert
-- 





  reply	other threads:[~2021-11-23 16:00 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
2021-11-23 15:29                       ` Andrea Corallo
2021-11-23 16:00                         ` Robert Pluim [this message]
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=87wnkyhnfo.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).