From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: [scratch/igc] 985247b6bee crash on Linux, KDE, Wayland Date: Fri, 06 Sep 2024 07:41:24 +0000 Message-ID: <87bk11fcv2.fsf@protonmail.com> References: <8734mezkgo.fsf@gmail.com> <875xrani8k.fsf@gmail.com> <86bk122azc.fsf@gnu.org> <87v7zagcal.fsf@gmail.com> <867cbp3nw7.fsf@gnu.org> <87v7z9msrl.fsf@gmail.com> <874j6tqxyg.fsf@gmail.com> <87jzfpfhmf.fsf@protonmail.com> <87o751z3zr.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="38680"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , gerd.moellmann@gmail.com, emacs-devel@gnu.org To: Eval EXEC Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 06 12:40:39 2024 Return-path: Envelope-to: ged-emacs-devel@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 1smWOM-0009lI-5s for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Sep 2024 12:40:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smWNb-0004E8-V2; Fri, 06 Sep 2024 06:39:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smTb5-0000fM-7z for emacs-devel@gnu.org; Fri, 06 Sep 2024 03:41:35 -0400 Original-Received: from mail-40134.protonmail.ch ([185.70.40.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smTb1-000179-9P; Fri, 06 Sep 2024 03:41:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1725608488; x=1725867688; bh=UIXoQcVJq5tYpRs/4Kk3IadB3tl3xd5X6/Vh8moyMB0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=f1LwS2RiUR9NXdypQPb5CUiZE4VPQif3MFV4nmDcUY6zonw+f/cNRjpV84bkNyFLG lfLL7tE5cICp3W2NyWZwL2hPHvc6CiHdtJlbPo2JiOUMi1VcrnXcc9a2NGVmx1rnNy qKceX+R2LkaSoaNHrrGkIRtknVms+QkVb9VFG/vIRLSW+bmGQVNjdvcAMRnr3K3x4h aZt5UUVQC4ev+qMHlut8oAY1Wk4+yHMNje9OMLPxYFNaLPLIO95hz2l2tJ5ePZrIxv KuB6bWdp9jm3EfZ3YGp9i5TKC1jxLNoQilu7wiaJVNhxyDAD45RkzF40KNUOwTAnyI P6m0R5DAO4GCA== In-Reply-To: <87o751z3zr.fsf@gmail.com> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: b6753529c0d234a298ce4095c87a2de4d02144a9 Received-SPF: pass client-ip=185.70.40.134; envelope-from=pipcet@protonmail.com; helo=mail-40134.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 06 Sep 2024 06:39:50 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323464 Archived-At: "Eval EXEC" writes: >> Thanks, and sorry you're seeing so many crashes. It's stable here, so >> we're going to need your help debugging this :-) > > Thanks for the update. No problem. I'm really happy to debug with you all= . > =E5=85=A8=E4=B8=96=E7=95=8C Emacs =E7=94=A8=E6=88=B7=E8=81=94=E5=90= =88=E8=B5=B7=E6=9D=A5=EF=BC=8C Make Emacs Great Again! That's great :-) >> Did you use any special options or patches when building mps (link time >> optimization or -O3, in particular)? > > No special options or patches >> This is the cons cell itself (the IGC header is what "cons" points to). >> >> Please also run >> >> (gdb) x/64gx 0x7f08addd0600 > It's > (gdb) x/64gx 0x7f08addd0600 > 0x7f08addd0600: 0x00007f08addd063b 0x00000003df45210d > 0x7f08addd0610: 0x0000000000000000 0x00007f08addd0653 > 0x7f08addd0620: 0x00000003df45240d 0x0000000000012638 We need to look up a few builtin symbols: 0x12638 is the first one, corresponding to symbol index 1345. > 0x7f08addd0630: 0x00007f08addd066b 0x00000003df44f80d > 0x7f08addd0640: 0x0000000000000000 0x00007f08addd0683 > 0x7f08addd0650: 0x00000003df45220d 0x000000000000a5d0 0xa5d0 is the next one, and that's index 758. > 0x7f08addd0660: 0x00007f08addd069b 0x00000003df45250d > 0x7f08addd0670: 0x0000000000000038 0x00007f08addd06b3 0x38 is t. > 0x7f08addd0680: 0x00000003df44f90d 0x000000000000a5d0 > 0x7f08addd0690: 0x00007f08addd06cb 0x00000003df45230d > 0x7f08addd06a0: 0x00007f08addd06e3 0x0000000000000000 > 0x7f08addd06b0: 0x00000003df45260d 0x00007f0889546b70 > 0x7f08addd06c0: 0x00007f08936d87d3 0x00000003df44fa0d > 0x7f08addd06d0: 0x00007f08936ceb33 0x0000000000000000 > 0x7f08addd06e0: 0x00000003df44e70d 0x0000000000001538 0x1538 is the last one, and that's index 97. In gdb, can you run (gdb) print defsym_name[97] (gdb) print defsym_name[758] (gdb) print defsym_name[1345] to see which symbol corresponds to each index? Thanks! Pip