From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#51688: ELC+ELN international/emoji.elc crashes Date: Tue, 23 Nov 2021 17:00:27 +0100 Message-ID: <87wnkyhnfo.fsf@gmail.com> References: <87tugmyeow.fsf@igel.home> <87o86cpinw.fsf@igel.home> <83y25gp7pu.fsf@gnu.org> <87v90kjl36.fsf@gmail.com> <87r1b7i7n2.fsf@gmail.com> <83ilwjoxgc.fsf@gnu.org> <87mtlvhux6.fsf@gmail.com> <875ysjhr0u.fsf@gmail.com> <871r36j4om.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31674"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51688@debbugs.gnu.org, schwab@linux-m68k.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 23 17:02:43 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpYFn-00082E-1x for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Nov 2021 17:02:43 +0100 Original-Received: from localhost ([::1]:39696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpYFl-0000sY-Uv for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Nov 2021 11:02:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpYEA-00074R-Bp for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 11:01:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpYEA-00088e-07 for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 11:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpYE9-0007bV-Sw for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2021 11:01:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Nov 2021 16:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51688 X-GNU-PR-Package: emacs Original-Received: via spool by 51688-submit@debbugs.gnu.org id=B51688.163768324329196 (code B ref 51688); Tue, 23 Nov 2021 16:01:01 +0000 Original-Received: (at 51688) by debbugs.gnu.org; 23 Nov 2021 16:00:43 +0000 Original-Received: from localhost ([127.0.0.1]:52133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpYDp-0007ao-TF for submit@debbugs.gnu.org; Tue, 23 Nov 2021 11:00:42 -0500 Original-Received: from mail-wr1-f48.google.com ([209.85.221.48]:34469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpYDj-0007aU-Dz for 51688@debbugs.gnu.org; Tue, 23 Nov 2021 11:00:40 -0500 Original-Received: by mail-wr1-f48.google.com with SMTP id j3so2088156wrp.1 for <51688@debbugs.gnu.org>; Tue, 23 Nov 2021 08:00:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=wVjxfn6p3nVvgF7dGlvwwA+/H6aYvWtATW5AHSNIrXQ=; b=OUtf8We8sL95iCPpHTFu9nyZ6Pl1U/wC/HgkgXPmCfrlUG0zwp6q1rVorU0HA0Np7P tZ087PsVLBBYAcJ3fj8RnHa1T+7Rd95Lz7L2mkhUyTFNbPxXqctJK0hiH0RcBLdbucAO oBjDTLGOP53QdjGvulQnBHmL0iAqlNeivmgO04v4e+5XYxSGrjAJ3ekr9HrQMiFjLplv S3N640IrkocpBdEyxB+YSSvvK9Ys004UgoKYqQhi6ADRTbhJsvNslHikTQ/SYyN34WPz 5sfyBMsq8k7GEga/cSan5EoGAg8ueuFO9lYu2mVzf1/nRcvI3RLM8Fv1VD8hvSkA5Cg2 zx1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=wVjxfn6p3nVvgF7dGlvwwA+/H6aYvWtATW5AHSNIrXQ=; b=T/klSmknJGKDmTrljX/AeToSGvYNVR7QO/Oe/dxh+a9ECweay8rtXB7Tog4QBY2gfR 2k6SFJ1s0XXYuQHB1H/Yhzax/XOcyyx2IyAysLhZFkes6YoK/VkLv8xhoB54EtRX0Dk5 aRU3HFiAZkUyabaICox7DCLIxeTfciBUhD105d2ISv1vJudaJ+MxfBp6jfJpBX/7k7js HaNZdl0Yr3N2bkBi/dcz3SztUXYE8g5gG7EEwzPtjmsiU1zCi+mmW6RrLEMdagPoL6n2 CoNQQUdzr5vo4tDZaaBzPZ2DzP68gU21TOQP/N2PPqz6RXsGJrY/jAT0nZ16qvDrWDgZ Y9EQ== X-Gm-Message-State: AOAM5313osg1GU+1447PaVvKaWPXpfL9Z2L6gq0z+dyi70NV5KYo+75E SAYQE9d9AHrHgFE3k1N1sF0= X-Google-Smtp-Source: ABdhPJzq8ox5XN58g5bBtunKw/lsiYF3WWlMkoH5IVhClI2LdnClG8Km/85B82xjHCZugTgmDbwZig== X-Received: by 2002:a5d:64e7:: with SMTP id g7mr8770573wri.350.1637683229327; Tue, 23 Nov 2021 08:00:29 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:faae:45ea:a573:a9b3]) by smtp.gmail.com with ESMTPSA id z12sm12347990wrv.78.2021.11.23.08.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 08:00:28 -0800 (PST) In-Reply-To: (Andrea Corallo's message of "Tue, 23 Nov 2021 15:29:40 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:220677 Archived-At: >>>>> On Tue, 23 Nov 2021 15:29:40 +0000, Andrea Corallo sai= d: Andrea> It's really important we make sure the reproducer is produced w= hen 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 cra= shy run? As I suspected, my reproduction was faulty. The first crash produces these files only (and linking and running them doesn=CA=BCt crash): ~/.emacs.d/eln-cache/29.0.50-04b8e366> ls subr--trampoline-746f702d6c6576656c_top_level_0_libgccjit_repro.c subr--trampoline-61626f72742d7265637572736976652d65646974_abort_recursive_e= dit_0.eln subr--trampoline-746f702d6c6576656c_top_level_0vRK8HA.eln.tmp subr--trampoline-61626f72742d7265637572736976652d65646974_abort_recursive_e= dit_0_libgccjit_repro.c >> But I have a live emacs process that=CA=BCs 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 t= hat can be Andrea> easily inferred here. Well why didn=CA=BCt you say so in the first place. It=CA=BCs a VM, I can install whatever I like :-) gdb) bt #0 vec::space(int) const (nel= ems=3D1, this=3D0x7ffff06fe778) at ../../gcc/vec.h:1467 #1 vec::reserve(unsigned int,= bool) (nelems=3D1, exact=3Dfalse, this=3D0x7ffff06fe778) at ../../gcc/vec.= h:1762 #2 vec::safe_push(gcc::jit::p= layback::block* const&) (obj=3D: 0x7ffff0324870, this=3D= 0x7ffff06fe778) at ../../gcc/vec.h:1887 #3 gcc::jit::playback::function::new_block(char const*) (name=3D, this=3D0x7ffff06fe730) at ../../gcc/jit/jit-playback.c:1565 #4 gcc::jit::recording::block::replay_into(gcc::jit::playback::context*) (= this=3D0x11eff50) at ../../gcc/jit/jit-recording.c:4452 #5 0x00007ffff4fc9809 in gcc::jit::recording::context::replay_into(gcc::ji= t::playback::context*) (this=3D0x115b370, r=3D0x7fffffff92f0) at ../../gcc/= jit/jit-recording.c:688 #6 0x00007ffff4fea69f in gcc::jit::playback::context::replay() (this=3D) 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=3D, argc=3D, this=3D0x7fffffff9222) at ../../gcc/toplev.c:2340 #11 gcc::jit::playback::context::compile() (this=3D0x7fffffff92f0) 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=3D, output_kind= =3D, this=3D) at ../../gcc/jit/jit-recording.c:1429 #13 gcc_jit_context_compile_to_file(gcc_jit_context*, gcc_jit_output_kind, = char const*) (ctxt=3D, output_kind=3D, output= _path=3D) at ../../gcc/jit/libgccjit.c:2860 #14 0x0000000000692cd6 in Fcomp__compile_ctxt_to_file (filename=3D0x13c1874= ) 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 --=20