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#75459: 31.0.50; scratch-igc: Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at ./src/emacs.c:432 Date: Fri, 10 Jan 2025 16:44:54 +0200 Message-ID: <86a5by20ex.fsf@gnu.org> References: <87zfk0p741.fsf@no.lan> <861pxc2l6y.fsf@gnu.org> <87wmf42gdx.fsf@protonmail.com> <87frlst34b.fsf@no.lan> <87plkv3hzd.fsf@protonmail.com> <86msfz16na.fsf@gnu.org> <87ldvi3hok.fsf@protonmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4246"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, telegraph@gmx.net, 75459@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 10 15:46:33 2025 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 1tWGHQ-0000zA-NI for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Jan 2025 15:46:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tWGH0-0007nV-Hc; Fri, 10 Jan 2025 09:46: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 1tWGGw-0007lm-Nb for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2025 09:46:03 -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 1tWGGw-0000GG-AU for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2025 09:46: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=hPcvY3xBtSID18N9nmQAETIXStqDhE5w7Iis5iJEIxY=; b=bMhzpf75H+m2Dba4IwFrIHXQKgrYXf+mzKyYEejMww2haug0p23lCBrGsImgUHTGMxUfqOuudP32icj2Vcfsl04Tk7g1Gjnt9N1VEfjqKdJsSLD+iZjYgtgID6l1BZPTH19vXuYnF9PzhTaiFqxHeaUqBpePNNhY3tjn1TJtmI3Ce+WDgsUQ4YI5PF2prWC2lpD3+wVgGV0t/nKgy5DZJS8lMq0s8oksomRMz7+lToQXaaiustMdmmUtv5G9ZQBOO2g4BfNlJgzTC8MAg2AZ3h23F+Z4wKqtP9koQO8y8sMzZiLzzs1jx+Z56WOGrbnokQfVGDnyMe+Y1eGWMNWmhQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tWGGw-0005j8-07 for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2025 09:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Jan 2025 14:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75459 X-GNU-PR-Package: emacs Original-Received: via spool by 75459-submit@debbugs.gnu.org id=B75459.173652031121587 (code B ref 75459); Fri, 10 Jan 2025 14:46:01 +0000 Original-Received: (at 75459) by debbugs.gnu.org; 10 Jan 2025 14:45:11 +0000 Original-Received: from localhost ([127.0.0.1]:56874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tWGG7-0005bw-7l for submit@debbugs.gnu.org; Fri, 10 Jan 2025 09:45:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49698) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tWGG5-0005at-Oe for 75459@debbugs.gnu.org; Fri, 10 Jan 2025 09:45:10 -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 1tWGFx-0008TN-C5; Fri, 10 Jan 2025 09:45:03 -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=hPcvY3xBtSID18N9nmQAETIXStqDhE5w7Iis5iJEIxY=; b=ivSEPAt77c7z OvvVbL/BHU9Qre6Ow1YfyBkZ6PqQt1z8RJhrob7Xsgwn7eTiyHvsS5jXXoip8QFfa6Xj4sM+8A3/o wD4BPU04jXmJZlMEFNwArX53eo1Q+HT+JzJV1Iel6i5sfncbx5Zvu29pXtfiKJPVrsZ5EdqOBTCju g5uA/+WGEzLw1uU+7NIOjItqlMfsY/f4rPDIS9D0U0ScLkSifqd6Cg3unf5oGpD4v94FhpJHcDEYT RhCJ/ZPOD3FFvyARdsQiweKy+SXSWwAeONXC7cYjScNR20aU6kaLuJV3Pu3ZdVbaVNsDXMWkhoTMA 1Nim8znUBRIJyejr5X731w==; In-Reply-To: <87ldvi3hok.fsf@protonmail.com> (message from Pip Cet on Fri, 10 Jan 2025 13:46:40 +0000) 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:298890 Archived-At: > Date: Fri, 10 Jan 2025 13:46:40 +0000 > From: Pip Cet > Cc: Eli Zaretskii , telegraph@gmx.net, 75459@debbugs.gnu.org > > If calling backtrace in GDB means we can't continue afterwards, that > would be very bad. I think it's already bad that we automatically > append the Lisp backtrace to "bt" output. IMHO, "bt" should limit > itself to accessing process memory via PTRACE, not call into application > code. Making it destroy the Emacs session even when we can get a > backtrace would be worse. Usually, automatically calling xbacktrace is very useful. In cases where it is not, one can disable it, like this: (gdb) define hookpost-backtrace Redefine command "hookpost-backtrace"? (y or n) y Type commands for definition of "hookpost-backtrace". End with a line saying just "end". >end (gdb) (It is also possible to start GDB from a directory other than the Emacs src directory, but then one loses the other conveniencies of our .gdbinit.)