From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#2193: 23.0.90/winxp; crash when closing speedbar Date: Thu, 05 Feb 2009 19:20:56 +0100 Message-ID: <498B2E08.6010901@gmx.at> References: Reply-To: martin rudalics , 2193@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000807070501020608050203" X-Trace: ger.gmane.org 1233860388 23146 80.91.229.12 (5 Feb 2009 18:59:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2009 18:59:48 +0000 (UTC) Cc: 2193@emacsbugs.donarmstrong.com To: lode leroy Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 05 20:01:01 2009 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 1LV9Sw-0002Mi-KY for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Feb 2009 20:00:46 +0100 Original-Received: from localhost ([127.0.0.1]:40441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LV9Rd-00035w-Ne for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Feb 2009 13:59:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LV9CN-0004pL-8K for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 13:43:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LV9CJ-0004oA-Ju for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 13:43:38 -0500 Original-Received: from [199.232.76.173] (port=41691 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LV9CJ-0004o4-Ed for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 13:43:35 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58688) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LV9CI-0008SM-Rk for bug-gnu-emacs@gnu.org; Thu, 05 Feb 2009 13:43:35 -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 n15IhWI3009618; Thu, 5 Feb 2009 10:43:32 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n15IU5be006258; Thu, 5 Feb 2009 10:30:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Thu, 05 Feb 2009 18:30:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2193 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by 2193-submit@emacsbugs.donarmstrong.com id=B2193.12338582104848 (code B ref 2193); Thu, 05 Feb 2009 18:30:05 +0000 Original-Received: (at 2193) by emacsbugs.donarmstrong.com; 5 Feb 2009 18:23:30 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. 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 n15INP69004842 for <2193@emacsbugs.donarmstrong.com>; Thu, 5 Feb 2009 10:23:26 -0800 Original-Received: (qmail invoked by alias); 05 Feb 2009 18:23:19 -0000 Original-Received: from 62-47-62-22.adsl.highway.telekom.at (EHLO [62.47.62.22]) [62.47.62.22] by mail.gmx.net (mp034) with SMTP; 05 Feb 2009 19:23:19 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19dHPYDovxdHAY7od0P0IgdFmHx6cG7RWTUPENXk/ zHXzzY0vjRPBAb User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.62,0.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 05 Feb 2009 13:43:38 -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:24980 Archived-At: This is a multi-part message in MIME format. --------------000807070501020608050203 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > emacs crashes every time I do the following: > > go to Options->Show/Hide->speedbar > in the speedbar frame: click modeline->Speedbar->Quit > > In GNU Emacs 23.0.90.1 (i386-mingw-nt5.1.2600) > of 2009-02-01 on SOFT-MJASON > Windowing system distributor `Microsoft Corp.', version 5.1.2600 > configured using `configure --with-gcc (3.4)' Could you please try the attached patch? Thank you, martin. --------------000807070501020608050203 Content-Type: text/plain; name="w32fns.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="w32fns.c.diff" *** w32fns.c.~1.354.~ 2009-01-18 17:29:00.343750000 +0100 --- w32fns.c 2009-02-05 19:17:05.515625000 +0100 *************** *** 5277,5288 **** { if (hourglass_shown_p) { ! struct frame *f = x_window_to_frame (&one_w32_display_info, ! hourglass_hwnd); - f->output_data.w32->hourglass_p = 0; - SetCursor (f->output_data.w32->current_cursor); hourglass_shown_p = 0; } } --- 5277,5295 ---- { if (hourglass_shown_p) { ! struct frame *f; ! ! BLOCK_INPUT; ! f = x_window_to_frame (&one_w32_display_info, hourglass_hwnd); ! ! if (f) ! { ! f->output_data.w32->hourglass_p = 0; ! SetCursor (f->output_data.w32->current_cursor); ! } hourglass_shown_p = 0; + UNBLOCK_INPUT; } } --------------000807070501020608050203--