From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29726: 25.1; SIGSEGV in find-file Date: Sun, 17 Dec 2017 19:23:32 +0200 Message-ID: <837etlqne3.fsf@gnu.org> References: <1513374498.13815.28.camel@bloodnok.com> <83lgi3rp5x.fsf@gnu.org> <1513453388.13815.31.camel@bloodnok.com> <83o9myqvwd.fsf@gnu.org> <1513456260.13815.35.camel@bloodnok.com> <83mv2iqu0q.fsf@gnu.org> <1513457838.13815.40.camel@bloodnok.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1513531336 26228 195.159.176.226 (17 Dec 2017 17:22:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 17 Dec 2017 17:22:16 +0000 (UTC) Cc: 29726@debbugs.gnu.org To: Marc Munro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 17 18:22:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQcdd-0006Qe-4K for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Dec 2017 18:22:09 +0100 Original-Received: from localhost ([::1]:54990 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQcfb-0007US-CK for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Dec 2017 12:24:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQcfV-0007U5-5l for bug-gnu-emacs@gnu.org; Sun, 17 Dec 2017 12:24:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQcfR-0006Fw-Vr for bug-gnu-emacs@gnu.org; Sun, 17 Dec 2017 12:24:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58838) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQcfR-0006Fq-SC for bug-gnu-emacs@gnu.org; Sun, 17 Dec 2017 12:24:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eQcfR-0000KK-LM for bug-gnu-emacs@gnu.org; Sun, 17 Dec 2017 12:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Dec 2017 17:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29726 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29726-submit@debbugs.gnu.org id=B29726.15135314171220 (code B ref 29726); Sun, 17 Dec 2017 17:24:01 +0000 Original-Received: (at 29726) by debbugs.gnu.org; 17 Dec 2017 17:23:37 +0000 Original-Received: from localhost ([127.0.0.1]:39286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQcf3-0000Jb-2r for submit@debbugs.gnu.org; Sun, 17 Dec 2017 12:23:37 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQcf2-0000JQ-8h for 29726@debbugs.gnu.org; Sun, 17 Dec 2017 12:23:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQcet-000672-UH for 29726@debbugs.gnu.org; Sun, 17 Dec 2017 12:23:31 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQcet-00066y-QK; Sun, 17 Dec 2017 12:23:27 -0500 Original-Received: from [176.228.60.248] (port=4621 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eQcet-00067m-9I; Sun, 17 Dec 2017 12:23:27 -0500 In-reply-to: <1513457838.13815.40.camel@bloodnok.com> (message from Marc Munro on Sat, 16 Dec 2017 12:57:18 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141205 Archived-At: [Please keep the bug address on the CC list.] > From: Marc Munro > Date: Sat, 16 Dec 2017 12:57:18 -0800 > > The code that actually brings up the new frame is called from k- > frame::place-buffer based on the window-list it is provided with from > k-frame::display-buffer-actor. Ultimately the code that brings up the > frame is in k-frame::place-buffer-in-new-frame > > As for the backtrace buffer, yes I think you are right. In my case the > crash occurs some time after the frame is created, but it could easily > stem from the frame creation itself. > > Try making *Backtrace* a special case that k-frame::display-buffer- > actor does nothing with, and then display-buffer will presumably bring > up the backtrace in a suitable window. OK, I've succeeded in reproducing the crash. The immediate reason is clear, but I need to look a bit deeper to understand how did that reason come into existence. Stay tuned. (The problem with your code that caused a Lisp backtrace on my system is that you assume the outer-window-id frame parameter is non-nil and is always a number, but that is only true on X, and I'm on MS-Windows. I replaced outer-window-id with window-id to work around that; maybe you should do that as well.)