From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#1450: w32_reset_fringes Date: Sat, 29 Nov 2008 21:13:29 +0100 Message-ID: <878wr2guja.fsf@escher.local.home> References: <492FE9A0.2080505@gmx.at> <492FF0A5.4050106@gmx.at> <493029E6.2060200@gmx.at> <87hc5rtslb.fsf@escher.local.home> <49312AD9.2090004@gmx.at> Reply-To: Stephen Berman , 1450@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227990636 25924 80.91.229.12 (29 Nov 2008 20:30:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2008 20:30:36 +0000 (UTC) Cc: 1450@emacsbugs.donarmstrong.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 29 21:31:38 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6WTX-00077V-Hk for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 21:31:35 +0100 Original-Received: from localhost ([127.0.0.1]:54135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6WSN-0003SZ-KI for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 15:30:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6WSK-0003SI-3N for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 15:30:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6WSH-0003RJ-L7 for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 15:30:18 -0500 Original-Received: from [199.232.76.173] (port=44854 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6WSH-0003RG-GR for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 15:30:17 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39302) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L6WSH-0005SO-0S for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 15:30:17 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mATKUBUB020576; Sat, 29 Nov 2008 12:30:12 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mATKK2td017453; Sat, 29 Nov 2008 12:20:02 -0800 X-Loop: don@donarmstrong.com Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 29 Nov 2008 20:20:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1450 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1450-submit@emacsbugs.donarmstrong.com id=B1450.122798962116159 (code B ref 1450); Sat, 29 Nov 2008 20:20:02 +0000 Original-Received: (at 1450) by emacsbugs.donarmstrong.com; 29 Nov 2008 20:13:41 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mATKDbdh016144 for <1450@emacsbugs.donarmstrong.com>; Sat, 29 Nov 2008 12:13:38 -0800 Original-Received: (qmail invoked by alias); 29 Nov 2008 20:13:31 -0000 Original-Received: from i59F57AB2.versanet.de (EHLO escher.local.home) [89.245.122.178] by mail.gmx.net (mp021) with SMTP; 29 Nov 2008 21:13:31 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+hiAo2hpGhqG79konPZM+rEyJm028RcAbUsbrQ+N m2lOXIx8Vgkuww Original-Received: by escher.local.home (Postfix, from userid 1000) id 27F287FF99; Sat, 29 Nov 2008 21:13:30 +0100 (CET) In-Reply-To: <49312AD9.2090004@gmx.at> (martin rudalics's message of "Sat, 29 Nov 2008 12:43:21 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.54 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 29 Nov 2008 15:30:18 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22769 Archived-At: On Sat, 29 Nov 2008 12:43:21 +0100 martin rudalics wrote: >> A further datapoint: both the above as well as (setq default-frame-alist >> '((minibuffer))) also induce a crash in GNU Emacs 23.0.60.16 >> (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-11-20 on escher > > I attached a fairly secure and minimally invasive patch. > Could you try it? I tried your patch after updating from the current CVS HEAD. Now starting with emacs -q --eval "(setq default-frame-alist '((minibuffer)))" and trying to delete the minibuffer frame via the window manager does not crash Emacs, but instead results in no deleted frame and the error message "Attempt to delete a surrogate minibuffer frame" (from handle-delete-frame). Likewise, C-x 5 0 from the minibuffer frame does not delete it, again showing the error message (now from call-interactively). With a non-minibuffer frame deletion via either the window manager or C-x 5 0 succeeds; then as soon as I click in the minibuffer frame, a new regular frame is created. As for starting with emacs -q and the evalling (delete-frame nil t), this also does not make Emacs crash, but raises the error "Attempt to delete the only frame". However, I apparently was mistaken in my post cited above: I thought evalling (delete-frame nil t) produced a core dump, like the attempt to delete the minibuffer frame did, but I cannot reproduce that with the unpatched Emacs, so I must have been confused about the source of the core file (which I since deleted). Instead, evalling (delete-frame nil t) in the unpatched Emacs simply kills Emacs, verified under gdb ("Program exited normally."). Sorry for misreporting this yesterday. Steve Berman