From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 17 20:34:59 2012 Received: (at submit) by debbugs.gnu.org; 18 Jul 2012 00:34:59 +0000 Received: from localhost ([127.0.0.1]:47004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrIEE-0004g2-Rm for submit@debbugs.gnu.org; Tue, 17 Jul 2012 20:34:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41658) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrIEC-0004fv-Mv for submit@debbugs.gnu.org; Tue, 17 Jul 2012 20:34:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrI8K-0006Fj-IE for submit@debbugs.gnu.org; Tue, 17 Jul 2012 20:28:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:39008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrI8K-0006Ff-F2 for submit@debbugs.gnu.org; Tue, 17 Jul 2012 20:28:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrI8I-0005oy-VZ for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2012 20:28:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrI8H-0006FR-BB for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2012 20:28:50 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:33174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrI8H-0006FK-4s for bug-gnu-emacs@gnu.org; Tue, 17 Jul 2012 20:28:49 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6I0SleA018562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 18 Jul 2012 00:28:48 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6I0SlIu028083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 Jul 2012 00:28:47 GMT Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6I0SkoW018582 for ; Tue, 17 Jul 2012 19:28:47 -0500 Received: from dradamslap1 (/10.159.216.130) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 17 Jul 2012 17:28:46 -0700 From: "Drew Adams" To: Subject: 24.1.50; crash on Windows Date: Tue, 17 Jul 2012 17:28:27 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac1kfEAHRCaJOLddSxeqe9nBLXW2rQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) This is the backtrace. The session no longer exists. HTH. If not, feel free to close the bug. $ ./gdb -p 1060 GNU gdb (GDB) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "mingw32". For bug reporting instructions, please see: . Attaching to process 1060 [New Thread 1060.0xed8] [New Thread 1060.0x170c] [New Thread 1060.0x11bc] Reading symbols from C:\Emacs-24-2012-07-16\bin\emacs.exe...done. [Switching to Thread 1060.0x11bc] Warning: c:\drews-lisp-20\bin/../lwlib: No such file or directory. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] Environment variable "DISPLAY" not defined. TERM = cygwin .gdbinit:1328: Error in sourced command file: No symbol "Vsystem_type" in current context. (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 1060.0xed8] 0x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll (gdb) bt #0 0x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll #1 0x0114f7a8 in w32_abort () at w32fns.c:7184 #2 0x01041c65 in die ( msg=0x15ab394 "assertion failed: EQ (XFRAME (selected_frame)->selected_window, selecte d_window)", file=0x15a25b8 "xdisp.c", line=13446) at alloc.c:6639 #3 0x011fd293 in redisplay_internal () at xdisp.c:13446 #4 0x011f9e89 in redisplay () at xdisp.c:12606 #5 0x01008d4f in read_char (commandflag=1, nmaps=4, maps=0x83f9b0, prev_event=56068122, used_mouse_menu=0x83fa88, end_time=0x0) at keyboard.c:2447 #6 0x0101c7d2 in read_key_sequence (keybuf=0x83fc04, bufsize=30, prompt=56068122, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9311 #7 0x01005ef6 in command_loop_1 () at keyboard.c:1446 #8 0x010321f0 in internal_condition_case (bfun=0x10058fe , handlers=56118730, hfun=0x10050fa ) at eval.c:1332 #9 0x01005537 in command_loop_2 (ignore=56068122) at keyboard.c:1152 #10 0x01031c11 in internal_catch (tag=56108562, func=0x1005513 , arg=56068122) at eval.c:1089 #11 0x010054f3 in command_loop () at keyboard.c:1131 #12 0x01004acf in recursive_edit_1 () at keyboard.c:752 #13 0x01004dea in Frecursive_edit () at keyboard.c:816 #14 0x01002944 in main (argc=3, argv=0x33c30) at emacs.c:1677 (gdb) frame 2 #2 0x01041c65 in die ( msg=0x15ab394 "assertion failed: EQ (XFRAME (selected_frame)->selected_window, selecte d_window)", file=0x15a25b8 "xdisp.c", line=13446) at alloc.c:6639 6639 alloc.c: No such file or directory. in alloc.c (gdb) p selected_window $1 = 78256133 (gdb) xtype No symbol "gdb_use_union" in current context. (gdb) gdb_use_union Undefined command: "gdb_use_union". Try "help". (gdb) p selected_frame $2 = 64566853 (gdb) xtype No symbol "gdb_use_union" in current context. (gdb) In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600) of 2012-07-16 on MARVIN Bzr revision: 109106 fabian@anue.biz-20120716171839-0dv19ib9h6vfggfn Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 18 14:08:16 2012 Received: (at 11969-done) by debbugs.gnu.org; 18 Jul 2012 18:08:16 +0000 Received: from localhost ([127.0.0.1]:48871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrYfX-0004aQ-B1 for submit@debbugs.gnu.org; Wed, 18 Jul 2012 14:08:16 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:46188) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrYfU-0004aH-Uo for 11969-done@debbugs.gnu.org; Wed, 18 Jul 2012 14:08:14 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M7D00300BAKF900@a-mtaout23.012.net.il> for 11969-done@debbugs.gnu.org; Wed, 18 Jul 2012 21:02:04 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7D003WJBFGF210@a-mtaout23.012.net.il>; Wed, 18 Jul 2012 21:02:04 +0300 (IDT) Date: Wed, 18 Jul 2012 21:02:16 +0300 From: Eli Zaretskii Subject: Re: bug#11969: 24.1.50; crash on Windows In-reply-to: X-012-Sender: halo1@inter.net.il To: Drew Adams Message-id: <83zk6x7xsn.fsf@gnu.org> References: X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11969-done Cc: 11969-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: "Drew Adams" > Date: Tue, 17 Jul 2012 17:28:27 -0700 > > This is the backtrace. The session no longer exists. HTH. If not, > feel free to close the bug. Closed. This is another one in the series of assertion violations that happen only in your configuration. The problem is this: > #2 0x01041c65 in die ( > msg=0x15ab394 "assertion failed: EQ (XFRAME (selected_frame)->selected_window, selected_window)", file=0x15a25b8 "xdisp.c", line=13446) at alloc.c:6639 IOW, the selected window of the selected frame is not the window stored in the variable selected_window, which is what redisplay expects. My guess is that this is somehow related to your massive use of pop-up frames. Something happens there that causes this mismatch. But what exactly is a problem is hard to say without knowing at least the values of the two windows involved in the test. Are both of them windows, or is one of them nil or something like that? If the former, which window is each one of them, and how are they related to whatever you were doing at the moment of the crash? Etc. et. -- you _must_ understand that unless you help us dig into this mystery, this bug will probably _never_ be fixed. And since you need guidance to use the debugger on the C level, the only way of digging is if you leave the crashed session running under the debugger and let us ask you for information. It's your call. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 19 04:30:18 2012 Received: (at 11969) by debbugs.gnu.org; 19 Jul 2012 08:30:18 +0000 Received: from localhost ([127.0.0.1]:49503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Srm7k-0002z6-Mb for submit@debbugs.gnu.org; Thu, 19 Jul 2012 04:30:17 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:48464) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Srm7j-0002wP-1l for 11969@debbugs.gnu.org; Thu, 19 Jul 2012 04:30:15 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q6J8O2Qe004105; Thu, 19 Jul 2012 04:24:03 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 97271AE20D; Thu, 19 Jul 2012 04:24:01 -0400 (EDT) From: Stefan Monnier To: 11969@debbugs.gnu.org Subject: Re: bug#11969: 24.1.50; crash on Windows Message-ID: References: <83zk6x7xsn.fsf@gnu.org> Date: Thu, 19 Jul 2012 04:24:01 -0400 In-Reply-To: <83zk6x7xsn.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 18 Jul 2012 21:02:16 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4283=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4283> : streams <787097> : uri <1169149> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 11969 Cc: eliz@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >> #2 0x01041c65 in die ( >> msg=0x15ab394 "assertion failed: EQ (XFRAME >> (selected_frame)->selected_window, selected_window)", file=0x15a25b8 >> "xdisp.c", line=13446) at alloc.c:6639 I've been seeing such bugs for years now. I've sprinkled such assertions at many more places in the hope to better track the source of the problem. I did find one such source and fixed it a couple years ago, but it still happens. Generally both windows are non-nil and one of the two is the minibuffer-only frame. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 19 11:29:54 2012 Received: (at 11969) by debbugs.gnu.org; 19 Jul 2012 15:29:54 +0000 Received: from localhost ([127.0.0.1]:50851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Srsfp-0007EE-TZ for submit@debbugs.gnu.org; Thu, 19 Jul 2012 11:29:54 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:33853) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Srsfm-0007E6-Rz for 11969@debbugs.gnu.org; Thu, 19 Jul 2012 11:29:52 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M7E00400YG0NW00@a-mtaout20.012.net.il> for 11969@debbugs.gnu.org; Thu, 19 Jul 2012 18:23:11 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7E0044NYQNRX00@a-mtaout20.012.net.il>; Thu, 19 Jul 2012 18:23:11 +0300 (IDT) Date: Thu, 19 Jul 2012 18:23:25 +0300 From: Eli Zaretskii Subject: Re: bug#11969: 24.1.50; crash on Windows In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83pq7r93ma.fsf@gnu.org> References: <83zk6x7xsn.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11969 Cc: 11969@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Stefan Monnier > Cc: eliz@gnu.org > Date: Thu, 19 Jul 2012 04:24:01 -0400 > > >> #2 0x01041c65 in die ( > >> msg=0x15ab394 "assertion failed: EQ (XFRAME > >> (selected_frame)->selected_window, selected_window)", file=0x15a25b8 > >> "xdisp.c", line=13446) at alloc.c:6639 > > I've been seeing such bugs for years now. Then perhaps _you_ could leave such a crashed session running and poke around a bit. > Generally both windows are non-nil and one of the two is the > minibuffer-only frame. Which one is in selected_window (the global var)? And can you tell what were you doing at the moment of the crash? From unknown Mon Aug 18 11:16:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 17 Aug 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator