From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [scratch/igc] 985247b6bee crash on Linux, KDE, Wayland Date: Fri, 06 Sep 2024 13:57:34 +0300 Message-ID: <86jzfp123l.fsf@gnu.org> 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> <87bk11fcv2.fsf@protonmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28586"; mail-complaints-to="usenet@ciao.gmane.io" Cc: execvy@gmail.com, gerd.moellmann@gmail.com, emacs-devel@gnu.org To: Pip Cet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 06 12:58:20 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 1smWfS-00074p-Ox for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Sep 2024 12:58:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smWev-0002Yq-Lv; Fri, 06 Sep 2024 06:57:46 -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 1smWep-0002VS-EN for emacs-devel@gnu.org; Fri, 06 Sep 2024 06:57:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smWep-00060k-5A; Fri, 06 Sep 2024 06:57:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Dzb9UpZV24ALmVfDeyLIEfy7B6DJGd9KkKZOUs+jAEw=; b=CkEuYxy1i3o8 wHhQ5j53RDaU+qSYs03xVsstxxAczGN+CvgeoxfdPPRGM8mUpOdehVPTE5MQ+nRCBoZGg2OAXL4va qKYT6hC9By2CcESpx7zCFQCCiWhelfWo2sQFLQ5feG6O4LlY249YLxlRQQZH6w6tuoNkFrI/n3b0W GyRblNzERPJLL0quWUpZf+Gcx9dGwhxtQgMXRsf57KGuMCxlQ3WvX9zfy+MzShP8HBg0WSEEsL3o5 +IqU7w4NQr9fmf5Xi8x+zwhaEEOsAO2MU3r3DCOj3SU66/eLTPqoVZdQ9FJBHBXDai5+/TsYl39CZ MUnNWtab4Ftxer0QiPWeUg==; In-Reply-To: <87bk11fcv2.fsf@protonmail.com> (message from Pip Cet on Fri, 06 Sep 2024 07:41:24 +0000) 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:323467 Archived-At: > Date: Fri, 06 Sep 2024 07:41:24 +0000 > From: Pip Cet > Cc: Eli Zaretskii , gerd.moellmann@gmail.com, emacs-devel@gnu.org > > 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? Isn't it easier to use xsymbol? Like this: (gdb) p 0x1538 $8 = 5432 (gdb) xsymbol $14 = (struct Lisp_Symbol *) 0xde4370 ":image"