From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#12251: 24.2.50; crash in note_mouse_highlight Date: Wed, 29 Aug 2012 11:34:59 +0200 Message-ID: <503DE243.5040904@gmx.at> 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> <87sjbd9253.fsf@gnu.org> <503665EA.2000600@gmx.at> <5038D5BF.70306@gmx.at> <87wr0k17mk.fsf@gnu.org> <87sjb817fu.fsf@gnu.org> <503CFA45.20001@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1346232919 4896 80.91.229.3 (29 Aug 2012 09:35:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2012 09:35:19 +0000 (UTC) Cc: 12251@debbugs.gnu.org To: Sam Steingold Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 29 11:35:20 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 1T6eg7-0004Ok-2L for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Aug 2012 11:35:15 +0200 Original-Received: from localhost ([::1]:35779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6eg4-0008Ls-N6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Aug 2012 05:35:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6efx-0008KV-ME for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2012 05:35:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6efr-0005VU-Ed for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2012 05:35:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6efr-0005VQ-BQ for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2012 05:34:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T6egs-0003e8-AH for bug-gnu-emacs@gnu.org; Wed, 29 Aug 2012 05:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Aug 2012 09:36:02 +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.134623295814007 (code B ref 12251); Wed, 29 Aug 2012 09:36:02 +0000 Original-Received: (at 12251) by debbugs.gnu.org; 29 Aug 2012 09:35:58 +0000 Original-Received: from localhost ([127.0.0.1]:55503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T6egn-0003ds-VW for submit@debbugs.gnu.org; Wed, 29 Aug 2012 05:35:58 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:58783) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1T6egj-0003di-Lm for 12251@debbugs.gnu.org; Wed, 29 Aug 2012 05:35:57 -0400 Original-Received: (qmail invoked by alias); 29 Aug 2012 09:34:49 -0000 Original-Received: from 62-47-41-57.adsl.highway.telekom.at (EHLO [62.47.41.57]) [62.47.41.57] by mail.gmx.net (mp040) with SMTP; 29 Aug 2012 11:34:49 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+7msVlLPa7ylI5PVRb8fdUUq/YHulSmkbkM5i+6T 2KOPYsudg9HFHl In-Reply-To: <503CFA45.20001@gmx.at> X-Y-GMX-Trusted: 0 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:63577 Archived-At: Maybe we've been miscommunicating, so let me try to sort things out: We're trying to detect the source of a bug in note_mouse_highlight. A possible reason for this is that Emacs does not check the validity of windows rigidly enough. I added some checks in revision 109644. The patch I sent you does some more of these checks. As a result of the checks from revision 109644 two problems turned up: (1) In `set-window-configuration' the auto-buffer-name stuff didn't work any more causing potential crashes or infinite looping here. Neither of these seem to show up in your scenario but I removed the stuff anyway in revision 109802. (2) Revision 109789 introduced a bug which caused your scenario Debugger entered--Lisp error: (error "# is not a live window") signal(error ("# is not a live window")) error("%s is not a live window" #) window-normalize-window(# t) record-window-buffer(#) set-window-configuration(#) I removed that in revision 109795 and hopefully fixed that for good in revision 109803. So this bug will show up in revisions 109789...109794. If it shows up after revision 109794, something weird happens as I mentioned before and I will have to investigate it with your help. So please make sure that you work with the latest bzr version regardless of whether you applied the patch I sent you or not. martin