all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: sds@gnu.org, 12251@debbugs.gnu.org
Subject: bug#12251: 24.2.50; crash in note_mouse_highlight
Date: Thu, 23 Aug 2012 10:48:43 +0200	[thread overview]
Message-ID: <5035EE6B.50208@gmx.at> (raw)
In-Reply-To: <83vcgaam5w.fsf@gnu.org>

 >> "#<window 139> is not a valid window"

The above means that we've been running Lisp code on a dead window and
that call was rejected with an error by `window-normalize-window'.  If
this happens during a call from C, we have a problem.

 > Martin, could this be due to your changes in revision 109644?

I don't know.  In revision 109644 I allowed to run Fposn_at_x_y on
internal windows too.  I doubt that this change can have any impact but
reverted it anyway.

Other from that, potential problems are to be categorized as follows:

(1) A frame has not been set up completely but one of its windows exists
     already.  I tried to fix this by changing Fset_window_buffer calls
     to set_window_buffer calls but maybe something still slips through.

(2) A window still exists although its frame has been already deleted.
     This would constitute a bug in delete_frame.

(3) C code tries to run on a window that has not yet been set up
     completely.  I can't imagine how this would happen.

(4) C code tries to run a window that has been deleted.  I have tried to
     catch these in revision 109644 but this will not help to avoid
     crashes.  It should help to localize the cause of a crash, though.

Drew's standard crash seems to indicate that there's still something
weird going on here.

BTW I see that note_mouse_highlight has

   /* Not on a window -> return.  */
   if (!WINDOWP (window))
     return;

Shouldn't the window be live here?

martin





  parent reply	other threads:[~2012-08-23  8:48 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-21 18:20 bug#12251: 24.2.50; crash in note_mouse_highlight Sam Steingold
2012-08-21 18:42 ` Eli Zaretskii
2012-08-21 19:02   ` Sam Steingold
2012-08-21 19:22     ` Eli Zaretskii
2012-08-22  2:43       ` Sam Steingold
2012-08-22 17:09         ` Eli Zaretskii
2012-08-22 17:29           ` Sam Steingold
2012-08-22 21:12             ` Sam Steingold
2012-08-23  8:48           ` martin rudalics [this message]
2012-08-23 13:19             ` Sam Steingold
2012-08-23 17:18               ` martin rudalics
2012-08-24 20:33                 ` Sam Steingold
2012-08-25 13:40                   ` martin rudalics
2012-08-27 19:01                     ` Sam Steingold
2012-08-27 19:05                       ` Sam Steingold
2012-08-27 21:10                         ` martin rudalics
2012-08-28 16:35                         ` Sam Steingold
2012-08-28 17:05                           ` martin rudalics
2012-08-29  9:34                             ` martin rudalics
2012-08-29 14:42                               ` Sam Steingold
2012-08-30  8:03                                 ` martin rudalics
2012-08-30 11:02                                   ` Sam Steingold
2012-09-01  9:36                                     ` Eli Zaretskii
2012-09-05 19:56                                       ` Sam Steingold
2012-09-06  2:31                                         ` Sam Steingold
2012-09-06  3:13                                           ` Sam Steingold
2012-09-06  5:15                                           ` Werner LEMBERG
2012-09-06  5:04                                         ` Eli Zaretskii
2012-09-06  7:20                                         ` martin rudalics
2012-09-06  7:32                                           ` martin rudalics
2012-08-30 12:39                                   ` Sam Steingold
2012-08-30 12:49                                     ` martin rudalics
2012-09-01  9:40               ` Eli Zaretskii
2012-08-23 16:20             ` Eli Zaretskii
2012-08-23 17:19               ` martin rudalics
2012-08-23 18:43                 ` Eli Zaretskii
2012-08-24  9:44                   ` martin rudalics

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

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

  git send-email \
    --in-reply-to=5035EE6B.50208@gmx.at \
    --to=rudalics@gmx.at \
    --cc=12251@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=sds@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.