From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eval EXEC Newsgroups: gmane.emacs.devel Subject: Re: [scratch/igc] 985247b6bee crash on Linux, KDE, Wayland Date: Fri, 06 Sep 2024 16:28:14 +0800 Message-ID: <87wmjp2nkx.fsf@gmail.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> <87bk11fcv2.fsf@protonmail.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="38352"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 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:40:38 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-0009lb-6s 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-0004EB-Pe; 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 1smUKK-00049l-Vp for emacs-devel@gnu.org; Fri, 06 Sep 2024 04:28:21 -0400 Original-Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smUKJ-00062A-Cz; Fri, 06 Sep 2024 04:28:20 -0400 Original-Received: by mail-pf1-x442.google.com with SMTP id d2e1a72fcca58-718d79fb6f7so396235b3a.3; Fri, 06 Sep 2024 01:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725611297; x=1726216097; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=diffaiwf9dR5HB1xg8xoQsRGgKR+6D/ql+Y4KiilqOk=; b=YmnaZZ3w/oXxZrpBaUF3QvPqc2Kjzvma9b+qHU7NF50UaZl7jjcRjj0wpibxBv2M0Z h2bC4lsOpsqN6lgZIpxfMnPFxBayuLOIr0UJIYFJNmuEQ7CjnMcrxAtT+a8QWqVtSWBw 7UP+0sia6UopPWvuckOQR2xj6iIS6SKYWhB9nT1/OYI8EudkBeFDVXYNNPHe5dXF6LB/ c8+zrNdSGOUV5aCIdlQkezlV5zFU+c/cqHDd8EttImmvBxVjuBxy1WWFCQjKIkbZa9Dc Jq+DBJtMKRKJv8O0FGYpWenzZQRX3uYSaHtfnJfw/KTr/qONI0Jb3/dbVq4ferkqxSwc lXUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725611297; x=1726216097; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=diffaiwf9dR5HB1xg8xoQsRGgKR+6D/ql+Y4KiilqOk=; b=YJ4FHwx5wBV9gkqz4nB1kkZZsO7EatOPXfxCmYasiTndFu/3Vr+HWb2rCzjWG1WIn2 VQByJ6P1FI0UCyU+wx23e21P2Nvpq2fU/AklIdqFVCMy51Z8F+n1Xpeat0NlTNntN8qH Bz1Z69hkxnRqKcXY1h8OJoDmL/THgPrrrhqVsea4j8AUsc7zNrbrJkbPMoK2d9SEL8UW GHLtWllr2xunxjcZ2qy7UbcnNMqmhgsDoDN3LyKPuis1VjDdoAFsWVBf1jYTO+6miSFe TADC7DBzdnYYI/pxx/SEdIXCoxw65gsU2K33QoXTISEZLSWuSSM0OG+9ujqfURebrcP6 GZ5A== X-Forwarded-Encrypted: i=1; AJvYcCVyCm+LYFAjtkeQkf8UBC6s6ZVe0xJbXPjDLnjTwsbH8uN5TY2HM5LUbSmcIFhlGbAATs8yxQQCmQdl1g==@gnu.org X-Gm-Message-State: AOJu0YzGWojFQhV5v/chQYbXBGbEWE5lruxKSMndhAocQTLp8sKFrfDk uivuy/u3x9/PMW4MfUSiZPIgOsw5fsbv0rRunh+/wrMYT7RvlS0x X-Google-Smtp-Source: AGHT+IEyLLFTGnmus250QbHhsGSlI8Byx/YRf2fsD4RWOFF6cchd0ZzEYu87DPFCbz3JjtzDasxYwg== X-Received: by 2002:a05:6a00:9488:b0:717:9296:b45f with SMTP id d2e1a72fcca58-718d5e1b0b8mr1803330b3a.8.1725611296895; Fri, 06 Sep 2024 01:28:16 -0700 (PDT) Original-Received: from localhost (144.34.182.14.16clouds.com. [144.34.182.14]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-718295770a4sm1116249b3a.214.2024.09.06.01.28.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2024 01:28:16 -0700 (PDT) In-Reply-To: <87bk11fcv2.fsf@protonmail.com> (Pip Cet's message of "Fri, 06 Sep 2024 07:41:24 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::442; envelope-from=execvy@gmail.com; helo=mail-pf1-x442.google.com 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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:323462 Archived-At: Pip Cet writes: > "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 al= l. >> =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 It's (gdb) print defsym_name[97] $9 =3D (gdb) print defsym_name[758] $10 =3D (gdb) print defsym_name[1345] $11 =3D --=20