unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>, Angelo Graziosi <angelo.graziosi@alice.it>
Cc: 26615@debbugs.gnu.org
Subject: bug#26615: Recent Emacs crashes when PC is suspended and using tabbar-ruler package
Date: Sun, 23 Apr 2017 11:16:32 +0200	[thread overview]
Message-ID: <58FC70F0.5070108@gmx.at> (raw)
In-Reply-To: <83mvb7q1ox.fsf@gnu.org>

 > 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





  reply	other threads:[~2017-04-23  9:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-22 22:38 bug#26615: Recent Emacs crashes when PC is suspended and using tabbar-ruler package Angelo Graziosi
2017-04-23  2:36 ` Eli Zaretskii
2017-04-23  8:43   ` Angelo Graziosi
2017-04-23  2:48 ` Eli Zaretskii
2017-04-23  9:16   ` martin rudalics [this message]
2017-04-23 16:45     ` Angelo Graziosi
2017-05-06 16:44       ` npostavs
2017-04-26 11:14     ` Eli Zaretskii
2017-04-26 13:32       ` martin rudalics
2017-04-26 15:35         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=58FC70F0.5070108@gmx.at \
    --to=rudalics@gmx.at \
    --cc=26615@debbugs.gnu.org \
    --cc=angelo.graziosi@alice.it \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).