From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Hit eassert introduced in r110971 Date: Sat, 06 Apr 2013 21:37:44 +0300 Message-ID: <83vc7zcxon.fsf@gnu.org> References: <51604EBE.1070306@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1365278396 26535 80.91.229.3 (6 Apr 2013 19:59:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Apr 2013 19:59:56 +0000 (UTC) Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 06 21:59:56 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UOZHF-0007UX-GV for ged-emacs-devel@m.gmane.org; Sat, 06 Apr 2013 21:59:53 +0200 Original-Received: from localhost ([::1]:58081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOYEp-000885-Vx for ged-emacs-devel@m.gmane.org; Sat, 06 Apr 2013 14:53:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOYEl-00087u-Ht for emacs-devel@gnu.org; Sat, 06 Apr 2013 14:53:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOYEj-00054c-Jc for emacs-devel@gnu.org; Sat, 06 Apr 2013 14:53:15 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:63270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOXzj-0007id-UE for emacs-devel@gnu.org; Sat, 06 Apr 2013 14:37:44 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MKU00I00JKF2W00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sat, 06 Apr 2013 21:37:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MKU00HT0JQRSFA0@a-mtaout23.012.net.il>; Sat, 06 Apr 2013 21:37:39 +0300 (IDT) In-reply-to: <51604EBE.1070306@yandex.ru> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158680 Archived-At: > Date: Sat, 06 Apr 2013 20:35:10 +0400 > From: Dmitry Antipov > Cc: Stefan Monnier > > Found 100% method to hit eassert introduced in r110971 within update_tool_bar: > > 1) ./src/emacs -nw -Q > 2) M-x make-frame-on-display :0 > 3) Move mouse to new X frame and left-click; > 4) Move mouse back to TTY frame and left-click; > 5) Press C-g staying in TTY frame ==> > > #0 0x0000003daf40eedb in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:41 > #1 0x00000000005a1cf2 in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) > at src/emacs.c:343 > #2 0x000000000065d92d in die (msg=0x79db98 "assertion failed: EQ (selected_window, XFRAME (selected_frame)->selected_window)", file= > 0x79b560 "src/xdisp.c", line=11427) at src/alloc.c:6522 > #3 0x000000000044c6b5 in update_tool_bar (f=f@entry=0x14a29d8, save_match_data=save_match_data@entry=0) > at src/xdisp.c:11424 Which frame is the selected frame here: the X frame or the TTY frame?