From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#61896: 30.0.50; Emacs crashes because of an invalid free Date: Fri, 03 Mar 2023 18:00:57 +0000 Message-ID: <87h6v1yasm.fsf@posteo.net> References: <87cz5rctz2.fsf@zohomail.eu> <87356n2zen.fsf@posteo.net> <871qm6hzre.fsf@zohomail.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3405"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61896@debbugs.gnu.org To: Rah Guzar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 03 19:02:13 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 1pY9jR-0000jP-36 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Mar 2023 19:02:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pY9jN-00041N-F6; Fri, 03 Mar 2023 13:02:09 -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 1pY9jG-0003yB-LL for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2023 13:02: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 1pY9jG-0001ki-CK for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2023 13:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pY9jG-0001an-10 for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2023 13:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Mar 2023 18:02:01 +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.16778664706046 (code B ref 61896); Fri, 03 Mar 2023 18:02:01 +0000 Original-Received: (at 61896) by debbugs.gnu.org; 3 Mar 2023 18:01:10 +0000 Original-Received: from localhost ([127.0.0.1]:33914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY9iQ-0001ZS-91 for submit@debbugs.gnu.org; Fri, 03 Mar 2023 13:01:10 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:39613) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY9iK-0001Yl-Jf for 61896@debbugs.gnu.org; Fri, 03 Mar 2023 13:01:08 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6A872240A40 for <61896@debbugs.gnu.org>; Fri, 3 Mar 2023 19:00:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1677866458; bh=wop6p3RzM0hGbiMX/lb6TseQUi/ZzrQREW5+vYJdfBc=; h=From:To:Cc:Subject:Date:From; b=Fej1j8CHlJFQ9FB413lhbNZO0EEyqK9DIaWkbnimYisZAJyEmkhLXjZzdMpppNed4 czQmNXFNSotgZ3Lg9h53tWRASsETq5HYdsSB+xxZ4eLE6j+8cW0z/wV9soYWMTvwO6 JymaGKy/+B7XNcHBAs8IC2TuLPLsEi3fGr4gubI6CQ4D9aQcdJI/7JkfAsj1rhM9qL hryCWHSshzviOmiZYbE3iBuPbFSkuS4PCygGuQCITRK+/7eUezMy414d+5ATL4EJ2H vijceo2w5r70vSRoJa/g3ed2r7yPA4QqCPjRmJx07CCjkfj5Vk6mS7HcEMOJSjIZGJ ZUM9QGF9/tnhA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PSwkd5C1Vz6tr3; Fri, 3 Mar 2023 19:00:57 +0100 (CET) In-Reply-To: <871qm6hzre.fsf@zohomail.eu> (Rah Guzar's message of "Fri, 03 Mar 2023 11:51:22 +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:257225 Archived-At: 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. -- Philip Kaludercic