From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rah Guzar via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61896: 30.0.50; Emacs crashes because of an invalid free Date: Mon, 06 Mar 2023 20:52:50 +0100 Message-ID: <87356hvelk.fsf@zohomail.eu> References: <87cz5rctz2.fsf@zohomail.eu> <87356n2zen.fsf@posteo.net> <871qm6hzre.fsf@zohomail.eu> <87h6v1yasm.fsf@posteo.net> Reply-To: Rah Guzar Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2741"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.13; emacs 29.0.60 Cc: 61896@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 06 20:57:21 2023 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 1pZGxT-0000XJ-Sv for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Mar 2023 20:57:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZGxG-00031u-44; Mon, 06 Mar 2023 14:57:06 -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 1pZGxD-00031k-IM for bug-gnu-emacs@gnu.org; Mon, 06 Mar 2023 14:57:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZGxC-0000ve-L3 for bug-gnu-emacs@gnu.org; Mon, 06 Mar 2023 14:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZGxC-0002BV-Bz for bug-gnu-emacs@gnu.org; Mon, 06 Mar 2023 14:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Rah Guzar Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Mar 2023 19:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61896 X-GNU-PR-Package: emacs Original-Received: via spool by 61896-submit@debbugs.gnu.org id=B61896.16781325778337 (code B ref 61896); Mon, 06 Mar 2023 19:57:02 +0000 Original-Received: (at 61896) by debbugs.gnu.org; 6 Mar 2023 19:56:17 +0000 Original-Received: from localhost ([127.0.0.1]:43720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZGwT-0002AP-0e for submit@debbugs.gnu.org; Mon, 06 Mar 2023 14:56:17 -0500 Original-Received: from sender11-pp-o91.zoho.eu ([31.186.226.249]:25273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZGwP-0002AC-Rx for 61896@debbugs.gnu.org; Mon, 06 Mar 2023 14:56:15 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1678132571; cv=none; d=zohomail.eu; s=zohoarc; b=Gk9PO7b/Qib8R10nwszy9lZUYvkRi/BwwyELW/bnuKi3wLkkWapn6kIWLRWbgd3qlqXxvGqshKGgH58guU/QbxF2KZMH0y7LWWuZGCp/JPUO8oDo9AWGiQ3A70tgu+XulrAAf+TSNYQF0fGAGAOK6c7qqN+xS/N0sfh3GDdj+00= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1678132571; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=+65js3t2rnP8sgk9PDoDNNiC0/Ptsx6zdMP6/4FYZT8=; b=Jua/To5Vs4FROYrQBRv9KceAfaTVnauouwocEt4pE52bC7V4eqZ1ySI7JsDPJVewz4GeuSAFo4+qYH4duaiPgAcudSh5P0I0TmklHFbkEcFSm6HLcO54QtAG8kSKDMuWDXFu3dNoCiYzKphUXgN9mlz97bsR17bzYYPUQ5lJBgE= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=zohomail.eu; spf=pass smtp.mailfrom=rahguzar@zohomail.eu; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1678132571; s=zoho; d=zohomail.eu; i=rahguzar@zohomail.eu; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=+65js3t2rnP8sgk9PDoDNNiC0/Ptsx6zdMP6/4FYZT8=; b=ZNFfveByv15TvzOM3VIBrQnR4/XWEjIGOfjgRY5LEZ7bZUzzb8zEsWw5JGhoSPY0 g0DujFmVzXTKDVcTVVxII4CXnn+sEj7uOz3SrmdOo+NP9blF65aHsn1obNSOD33r9i4 cyrZ4mE5pCkmrVsPZ41zHzw70OF/KQB2R2jJftiE= Original-Received: from localhost (81-231-79-170-no600.tbcn.telia.com [81.231.79.170]) by mx.zoho.eu with SMTPS id 1678132569179606.1483190810665; Mon, 6 Mar 2023 20:56:09 +0100 (CET) In-reply-to: <87h6v1yasm.fsf@posteo.net> X-ZohoMailClient: External 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:257416 Archived-At: Hi! I tried again today and I can no longer reproduce the bug with the bytecode in the site-lisp directory. The byte code hasn't been updated but my emacs was updated yesterday. I have also tried building emacs-29 from source and that also works fine. So it seems like the problem has been fixed. Philip Kaludercic writes: > Rah Guzar writes: > >> I have never used gdb before so I will need to figure that out. I am traveling >> today so this will not happen before Monday or Tuesday. But I will try it >> sometime next week. > > It shouldn't be that difficult, I usually first reconfigure Emacs with > debugging information: > > $ pwd > /home/user/src/emacs/ > $ ./configure CFLAGS="-ggdb3" > > Then all you need to do is to start Emacs in the src sub-directory using > GDB and then try to provoke the bug: > > $ pwd > /home/user/src/emacs/src > $ gdb emacs |& tee error.log > ... # Copyright and stuff here. > (gdb) run -Q > ... # Emacs is running now and you can load the broken bytecode. > # The next GDB prompt will appear when Emacs aborts. > (gdb) xbacktrace > ... # The Lisp backtrace should appear here. > (gdb) quit > > If you do this, then the entire session log should be store in the > "error.log" file.