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#12466: 24.2; crash on OS X 10.7 in [EmacsView windowDidResize] Date: Tue, 18 Sep 2012 20:27:40 +0300 Message-ID: <831uhz1bsj.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1347989265 26015 80.91.229.3 (18 Sep 2012 17:27:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2012 17:27:45 +0000 (UTC) Cc: 12466@debbugs.gnu.org To: Michael McCracken Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 18 19:27:49 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 1TE1aP-0001wJ-Dh for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Sep 2012 19:27:49 +0200 Original-Received: from localhost ([::1]:50481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TE1aK-00020O-Sh for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Sep 2012 13:27:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TE1aI-0001wc-Gg for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2012 13:27:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TE1aH-0005Gz-Cb for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2012 13:27:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TE1aH-0005Gv-8x for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2012 13:27:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TE1bZ-0000iZ-Um for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2012 13:29: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: Tue, 18 Sep 2012 17:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12466 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12466-submit@debbugs.gnu.org id=B12466.13479893392743 (code B ref 12466); Tue, 18 Sep 2012 17:29:01 +0000 Original-Received: (at 12466) by debbugs.gnu.org; 18 Sep 2012 17:28:59 +0000 Original-Received: from localhost ([127.0.0.1]:42088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TE1bU-0000i3-8S for submit@debbugs.gnu.org; Tue, 18 Sep 2012 13:28:59 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:33374) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TE1bQ-0000hk-Lx for 12466@debbugs.gnu.org; Tue, 18 Sep 2012 13:28:55 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MAK00A002Z12900@a-mtaout21.012.net.il> for 12466@debbugs.gnu.org; Tue, 18 Sep 2012 20:27:30 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MAK009XN35UYD70@a-mtaout21.012.net.il>; Tue, 18 Sep 2012 20:27:30 +0300 (IDT) In-reply-to: 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:64564 Archived-At: > From: Michael McCracken > Date: Tue, 18 Sep 2012 09:23:17 -0700 > > This is a recurring issue, after several days of usage, emacs crashes > when resizing a frame. > > Specifically, this is on the main screen of a two-screen setup, and I > was resizing one of two frames. This is not a crash, this is an abort: > 9 libsystem_c.dylib 0x00007fff906afa7a abort + 143 > 10 org.gnu.Emacs 0x00000001001235fd Fsignal + 125 > 11 org.gnu.Emacs 0x0000000100123b89 xsignal + 9 > 12 org.gnu.Emacs 0x0000000100124015 xsignal3 + 37 > 13 org.gnu.Emacs 0x0000000100155703 scan_lists + 1539 scan_lists called xsignal3, which called abort, here: if (gc_in_progress || waiting_for_input) emacs_abort (); So the question is: why did scan_lists signal an error, or why was waiting_for_input non-zero at that time (I see no evidence that gc_in_progress could be non-zero, but maybe some bug could have caused that)? The call to scan_lists seem to have been originated by evaluation of some Lisp by display code that was invoked to handle the resize: > 74 org.gnu.Emacs 0x0000000100022e0f safe_call + 159 > 75 org.gnu.Emacs 0x0000000100022e7e safe_call1 + 30 > 76 org.gnu.Emacs 0x0000000100022fe8 handle_fontified_prop + 360 > 77 org.gnu.Emacs 0x000000010002d92e handle_stop + 126 > 78 org.gnu.Emacs 0x0000000100040068 next_element_from_buffer + 1272 > 79 org.gnu.Emacs 0x0000000100034401 get_next_display_element + 81 > 80 org.gnu.Emacs 0x0000000100036039 move_it_in_display_line_to + 409 > 81 org.gnu.Emacs 0x000000010003a251 move_it_to + 321 > 82 org.gnu.Emacs 0x000000010003b781 move_it_vertically + 65 > 83 org.gnu.Emacs 0x0000000100059b45 Fwindow_end + 357