From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#28862: Emacs 25.3.1 segmentation fault on killing *Colors* buffer Date: Mon, 16 Oct 2017 10:16:58 +0200 Message-ID: <59E46AFA.8060502@gmx.at> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1508141908 1811 195.159.176.226 (16 Oct 2017 08:18:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Oct 2017 08:18:28 +0000 (UTC) To: Levi , 28862@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 16 10:18:20 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 1e40bA-0006Gc-Ns for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Oct 2017 10:18:08 +0200 Original-Received: from localhost ([::1]:59877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e40bG-0004Mx-58 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Oct 2017 04:18:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e40bA-0004Me-6t for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 04:18:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e40b4-0002qA-AN for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 04:18:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33790) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e40b4-0002q1-6T for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 04:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e40b4-0000KQ-0v for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2017 04:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Oct 2017 08:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28862 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28862-submit@debbugs.gnu.org id=B28862.15081418331200 (code B ref 28862); Mon, 16 Oct 2017 08:18:01 +0000 Original-Received: (at 28862) by debbugs.gnu.org; 16 Oct 2017 08:17:13 +0000 Original-Received: from localhost ([127.0.0.1]:42471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e40aG-0000JI-ML for submit@debbugs.gnu.org; Mon, 16 Oct 2017 04:17:12 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:57857) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e40aF-0000J3-5F for 28862@debbugs.gnu.org; Mon, 16 Oct 2017 04:17:11 -0400 Original-Received: from [192.168.1.100] ([46.125.249.64]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MMBun-1e9nLh0IO5-0083hs; Mon, 16 Oct 2017 10:17:04 +0200 In-Reply-To: X-Provags-ID: V03:K0:WZlFDav8+p+e0hCaQSJCtS2e+Dz95U0cCyVR37HrWa+TeusrsMT 2c3vqZcxOJ3wP3z1ae2vfIqNBpCYbjqpFaY4Y5mXk8BgETgJMbyO4vyCKLaobe1GqrP0xY/ 3x/q0oxuznNseODDCp1NyANvf4eX8Q2q8IJo8OXiOKhqkjzPtXWYMD+Edys6eZR1EHgWC1e YIaTBx1QuZCiJuo/Q7SYA== X-UI-Out-Filterresults: notjunk:1;V01:K0:Kyd5glK1f3w=:mELQ9cBSg4bhryMXMDfGp6 jj5IkxkqDDdEJfdDIqHfrQ4nrkVYykwmOW0iN7sjbDwZMmFZjBUV96Ofnemdv7SSDIEq9f5Fo jgy6jG27/XPKAD1l4A2xkWjihHtKbFyZluSJgo6oR06ONT3Au04dw/htKI1O0h2Bees8R/Jni 2R6DrFE/EudJcBnOpGKoTNiY7SYzGvBhsLI4y6Hpkb7VR4O2oCp7H++RO9dUPopsFKlNjIfXU ep6J4A3nmCu8bP9fA4RgxU8FSdG+IqmU7rfldQHx2zNWCohr0XaTECvTfolqHu7QDCmWa59/q B9+bsB1FLkQ7y3Ie5TwQyDSsW1NgYPRP+WoYfTsWc9+XeESMvolwIObKbqwKgfwvHe1oJ3nAG uDGwVCc4JfZvdOLlCQKqTz968U+I4fZR7z10ffht35ScTX0H89+FPt12wOLTAz3fKTcLY8Zi0 D0bxg8bL5N+XPLPJCF1QICI9T724L7fv+B2Vry2vNjojaB5FkSV9zuoRvYDvxKHdtW8eS3Ea7 FiCoJLKEMUEc6isWgzZkYgdqDvUR8KmkyBSdDU4TRxpy5HKxLB/Lzcs/3v4KdjPTYsKYoJG6j y/hwC64o1hGCv93yMqkrfgacOxQKYx51/qmmPnbPxySUqGUl/l1Woc8fwDxT90XQwzq2upukt qsL6m0e4VqXxmW3TCHmETgHG4h8Q01Zhwh7uebHtb7uj9CoCRydizk83Dj0J1U80s1sHYv4aC nJYgw4VdKmcI6A4xXij2eD9hI48YBbpvmvN80ZyKQXuVrOUQYuHKOrFtPyGuty/mzHse/wrW 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:138504 Archived-At: > (add-hook 'delete-frame-functions > (lambda (frame) > (dolist (elem (window-list frame)) > (kill-buffer (window-buffer elem))))) =E2=80=98delete-frame-functions=E2=80=99 must be used with great care. F= or example, I can crash Emacs 25 by evaluating the following forms in row: (defvar old-frame (selected-frame)) (defvar new-frame (make-frame)) (add-hook 'delete-frame-functions (lambda (f) (delete-frame new-frame))) (delete-frame old-frame) Now if killing a buffer in =E2=80=98delete-frame-functions=E2=80=99 may d= elete a frame because, for example, the buffer is shown in a dedicated window which is the only window on that frame, you may run exactly in the scenario described above. I hopefully fixed that for Emacs 26 so if you could try the release version ... martin