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.bugs Subject: bug#74831: 31.0.50; scratch/igc: segfaults on startup when called under gdb Date: Thu, 12 Dec 2024 20:56:31 +0200 Message-ID: <86cyhwzq5c.fsf@gnu.org> References: <87ikrp3rl3.fsf@no.lan> <86jzc5ymue.fsf@gnu.org> <87cyhw513i.fsf@no.lan> <86frmszwai.fsf@gnu.org> <871pyc4zc1.fsf@no.lan> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34096"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74831-done@debbugs.gnu.org To: Gregor Zattler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 12 19:57:25 2024 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 1tLoNI-0008dx-S2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Dec 2024 19:57:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLoNC-00047z-08; Thu, 12 Dec 2024 13:57:19 -0500 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 1tLoMw-0003Rl-VX for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 13:57:07 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLoMw-0006vR-MW for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 13:57:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=1zjFfpkYxEvSbYJrZANjQd6ng2iry6XYW8TInaxOfO8=; b=abZSoAa6wC/SdwdH7Qz7kswX2IKn2PfKOLRW5NEcIiMLlH2plr1qcJ02w4Z82nMZmHjoymqnaupv0zd3yc1yDJEQJ17cvtJm6lpZU0A1/ubnTR4KN1eLs1WSJhkDwFy+mIeH7DT9stH3OJ/WBEkneHb+EdC97uqDHXJ0bn9rNDK0wq1psW6GV96s04IFvJHH+Wf74llqznLJ3yJBjSdFJ7NJr55i/rCiJExHhM/WrZpoTQK6tDo9moftDQJq8U78R1V7Nhugk+21P+EksSD9o/n8tFPdXTfL1ewHrF4/3yJfeQlBYwhuzA533M8Qj6QZ3h58BxdlsxaKd4R5INMuEg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLoMw-0002W6-GC for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 13:57:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Dec 2024 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74831 X-GNU-PR-Package: emacs Mail-Followup-To: 74831@debbugs.gnu.org, eliz@gnu.org, telegraph@gmx.net Original-Received: via spool by 74831-done@debbugs.gnu.org id=D74831.17340298039636 (code D ref 74831); Thu, 12 Dec 2024 18:57:02 +0000 Original-Received: (at 74831-done) by debbugs.gnu.org; 12 Dec 2024 18:56:43 +0000 Original-Received: from localhost ([127.0.0.1]:40320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLoMc-0002VM-Hm for submit@debbugs.gnu.org; Thu, 12 Dec 2024 13:56:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLoMa-0002V3-6e for 74831-done@debbugs.gnu.org; Thu, 12 Dec 2024 13:56:40 -0500 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 1tLoMU-0006tj-Ty; Thu, 12 Dec 2024 13:56:34 -0500 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=1zjFfpkYxEvSbYJrZANjQd6ng2iry6XYW8TInaxOfO8=; b=KdMb8EnzFHsB sS1gsSLKoi8jIvS8isKByTHtjBzSzPgHCnWW/tE7PFBa0I9JQGcMjEAmrRKgVZMSbluEqu1Ysf5jX KB70dBt6j70dcs+/KNpMwX/0PvqAXKWIeT2Vpw31RZn+ODDpCsrRxQbNjrEl64Rj6vgBkCT8/50lm L73wOuMAn608SMkX+KPg7iJFCzaKUyptE57Uh6fCePDEUkeDghrM1J8aLuxIL6waOjVhjzvYywFN+ rzf0ZRGuHtFNEQktZ6cmkaUVMRTP6lOlaVMZ57gDpVJnoy7GklwDRbBrqslOzmoue2Wv0bZ98lPhE CA2a18c+4NDSgF9LNdxGag==; In-Reply-To: <871pyc4zc1.fsf@no.lan> (message from Gregor Zattler on Thu, 12 Dec 2024 17:53:50 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296940 Archived-At: > From: Gregor Zattler > Cc: 74831@debbugs.gnu.org > Date: Thu, 12 Dec 2024 17:53:50 +0100 > > >> >> 1605 *xcdr_addr (c) = n; > >> > > >> > So what is the value of xcdr_addr(s) here? It looks like > >> > dereferencing it causes the segfault, so its value might give us some > >> > hints. > >> > >> sorry, I'm clueless: > >> > >> (gdb) print xcdr_addr > >> No symbol "xcdr_addr" in current context. > > > > No, you should say > > > > (gdb) print xcdr_addr(c) > > this I also tried: > > (gdb) print xcdr_addr(c) > No symbol "xcdr_addr" in current context. I guess you were in the wrong call-stack frame, then? > > I think we can close this bug now. > > > Fine with me. Done.