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#13007: 24.3.50; emacs_backtrace.txt Date: Tue, 27 Nov 2012 17:14:02 +0200 Message-ID: <83k3t7xemd.fsf@gnu.org> References: <9FE4F131C0C94FC79470495A8506A387@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1354029336 23894 80.91.229.3 (27 Nov 2012 15:15:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2012 15:15:36 +0000 (UTC) Cc: 13007@debbugs.gnu.org To: Drew Adams , Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 27 16:15:47 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 1TdMsv-0002uq-Rl for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Nov 2012 16:15:42 +0100 Original-Received: from localhost ([::1]:36276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdMsk-0007kp-DB for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Nov 2012 10:15:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdMsZ-0007jy-2e for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 10:15:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdMsT-0002ra-SL for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 10:15:19 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdMsT-0002r7-OV for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 10:15:13 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TdMuE-0004Bj-Ev for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 10:17:02 -0500 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, 27 Nov 2012 15:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13007 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13007-submit@debbugs.gnu.org id=B13007.135402941216078 (code B ref 13007); Tue, 27 Nov 2012 15:17:02 +0000 Original-Received: (at 13007) by debbugs.gnu.org; 27 Nov 2012 15:16:52 +0000 Original-Received: from localhost ([127.0.0.1]:41836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdMu3-0004BG-FW for submit@debbugs.gnu.org; Tue, 27 Nov 2012 10:16:52 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:43047) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdMu0-0004B7-G1 for 13007@debbugs.gnu.org; Tue, 27 Nov 2012 10:16:49 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0ME500K00JMIIP00@a-mtaout22.012.net.il> for 13007@debbugs.gnu.org; Tue, 27 Nov 2012 17:13:48 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME500J0VJMZQY80@a-mtaout22.012.net.il>; Tue, 27 Nov 2012 17:13:47 +0200 (IST) In-reply-to: <9FE4F131C0C94FC79470495A8506A387@us.oracle.com> 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.x 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:67510 Archived-At: > From: "Drew Adams" > Date: Mon, 26 Nov 2012 22:23:50 -0800 > > In case it helps, here is an emacs_backtrace.txt. AFAIK, I wasn't doing > anything particular at the moment (usual use), and I had started Emacs > only about 30 sec before the crash. Thanks, it does help. The backtrace produced by addr2line is below. The crash is due to assertion violation here: static int window_outdated (struct window *w) { eassert (XBUFFER (w->buffer) == current_buffer); <<<<<<<<<<<<<<<<<< return (w->last_modified < MODIFF || w->last_overlay_modified < OVERLAY_MODIFF); } Dmitry, why did you add this assertion? What code that you introduced assumes that this condition is always true? I suspect that we need to change this assertion to eassert (MINI_WINDOW_P (w) || w->pseudo_window_p || XBUFFER (w->buffer) == current_buffer); At least in this case (see the backtrace below), window_outdated is called from code that handles minibuffer windows, so I'm guessing the above assertion is not true. Here's the full backtrace: w32_backtrace at C:\emacs\trunk\src/w32fns.c:7735 emacs_abort at C:\emacs\trunk\src/w32fns.c:7767 terminate_due_to_signal at C:\emacs\trunk\src/emacs.c:341 die at C:\emacs\trunk\src/alloc.c:6487 window_outdated at C:\emacs\trunk\src/xdisp.c:10906 redisplay_internal at C:\emacs\trunk\src/xdisp.c:13213 redisplay at C:\emacs\trunk\src/xdisp.c:12715 read_char at C:\emacs\trunk\src/keyboard.c:2416 read_filtered_event at C:\emacs\trunk\src/lread.c:609 Fread_event at C:\emacs\trunk\src/lread.c:721 Ffuncall at C:\emacs\trunk\src/eval.c:2678 exec_byte_code at C:\emacs\trunk\src/bytecode.c:899 funcall_lambda at C:\emacs\trunk\src/eval.c:2903 Ffuncall at C:\emacs\trunk\src/eval.c:2720 exec_byte_code at C:\emacs\trunk\src/bytecode.c:899 funcall_lambda at C:\emacs\trunk\src/eval.c:2903 Ffuncall at C:\emacs\trunk\src/eval.c:2720 exec_byte_code at C:\emacs\trunk\src/bytecode.c:899 funcall_lambda at C:\emacs\trunk\src/eval.c:2903 Ffuncall at C:\emacs\trunk\src/eval.c:2720 exec_byte_code at C:\emacs\trunk\src/bytecode.c:899 funcall_lambda at C:\emacs\trunk\src/eval.c:2903 Ffuncall at C:\emacs\trunk\src/eval.c:2720 exec_byte_code at C:\emacs\trunk\src/bytecode.c:899 funcall_lambda at C:\emacs\trunk\src/eval.c:2903 Ffuncall at C:\emacs\trunk\src/eval.c:2720 apply1 at C:\emacs\trunk\src/eval.c:2432 Fcall_interactively at C:\emacs\trunk\src/callint.c:377 Ffuncall at C:\emacs\trunk\src/eval.c:2678 call3 at C:\emacs\trunk\src/eval.c:2496 Fcommand_execute at C:\emacs\trunk\src/keyboard.c:10214 command_loop_1 at C:\emacs\trunk\src/keyboard.c:1576 internal_condition_case at C:\emacs\trunk\src/eval.c:1192 command_loop_2 at C:\emacs\trunk\src/keyboard.c:1163 internal_catch at C:\emacs\trunk\src/eval.c:963 command_loop at C:\emacs\trunk\src/keyboard.c:1134 recursive_edit_1 at C:\emacs\trunk\src/keyboard.c:774 read_minibuf at C:\emacs\trunk\src/minibuf.c:678 Fread_from_minibuffer at C:\emacs\trunk\src/minibuf.c:980 Ffuncall at C:\emacs\trunk\src/eval.c:2697 exec_byte_code at C:\emacs\trunk\src/bytecode.c:899 funcall_lambda at C:\emacs\trunk\src/eval.c:2903 Ffuncall at C:\emacs\trunk\src/eval.c:2720 exec_byte_code at C:\emacs\trunk\src/bytecode.c:899 funcall_lambda at C:\emacs\trunk\src/eval.c:2903 Ffuncall at C:\emacs\trunk\src/eval.c:2720 exec_byte_code at C:\emacs\trunk\src/bytecode.c:899 Fbyte_code at C:\emacs\trunk\src/bytecode.c:474 eval_sub at C:\emacs\trunk\src/eval.c:2042 internal_catch at C:\emacs\trunk\src/eval.c:963 exec_byte_code at C:\emacs\trunk\src/bytecode.c:1080 funcall_lambda at C:\emacs\trunk\src/eval.c:2903 Ffuncall at C:\emacs\trunk\src/eval.c:2720 exec_byte_code at C:\emacs\trunk\src/bytecode.c:899 funcall_lambda at C:\emacs\trunk\src/eval.c:2837 Ffuncall at C:\emacs\trunk\src/eval.c:2720 exec_byte_code at C:\emacs\trunk\src/bytecode.c:899 Fbyte_code at C:\emacs\trunk\src/bytecode.c:474 eval_sub at C:\emacs\trunk\src/eval.c:2042 internal_catch at C:\emacs\trunk\src/eval.c:963 exec_byte_code at C:\emacs\trunk\src/bytecode.c:1080 Fbyte_code at C:\emacs\trunk\src/bytecode.c:474