From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12251: 24.2.50; crash in note_mouse_highlight Date: Thu, 23 Aug 2012 21:43:20 +0300 Message-ID: <836289a1pz.fsf@gnu.org> References: <87obm4ayyn.fsf@gnu.org> <83fw7gaxyx.fsf@gnu.org> <87k3wsax0k.fsf@gnu.org> <83ehn0aw3p.fsf@gnu.org> <87sjbfhcii.fsf@gnu.org> <83vcgaam5w.fsf@gnu.org> <5035EE6B.50208@gmx.at> <83ipc9a8bl.fsf@gnu.org> <50366607.7090209@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1345747424 30845 80.91.229.3 (23 Aug 2012 18:43:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2012 18:43:44 +0000 (UTC) Cc: sds@gnu.org, 12251@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 23 20:43:44 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T4cNZ-00010B-4w for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Aug 2012 20:43:41 +0200 Original-Received: from localhost ([::1]:39058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4cNX-00015B-KC for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Aug 2012 14:43:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4cNU-000154-UF for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 14:43:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4cNO-0004SU-Rl for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 14:43:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4cNO-0004SL-OY for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 14:43:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T4cNt-0008V3-Pb for bug-gnu-emacs@gnu.org; Thu, 23 Aug 2012 14:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Aug 2012 18:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12251 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12251-submit@debbugs.gnu.org id=B12251.134574743132649 (code B ref 12251); Thu, 23 Aug 2012 18:44:01 +0000 Original-Received: (at 12251) by debbugs.gnu.org; 23 Aug 2012 18:43:51 +0000 Original-Received: from localhost ([127.0.0.1]:45382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T4cNi-0008UY-Nv for submit@debbugs.gnu.org; Thu, 23 Aug 2012 14:43:50 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:53804) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T4cNf-0008UP-AR for 12251@debbugs.gnu.org; Thu, 23 Aug 2012 14:43:49 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M98004001AZJD00@a-mtaout22.012.net.il> for 12251@debbugs.gnu.org; Thu, 23 Aug 2012 21:43:11 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M98004X61BZHG20@a-mtaout22.012.net.il>; Thu, 23 Aug 2012 21:43:11 +0300 (IDT) In-reply-to: <50366607.7090209@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63436 Archived-At: > Date: Thu, 23 Aug 2012 19:19:03 +0200 > From: martin rudalics > CC: sds@gnu.org, 12251@debbugs.gnu.org > > >> >> "# 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. > > > > I don't think this error was thrown from C. > > The error was obviously thrown from Lisp which per se is harmless. But > I'm quite convinced that it was thrown by a Lisp function directly or > indirectly called from C. Why do you think that? > > Most probably, it was > > thrown from Lisp, but since that unwinds the stack, there's no Lisp > > backtrace that could confirm that. > > How could we explain a crash if it's all within Lisp code? It's not within Lisp anymore; the error throws to top-level, and Emacs tries to read input, at which time it gets a mouse event. > > I guess we need more checks in the mouse-highlight code, to account > > for such cases. > > Is note_mouse_highlight all we have to look at? Who knows? But if there are more, we will get more crashes ;-)