GNU bug report logs - #2193
23.0.90/winxp; crash when closing speedbar

Previous Next

Packages: emacs, w32;

Reported by: lode leroy <lode.leroy <at> gmail.com>

Date: Wed, 4 Feb 2009 13:35:03 UTC

Severity: normal

Done: Jason Rumney <jasonr <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: lode leroy <lode.leroy <at> gmail.com>
Cc: 2193 <at> debbugs.gnu.org
Subject: bug#2193: 23.0.90/winxp; crash when closing speedbar
Date: Thu, 05 Feb 2009 19:20:56 +0100
[Message part 1 (text/plain, inline)]
> 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.

[w32fns.c.diff (text/plain, inline)]
*** 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;
      }
  }
  

This bug report was last modified 16 years and 190 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.