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#12251: 24.2.50; crash in note_mouse_highlight Date: Tue, 21 Aug 2012 22:22:34 +0300 Message-ID: <83ehn0aw3p.fsf@gnu.org> References: <87obm4ayyn.fsf@gnu.org> <83fw7gaxyx.fsf@gnu.org> <87k3wsax0k.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1345576999 14467 80.91.229.3 (21 Aug 2012 19:23:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Aug 2012 19:23:19 +0000 (UTC) Cc: 12251@debbugs.gnu.org To: sds@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 21 21:23:19 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 1T3u2p-0006OQ-1J for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Aug 2012 21:23:19 +0200 Original-Received: from localhost ([::1]:46853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3u2n-0005Zg-IB for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Aug 2012 15:23:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3u2l-0005ZY-2R for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 15:23:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3u2E-0004JC-A3 for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 15:23:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3u2E-0004J8-66 for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 15:22:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T3u2Y-0003b1-D8 for bug-gnu-emacs@gnu.org; Tue, 21 Aug 2012 15:23:02 -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, 21 Aug 2012 19:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12251 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12251-submit@debbugs.gnu.org id=B12251.134557698113816 (code B ref 12251); Tue, 21 Aug 2012 19:23:02 +0000 Original-Received: (at 12251) by debbugs.gnu.org; 21 Aug 2012 19:23:01 +0000 Original-Received: from localhost ([127.0.0.1]:41931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3u2W-0003an-Vg for submit@debbugs.gnu.org; Tue, 21 Aug 2012 15:23:01 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:55838) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3u2T-0003ad-N2 for 12251@debbugs.gnu.org; Tue, 21 Aug 2012 15:22:59 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M9400D00DSBWH00@a-mtaout21.012.net.il> for 12251@debbugs.gnu.org; Tue, 21 Aug 2012 22:22:30 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M9400DP0DTIWF00@a-mtaout21.012.net.il>; Tue, 21 Aug 2012 22:22:30 +0300 (IDT) In-reply-to: <87k3wsax0k.fsf@gnu.org> 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:63351 Archived-At: > From: Sam Steingold > Cc: 12251@debbugs.gnu.org > Date: Tue, 21 Aug 2012 15:02:51 -0400 > > > * Eli Zaretskii [2012-08-21 21:42:14 +0300]: > > > >> #8 0x00000000004f5da5 in cmd_error_internal (data=68832822, context=0x7fffffffcf30 "") > >> at /home/sds/src/emacs/trunk/src/keyboard.c:1147 > >> #9 0x00000000004f5f23 in cmd_error (data=68832822) at > >> /home/sds/src/emacs/trunk/src/keyboard.c:1080 > > > > what error are we trying to process here? What is 'data' in frame #8? > > how do I figure that out? (gdb) frame 8 (gdb) p data (gdb) xtype Then use the appropriate "x" command according to the type shown by "xtype". E.g., if "xtype" says 'data' is a symbol, use "xsymbol" to show what symbol is that; if it says it's a string, use "xstring", etc. > $ gdb -x ~/src/emacs/trunk/build/src/.gdbinit ~/src/emacs/trunk/build/src/emacs core.7393 > GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 > Reading symbols from /home/sds/src/emacs/trunk/build/src/emacs...done. > [New LWP 7397] > [New LWP 7396] > [New LWP 7393] > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > Core was generated by `emacs'. > Program terminated with signal 11, Segmentation fault. > #0 0x00007ffff3eb5b03 in poll () from /lib/x86_64-linux-gnu/libc.so.6 > Warning: /home/sds/../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] > DISPLAY = :0 > TERM = screen > Breakpoint 1 at 0x4f0aa0: abort. (2 locations) > Temporary breakpoint 2 at 0x50c7a0: file /home/sds/src/emacs/trunk/src/sysdep.c, line 849. > (gdb) f 8 > #0 0x0000000000000000 in ?? () > (gdb) whee > Undefined command: "whee". Try "help". > (gdb) where > #0 0x00007ffff3eb5b03 in poll () from /lib/x86_64-linux-gnu/libc.so.6 > #1 0x00007ffff4962036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #2 0x00007ffff496249a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #3 0x00007ffff4f27406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 > #4 0x00007ffff49839e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #5 0x00007ffff5736e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 > #6 0x00007ffff3ec14bd in clone () from /lib/x86_64-linux-gnu/libc.so.6 > #7 0x0000000000000000 in ?? () > (gdb) Wrong thread, I think. Try other threads ("thread N" will switch to thread number N, "info threads" will show all of them). You want the thread whose frame #0 is on line 27710 of xdisp.c, as you reported in the original bug report.