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: Tue, 06 Nov 2012 16:13:08 +0100 Message-ID: <871ug63gu3.fsf@thinkpad.tsdh.de> References: <87objb0zlc.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1352214862 15337 80.91.229.3 (6 Nov 2012 15:14:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Nov 2012 15:14:22 +0000 (UTC) To: 12814@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 06 16:14:30 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 1TVkr7-0008Ph-2E for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Nov 2012 16:14:21 +0100 Original-Received: from localhost ([::1]:48253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVkqx-0005qk-5U for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Nov 2012 10:14:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVkqh-0005gf-Li for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2012 10:14:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVkqc-0008VX-DO for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2012 10:13:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVkqc-0008VT-9A for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2012 10:13:50 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TVkth-0005mY-HH for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2012 10:17:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87objb0zlc.fsf@thinkpad.tsdh.de> Resent-From: Tassilo Horn Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Nov 2012 15:17: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.135221498922171 (code B ref 12814); Tue, 06 Nov 2012 15:17:01 +0000 Original-Received: (at 12814) by debbugs.gnu.org; 6 Nov 2012 15:16:29 +0000 Original-Received: from localhost ([127.0.0.1]:52624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVktA-0005lX-J1 for submit@debbugs.gnu.org; Tue, 06 Nov 2012 10:16:29 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:38785) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TVkt5-0005lI-MH for 12814@debbugs.gnu.org; Tue, 06 Nov 2012 10:16:25 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 354CFD2588 for <12814@debbugs.gnu.org>; Tue, 6 Nov 2012 16:13:11 +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 fI7SHtV5yrLZ for <12814@debbugs.gnu.org>; Tue, 6 Nov 2012 16:13:10 +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 5A192D2584 for <12814@debbugs.gnu.org>; Tue, 6 Nov 2012 16:13:10 +0100 (CET) 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:66529 Archived-At: --=-=-= Content-Type: text/plain Tassilo Horn writes: > Over the last days (I update my emacs copy daily), I had a few emacs > crashes. I think, it always crashed when I hit M-DEL (or at least > DEL), but not every such keystroke crashes emacs. The crash occured again. This time, I think it was during "normal" typing, i.e., no DEL. The (almost identical) backtrace is attached. --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=emacs_crash2.txt Program received signal SIGSEGV, Segmentation fault. 0x0000000000544498 in event_to_kboard (event=0xbe9ee0 ) at keyboard.c:3421 warning: Source file is more recent than executable. 3421 if (WINDOWP (obj)) (gdb) bt full #0 0x0000000000544498 in event_to_kboard (event=0xbe9ee0 ) at keyboard.c:3421 obj = 23475429 #1 0x0000000000544fb1 in kbd_buffer_get_event (kbp=0x7ffffb338fa0, used_mouse_menu=0x7ffffb339577, end_time=0x0) at keyboard.c:3823 event = 0xbe9ee0 obj = 432488194 #2 0x0000000000542b81 in read_char (commandflag=1, nmaps=9, maps=0x7ffffb339350, prev_event=12766914, used_mouse_menu=0x7ffffb339577, end_time=0x0) at keyboard.c:2768 kb = 0x7ffffb338fd0 c = 12766914 jmpcount = 2 local_getcjmp = {{ __jmpbuf = {0, -1730894225911923910, 4290928, 140737407852208, 0, 0, -1730894225194697926, 1730884259209591610}, __mask_was_saved = 0, __saved_mask = { __val = {6569541, 12766914, 127802357, 12799762, 4248, 140737407849248, 6062330, 12766914, 33490614, 12766914, 33602934, 140737407848896, 6119764, 0, 12766914, 127802352} } }} save_jump = {{ __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = { __val = {0 } ---Type to continue, or q to quit--- } }} tem = 33984598 save = 140737407849136 previous_echo_area_message = 12766914 also_record = 12766914 reread = false gcpro1 = { next = 0x7ffffb339000, var = 0x63eba3 , nvars = 95637904 } gcpro2 = { next = 0x7ffffb339490, var = 0x5b35190, nvars = 72057594037927939 } polling_stopped_here = true orig_kboard = 0x1b72860 #3 0x000000000054f630 in read_key_sequence (keybuf=0x7ffffb3397f0, bufsize=30, prompt=12766914, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true) at keyboard.c:9223 interrupted_kboard = 0x1b72860 interrupted_frame = 0x1234170 key = 40 used_mouse_menu = false echo_local_start = 0 last_real_key_start = 0 ---Type to continue, or q to quit--- keys_local_start = 0 local_first_binding = 0 from_string = 12766914 count = 2 t = 0 echo_start = 0 keys_start = 0 nmaps = 9 nmaps_allocated = 9 defs = 0x7ffffb3392f0 submaps = 0x7ffffb339350 orig_local_map = 35189862 orig_keymap = 12766914 localized_local_map = 0 first_binding = 0 first_unbound = 31 mock_input = 0 fkey = { parent = 19820790, map = 19820790, start = 0, end = 0 } keytran = { parent = 12746166, map = 12746166, start = 0, end = 0 ---Type to continue, or q to quit--- } indec = { parent = 19820774, map = 19820774, start = 0, end = 0 } shift_translated = false delayed_switch_frame = 12766914 original_uppercase = 127802352 original_uppercase_position = -1 dummyflag = false starting_buffer = 0x79e1bf0 fake_prefixed_keys = 12766914 gcpro1 = { next = 0x0, var = 0x79e1bf5, nvars = 12953202 } #4 0x0000000000540108 in command_loop_1 () at keyboard.c:1458 cmd = 16198018 keybuf = {508, 428, 108, 140737407850752, 12766962, 92661894, 4316442132495, 27990208, 27714976, 728, 140737407850592, 9345238, 12818658, 19087728, 140737407850640, 5167821, 1, 6973741, 140737407850192, 12766914, 12766914, 9345249, 140737407850720, 5503309, 140737407850752, 92661894, 12766914, 19087728, 140737407850720, 0} i = 1 prev_modiff = 2493 ---Type to continue, or q to quit--- prev_buffer = 0x79e1bf0 already_adjusted = false #5 0x00000000005d7aef in internal_condition_case (bfun=0x53fd21 , handlers=12818562, hfun=0x53f622 ) at eval.c:1288 val = 1 c = { tag = 12766914, val = 12766914, next = 0x7ffffb339b30, gcpro = 0x0, jmp = {{ __jmpbuf = {0, -1730894225643488454, 4290928, 140737407852208, 0, 0, -1730894225523950790, 1730884200964209466}, __mask_was_saved = 0, __saved_mask = { __val = {1730884200964209466, 0, 139913602980736, 4294967295, 0, 9290408, 0, 0, 0, 0, 139913699142148, 1, 0, 1, 139913599122032, 0} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { ---Type to continue, or q to quit--- handler = 12818562, var = 12766914, chosen_clause = 12766962, tag = 0x7ffffb3399b0, next = 0x0 } #6 0x000000000053fa3a in command_loop_2 (ignore=12766914) at keyboard.c:1167 val = 0 #7 0x00000000005d74c3 in internal_catch (tag=12814402, func=0x53fa14 , arg=12766914) at eval.c:1059 c = { tag = 12814402, val = 12766914, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {0, -1730894225693820102, 4290928, 140737407852208, 0, 0, -1730894225601545414, 1730884200602975034}, __mask_was_saved = 0, __saved_mask = { __val = {0, 0, 144, 0, 0, 140737407851568, 6028825, 4294967296, 12766914, 12766914, 12988610, 140737407851664, 0, 12218656, 12793680, 352} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, ---Type to continue, or q to quit--- pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #8 0x000000000053f9ec in command_loop () at keyboard.c:1146 No locals. #9 0x000000000053f16f in recursive_edit_1 () at keyboard.c:778 count = 1 val = 12766914 #10 0x000000000053f315 in Frecursive_edit () at keyboard.c:842 count = 0 buffer = 12766914 #11 0x000000000053d258 in main (argc=1, argv=0x7ffffb339eb8) 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 = 0x13c7f10 "\360%9\001" (gdb) (gdb) xbacktrace (gdb) --=-=-= Content-Type: text/plain Bye, Tassilo --=-=-=--