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#12814: 24.3.50; Emacs crash in event_to_kboard at keyboard.c:3421 Date: Wed, 07 Nov 2012 19:17:31 +0200 Message-ID: <83obj91ges.fsf@gnu.org> References: <87objb0zlc.fsf@thinkpad.tsdh.de> <871ug63gu3.fsf@thinkpad.tsdh.de> <83k3ty3dwe.fsf@gnu.org> <87pq3qr48g.fsf@thinkpad.tsdh.de> <87390md1st.fsf@thinkpad.tsdh.de> <83a9uu35x4.fsf@gnu.org> <87y5ie33hl.fsf@thinkpad.tsdh.de> <838vae32jd.fsf@gnu.org> <5099780E.4090308@cs.ucla.edu> <87zk2uh2pv.fsf@thinkpad.tsdh.de> <83390m2zez.fsf@gnu.org> <87bof93ane.fsf@thinkpad.tsdh.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1352308752 25199 80.91.229.3 (7 Nov 2012 17:19:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Nov 2012 17:19:12 +0000 (UTC) Cc: eggert@cs.ucla.edu, 12814@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 07 18:19:21 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 1TW9Hd-0005Q8-Ag for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Nov 2012 18:19:21 +0100 Original-Received: from localhost ([::1]:57445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TW9HU-0006mt-7P for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Nov 2012 12:19:12 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TW9HR-0006mj-I0 for bug-gnu-emacs@gnu.org; Wed, 07 Nov 2012 12:19:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TW9HN-0004iA-BK for bug-gnu-emacs@gnu.org; Wed, 07 Nov 2012 12:19:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TW9HN-0004hU-4Q for bug-gnu-emacs@gnu.org; Wed, 07 Nov 2012 12:19:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TW9HJ-0007H3-Rq for bug-gnu-emacs@gnu.org; Wed, 07 Nov 2012 12:19:01 -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: Wed, 07 Nov 2012 17:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12814 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12814-submit@debbugs.gnu.org id=B12814.135230869027897 (code B ref 12814); Wed, 07 Nov 2012 17:19:01 +0000 Original-Received: (at 12814) by debbugs.gnu.org; 7 Nov 2012 17:18:10 +0000 Original-Received: from localhost ([127.0.0.1]:54709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TW9GT-0007Fu-QX for submit@debbugs.gnu.org; Wed, 07 Nov 2012 12:18:10 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:38767) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TW9GR-0007Fm-C4 for 12814@debbugs.gnu.org; Wed, 07 Nov 2012 12:18:08 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MD400E00NO49I00@a-mtaout20.012.net.il> for 12814@debbugs.gnu.org; Wed, 07 Nov 2012 19:17:38 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MD400D1DO16W5T0@a-mtaout20.012.net.il>; Wed, 07 Nov 2012 19:17:31 +0200 (IST) In-reply-to: <87bof93ane.fsf@thinkpad.tsdh.de> 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:66587 Archived-At: > From: Tassilo Horn > Cc: eggert@cs.ucla.edu, 12814@debbugs.gnu.org > Date: Wed, 07 Nov 2012 12:39:01 +0100 > > Program received signal SIGSEGV, Segmentation fault. > 0x00000000005437a4 in event_to_kboard (event=0xbc0660 ) > at keyboard.c:3421 > 3421 if (WINDOWP (obj)) > (gdb) p obj > $1 = 7652357 > (gdb) xtype > Lisp_Vectorlike > Cannot access memory at address 0x74c400 Hmm... probably a window or frame that were deleted and recycled. > Program received signal SIGSEGV, Segmentation fault. > 0x00000000005437a4 in event_to_kboard (event=0xbc0660 ) > at keyboard.c:3421 > 3421 if (WINDOWP (obj)) > (gdb) p obj > $1 = 7652357 > (gdb) xtype > Lisp_Vectorlike > Cannot access memory at address 0x74c400 > (gdb) bt full > #0 0x00000000005437a4 in event_to_kboard (event=0xbc0660 ) > at keyboard.c:3421 > obj = 7652357 So what kind of event is this? Try these commands: (gdb) p *event (gdb) p event->arg (gdb) xtype The last command will probably say it's a cons cell, in which case you can use the "xcar" and "xcdr" commands to show the contents. For each component, type "xtype" followed by the command suitable for the type that is shown: "xstring" for a string, "xsymbol" for a symbol, etc. (Usually, just "pp event->arg" would display the whole thing, but it is dangerous to use that command in a crashed session, you could screw up the entire debugging session.) Thanks.