[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26615: Recent Emacs crashes when PC is suspended and using tabbar-ru
From: |
martin rudalics |
Subject: |
bug#26615: Recent Emacs crashes when PC is suspended and using tabbar-ruler package |
Date: |
Sun, 23 Apr 2017 11:16:32 +0200 |
> Martin, this seems to be due to your changes in 3fdd3bb56. Could you
> please take a look?
>
> The crash is here:
>
> if (f1)
> {
> /* Ok, we found a frame. Store all the values.
> last_mouse_glyph is a rectangle used to reduce the
> generation of mouse events. To not miss any motion
> events, we must divide the frame into rectangles of the
> size of the smallest character that could be displayed
> on it, i.e. into the same rectangles that matrices on
> the frame are divided into. */
>
> dpyinfo = FRAME_DISPLAY_INFO (f1);
> ScreenToClient (FRAME_W32_WINDOW (f1), &pt); <<<<<<<<<<<<<<<<<<<
> remember_mouse_glyph (f1, pt.x, pt.y, &dpyinfo->last_mouse_glyph);
> dpyinfo->last_mouse_glyph_frame = f1;
>
> So maybe this has something to d with computing f1?
Likely. But I have no idea what went wrong here. cwfp could obviously
be a scroll bar window but then x_any_window_to_frame shouldn't have
accepted it. I suppose neither of these
#6 0x00007ff9ec2f6476 in ntdll!__C_specific_handler ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#7 0x00007ff9ec30a08d in ntdll!.chkstk () from C:\WINDOWS\SYSTEM32\ntdll.dll
#8 0x00007ff9ec279c58 in ntdll!RtlLookupFunctionEntry ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#9 0x00007ff9ec30910e in ntdll!KiUserExceptionDispatcher ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
would tell us much? I tweaked the code a bit, maybe it helps.
Angelo please try with latest master. If it crashes again we'll have to
dig further.
martin