From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn 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 12:39:01 +0100 Message-ID: <87bof93ane.fsf@thinkpad.tsdh.de> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1352288425 18760 80.91.229.3 (7 Nov 2012 11:40:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Nov 2012 11:40:25 +0000 (UTC) Cc: eggert@cs.ucla.edu, 12814@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 07 12:40:35 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 1TW3zl-0005Ep-Jl for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Nov 2012 12:40:33 +0100 Original-Received: from localhost ([::1]:37624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TW3zc-0002EM-7c for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Nov 2012 06:40:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TW3zN-0002Bz-9m for bug-gnu-emacs@gnu.org; Wed, 07 Nov 2012 06:40:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TW3zL-0003YI-Hb for bug-gnu-emacs@gnu.org; Wed, 07 Nov 2012 06:40:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TW3zL-0003Wm-Du for bug-gnu-emacs@gnu.org; Wed, 07 Nov 2012 06:40:07 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TW3zG-0005H8-Du for bug-gnu-emacs@gnu.org; Wed, 07 Nov 2012 06:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Nov 2012 11:40: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.135228834720212 (code B ref 12814); Wed, 07 Nov 2012 11:40:01 +0000 Original-Received: (at 12814) by debbugs.gnu.org; 7 Nov 2012 11:39:07 +0000 Original-Received: from localhost ([127.0.0.1]:53508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TW3yM-0005Fw-Td for submit@debbugs.gnu.org; Wed, 07 Nov 2012 06:39:07 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:55644) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TW3yI-0005FT-09 for 12814@debbugs.gnu.org; Wed, 07 Nov 2012 06:39:04 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 82254D24B3; Wed, 7 Nov 2012 12:39:05 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4tqFikpWGB5u; Wed, 7 Nov 2012 12:39:04 +0100 (CET) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 1DF4BD24B1; Wed, 7 Nov 2012 12:39:04 +0100 (CET) In-Reply-To: <83390m2zez.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 06 Nov 2012 23:29:24 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) 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:66576 Archived-At: --=-=-= Content-Type: text/plain Eli Zaretskii writes: > They haven't, but now you should be able to use xtype to see what kind > of object is obj that cases the crash. Ok. It took much longer for the crash to occur, but now xtype worked (complete backtrace attached). 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 Bye, Tassilo --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=emacs_crash.txt 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 #1 0x00000000005442bd in kbd_buffer_get_event (kbp=0x7fff3d71dd20, used_mouse_menu=0x7fff3d71e2d7, end_time=0x0) at keyboard.c:3823 event = 0xbc0660 obj = 357921035 #2 0x0000000000541e8d in read_char (commandflag=1, nmaps=8, maps=0x7fff3d71e0c0, prev_event=12766914, used_mouse_menu=0x7fff3d71e2d7, end_time=0x0) at keyboard.c:2768 kb = 0x10000000532ead5 c = 12766914 jmpcount = 2 local_getcjmp = {{ __jmpbuf = {0, 2550837358400367020, 4290928, 140734224264208, 0, 0, 2550837360409438636, -2551254709291062868}, __mask_was_saved = 0, __saved_mask = { __val = {190348, 140734224261248, 6058850, 57672011, 9323869, 12766914, 4290928, 140734224260896, 6116284, 1, 12766914, 12807021, 100865958, 0, 12766866, 12766914} } }} ---Type to continue, or q to quit--- save_jump = {{ __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = { __val = {0 } } }} tem = 87222992 save = 12769840 previous_echo_area_message = 12766914 also_record = 12766914 reread = false gcpro1 = { next = 0x532ead0, var = 0x33e7ec0, nvars = 54427328 } gcpro2 = { next = 0x7fff3d71dd60, var = 0x63dbd7 , nvars = 54427328 } polling_stopped_here = true ---Type to continue, or q to quit--- orig_kboard = 0x27a50c0 #3 0x000000000054e93c in read_key_sequence (keybuf=0x7fff3d71e550, bufsize=30, prompt=12766914, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true) at keyboard.c:9223 interrupted_kboard = 0x27a50c0 interrupted_frame = 0x122bd10 key = 40 used_mouse_menu = false echo_local_start = 0 last_real_key_start = 0 keys_local_start = 0 local_first_binding = 0 from_string = 12766914 count = 2 t = 0 echo_start = 0 keys_start = 0 nmaps = 8 nmaps_allocated = 8 defs = 0x7fff3d71e070 submaps = 0x7fff3d71e0c0 orig_local_map = 74940486 orig_keymap = 12766914 ---Type to continue, or q to quit--- localized_local_map = 0 first_binding = 0 first_unbound = 31 mock_input = 0 fkey = { parent = 19811574, map = 19811574, start = 0, end = 0 } keytran = { parent = 12746166, map = 12746166, start = 0, end = 0 } indec = { parent = 19811558, map = 19811558, start = 0, end = 0 } shift_translated = false ---Type to continue, or q to quit--- delayed_switch_frame = 12766914 original_uppercase = 87222992 original_uppercase_position = -1 dummyflag = false starting_buffer = 0x532ead0 fake_prefixed_keys = 12766914 gcpro1 = { next = 0x7fff3d71e300, var = 0x532ead5, nvars = 12953202 } #4 0x000000000053f414 in command_loop_1 () at keyboard.c:1458 cmd = 12807106 keybuf = {436, 12, 12766914, 140734224262752, 12766962, 99474918, 3994319585295, 40855936, 40580512, 800, 140734224262592, 9345238, 12818658, 19053840, 140734224262640, 5165477, 9374113, 6970589, 140734224262192, 12766914, 12766914, 9345249, 140734224262720, 5499993, 140734224262752, 99474918, 12766914, 19053840, 140734224262720, 0} i = 1 prev_modiff = 49690 prev_buffer = 0x532ead0 already_adjusted = false ---Type to continue, or q to quit--- #5 0x00000000005d6d57 in internal_condition_case ( bfun=0x53f02d , handlers=12818562, hfun=0x53e92e ) at eval.c:1288 val = 1 c = { tag = 12766914, val = 12766914, next = 0x7fff3d71e890, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 2550837358681385388, 4290928, 140734224264208, 0, 0, 2550837358582819244, -2551254790071916116}, __mask_was_saved = 0, __saved_mask = { __val = {15895489283637635500, 0, 140223433214848, 4294967295, 0, 9290408, 0, 0, 0, 0, 140223529376260, 1, 0, 1, 140223429356144, 0} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, ---Type to continue, or q to quit--- poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 12818562, var = 12766914, chosen_clause = 12766962, tag = 0x7fff3d71e710, next = 0x0 } #6 0x000000000053ed46 in command_loop_2 (ignore=12766914) at keyboard.c:1167 val = 0 #7 0x00000000005d672b in internal_catch (tag=12814402, func=0x53ed20 , arg=12766914) at eval.c:1059 c = { tag = 12814402, val = 12766914, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 2550837358631053740, 4290928, 140734224264208, 0, 0, 2550837358672996780, -2551254790282155604}, ---Type to continue, or q to quit--- __mask_was_saved = 0, __saved_mask = { __val = {0, 0, 144, 0, 0, 140734224263568, 6025345, 4294967296, 12766914, 12766914, 12988610, 140734224263664, 0, 12218656, 12793680, 352} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #8 0x000000000053ecf8 in command_loop () at keyboard.c:1146 No locals. #9 0x000000000053e47b in recursive_edit_1 () at keyboard.c:778 count = 1 val = 12766914 #10 0x000000000053e621 in Frecursive_edit () at keyboard.c:842 count = 0 buffer = 12766914 ---Type to continue, or q to quit--- #11 0x000000000053c564 in main (argc=1, argv=0x7fff3d71ec18) at emacs.c:1564 dummy = 4247287 stack_bottom_variable = 0 '\000' do_initial_setlocale = true dumping = false skip_args = 0 rlim = { rlim_cur = 8720000, rlim_max = 18446744073709551615 } no_loadup = false junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x13ad000 "<\001" (gdb) (gdb) xbacktrace (gdb) --=-=-=--