Package: emacs;
Reported by: sds <at> gnu.org
Date: Tue, 21 Aug 2012 18:22:01 UTC
Severity: normal
Found in version 24.2.50
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Message #17 received at 12251 <at> debbugs.gnu.org (full text, mbox):
From: Sam Steingold <sds <at> gnu.org> To: Eli Zaretskii <eliz <at> gnu.org> Cc: 12251 <at> debbugs.gnu.org Subject: Re: bug#12251: 24.2.50; crash in note_mouse_highlight Date: Tue, 21 Aug 2012 22:43:49 -0400
> * Eli Zaretskii <ryvm <at> tah.bet> [2012-08-21 22:22:34 +0300]: > >> > 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) f 8 #8 0x00000000004f5da5 in cmd_error_internal (data=68832822, context=0x7fffffffcf30 "") at /home/sds/src/emacs/trunk/src/keyboard.c:1147 1147 bitch_at_user (); (gdb) p data $1 = 68832822 (gdb) xtype Lisp_Cons (gdb) xcons $2 = (struct Lisp_Cons *) 0x41a4e30 { car = 0xb7c612, u = { cdr = 0x41a4e56, chain = 0x41a4e56 } } (gdb) p 0xb7c612 $3 = 12043794 (gdb) xtype Lisp_Symbol (gdb) xsymbol $4 = (struct Lisp_Symbol *) 0xb7c610 "error" (gdb) p 0x41a4e56 $5 = 68832854 (gdb) xtype Lisp_Cons (gdb) xcons $6 = (struct Lisp_Cons *) 0x41a4e50 { car = 0x3032031, u = { cdr = 0xb6fbd2, chain = 0xb6fbd2 } } (gdb) p 0x3032031 $7 = 50536497 (gdb) xtype Lisp_String (gdb) xstring $8 = (struct Lisp_String *) 0x3032030 "#<window 139> is not a valid window" (gdb) p 0xb6fbd2 $9 = 11992018 (gdb) xtype Lisp_Symbol (gdb) xsymbol $10 = (struct Lisp_Symbol *) 0xb6fbd0 "nil" (gdb) meanwhile, I got another crash: #0 remember_mouse_glyph (f=<optimized out>, gx=139, gy=549, rect=0xaf1c20) at /home/sds/src/emacs/trunk/src/xdisp.c:2251 window = <optimized out> w = <optimized out> r = <optimized out> gr = <optimized out> end_row = <optimized out> part = ON_TEXT area = <optimized out> x = 120 y = <optimized out> width = 6 height = 13 #1 0x00000000004b767b in note_mouse_movement (frame=0x1175580, event=0x7fffffffc8a0) at /home/sds/src/emacs/trunk/src/xterm.c:3860 No locals. #2 0x00000000004c07fe in handle_one_xevent (dpyinfo=0x1336c10, eventptr=0x7fffffffc9c0, finish=0x7fffffffc9bc, hold_quit=0x7fffffffcd50) at /home/sds/src/emacs/trunk/src/xterm.c:6701 inev = { ie = { kind = NO_EVENT, code = 0, part = scroll_bar_above_handle, modifiers = 0, x = 0, y = 0, timestamp = 0, padding = {0x0, 0x0}, frame_or_window = 0, arg = 11992018 }, sie = { kind = 0, display = 0x0, requestor = 0, selection = 0, target = 0, property = 0, time = 0 } } count = 0 do_help = 0 nbytes = 0 f = 0x1175580 coding = { id = 0, common_flags = 0, mode = 0, spec = { iso_2022 = { flags = 0, current_invocation = {0, 0}, current_designation = {0, 0, 0, 0}, single_shifting = 0, bol = 0, ctext_extended_segment_len = 0, embedded_utf_8 = 0, cmp_status = { state = COMPOSING_NO, method = COMPOSITION_RELATIVE, old_form = 0, length = 0, nchars = 0, ncomps = 0, carryover = {0 <repeats 68 times>} } }, ccl = 0x0, utf_16 = { bom = utf_detect_bom, endian = utf_16_big_endian, surrogate = 0 }, utf_8_bom = utf_detect_bom, emacs_mule = { full_support = 0, cmp_status = { state = COMPOSING_NO, method = COMPOSITION_RELATIVE, old_form = 0, length = 0, nchars = 0, ncomps = 0, carryover = {0 <repeats 68 times>} } } }, max_charset_id = 0, safe_charsets = 0x0, src_multibyte = 0, dst_multibyte = 0, head_ascii = 0, produced = 0, produced_char = 0, consumed = 0, consumed_char = 0, errors = 0, error_positions = 0x0, result = CODING_RESULT_SUCCESS, src_pos = 0, src_pos_byte = 0, src_chars = 0, src_bytes = 0, src_object = 0, source = 0x0, dst_pos = 0, dst_pos_byte = 0, dst_bytes = 0, dst_object = 0, destination = 0x0, chars_at_source = 0, charbuf = 0x0, charbuf_size = 0, charbuf_used = 0, annotated = 0, carryover = '\000' <repeats 63 times>, carryover_bytes = 0, default_char = 0, detector = 0, decoder = 0, encoder = 0 } event = { type = 7, xany = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230 }, xkey = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, root = 178, subwindow = 0, time = 95626893, x = 139, y = 549, x_root = 139, y_root = 601, state = 2, keycode = 3, same_screen = 1 }, xbutton = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, root = 178, subwindow = 0, time = 95626893, x = 139, y = 549, x_root = 139, y_root = 601, state = 2, button = 3, same_screen = 1 }, xmotion = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, root = 178, subwindow = 0, time = 95626893, x = 139, y = 549, x_root = 139, y_root = 601, state = 2, is_hint = 3 '\003', same_screen = 1 }, xcrossing = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, root = 178, subwindow = 0, time = 95626893, x = 139, y = 549, x_root = 139, y_root = 601, mode = 2, detail = 3, same_screen = 1, focus = 1, state = 28 }, xfocus = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, mode = 178, detail = 0 }, xexpose = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, x = 178, y = 0, width = 0, height = 0, count = 95626893 }, xgraphicsexpose = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, drawable = 41943230, x = 178, y = 0, width = 0, height = 0, count = 95626893, major_code = 0, minor_code = 139 }, xnoexpose = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, drawable = 41943230, major_code = 178, minor_code = 0 }, xvisibility = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, state = 178 }, xcreatewindow = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, parent = 41943230, window = 178, x = 0, y = 0, width = 95626893, height = 0, border_width = 139, override_redirect = 549 }, xdestroywindow = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178 }, xunmap = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178, from_configure = 0 }, xmap = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178, override_redirect = 0 }, xmaprequest = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, parent = 41943230, window = 178 }, xreparent = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178, parent = 0, x = 95626893, y = 0, override_redirect = 139 }, xconfigure = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178, x = 0, y = 0, width = 95626893, height = 0, border_width = 139, above = 2581275345035, override_redirect = 2 }, xgravity = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178, x = 0, y = 0 }, xresizerequest = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, width = 178, height = 0 }, xconfigurerequest = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, parent = 41943230, window = 178, x = 0, y = 0, width = 95626893, height = 0, border_width = 139, above = 2581275345035, detail = 2, value_mask = 4294967297 }, xcirculate = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178, place = 0 }, xcirculaterequest = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, parent = 41943230, window = 178, place = 0 }, xproperty = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, atom = 178, time = 0, state = 95626893 }, xselectionclear = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, selection = 178, time = 0 }, xselectionrequest = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, owner = 41943230, requestor = 178, selection = 0, target = 95626893, property = 2357937045643, time = 2581275345035 }, xselection = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, requestor = 41943230, selection = 178, target = 0, property = 95626893, time = 2357937045643 }, xcolormap = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, colormap = 178, new = 0, state = 0 }, xclient = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, message_type = 178, format = 0, data = { b = "\215&\263\005\000\000\000\000\213\000\000\000%\002\000\000\213\000\000", s = {9869, 1459, 0, 0, 139, 0, 549, 0, 139, 0}, l = {95626893, 2357937045643, 2581275345035, 12884901890, 4294967297} } }, xmapping = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, request = 178, first_keycode = 0, count = 0 }, xerror = { type = 7, display = 0x122167, resourceid = 0, serial = 20053760, error_code = 190 '\276', request_code = 0 '\000', minor_code = 128 '\200' }, xkeymap = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, key_vector = "\262", '\000' <repeats 15 times>"\215, &\263\005\000\000\000\000\213\000\000\000%\002\000" }, xgeneric = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, extension = 41943230, evtype = 0 }, xcookie = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, extension = 41943230, evtype = 0, cookie = 178, data = 0x0 }, pad = {7, 1188199, 0, 20053760, 41943230, 178, 0, 95626893, 2357937045643, 2581275345035, 12884901890, 4294967297, 6073467370137976860, 2314885436483055656, 3345733756951470112, 7885630497951938661, 7294206809482226032, 6073467371956363630, 732161977273508648, 2314861740994600992, 8246765349659156512, 7598822093864385568, 8030606864350932591, 5497863039149219954} } hlinfo = <optimized out> sa_count = <optimized out> sa_must_free = 0 #3 0x00000000004c18b6 in XTread_socket (terminal=0xfc4d28, expected=<optimized out>, hold_quit=0x7fffffffcd50) at /home/sds/src/emacs/trunk/src/xterm.c:7185 finish = 0 event = { type = 7, xany = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230 }, xkey = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, root = 178, subwindow = 0, time = 95626893, x = 139, y = 549, x_root = 139, y_root = 601, state = 2, keycode = 3, same_screen = 1 }, xbutton = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, root = 178, subwindow = 0, time = 95626893, x = 139, y = 549, x_root = 139, y_root = 601, state = 2, button = 3, same_screen = 1 }, xmotion = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, root = 178, subwindow = 0, time = 95626893, x = 139, y = 549, x_root = 139, y_root = 601, state = 2, is_hint = 3 '\003', same_screen = 1 }, xcrossing = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, root = 178, subwindow = 0, time = 95626893, x = 139, y = 549, x_root = 139, y_root = 601, mode = 2, detail = 3, same_screen = 1, focus = 1, state = 28 }, xfocus = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, mode = 178, detail = 0 }, xexpose = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, x = 178, y = 0, width = 0, height = 0, count = 95626893 }, xgraphicsexpose = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, drawable = 41943230, x = 178, y = 0, width = 0, height = 0, count = 95626893, major_code = 0, minor_code = 139 }, xnoexpose = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, drawable = 41943230, major_code = 178, minor_code = 0 }, xvisibility = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, state = 178 }, xcreatewindow = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, parent = 41943230, window = 178, x = 0, y = 0, width = 95626893, height = 0, border_width = 139, override_redirect = 549 }, xdestroywindow = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178 }, xunmap = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178, from_configure = 0 }, xmap = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178, override_redirect = 0 }, xmaprequest = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, parent = 41943230, window = 178 }, xreparent = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178, parent = 0, x = 95626893, y = 0, override_redirect = 139 }, xconfigure = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178, x = 0, y = 0, width = 95626893, height = 0, border_width = 139, above = 2581275345035, override_redirect = 2 }, xgravity = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178, x = 0, y = 0 }, xresizerequest = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, width = 178, height = 0 }, xconfigurerequest = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, parent = 41943230, window = 178, x = 0, y = 0, width = 95626893, height = 0, border_width = 139, above = 2581275345035, detail = 2, value_mask = 4294967297 }, xcirculate = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, event = 41943230, window = 178, place = 0 }, xcirculaterequest = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, parent = 41943230, window = 178, place = 0 }, xproperty = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, atom = 178, time = 0, state = 95626893 }, xselectionclear = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, selection = 178, time = 0 }, xselectionrequest = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, owner = 41943230, requestor = 178, selection = 0, target = 95626893, property = 2357937045643, time = 2581275345035 }, xselection = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, requestor = 41943230, selection = 178, target = 0, property = 95626893, time = 2357937045643 }, xcolormap = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, colormap = 178, new = 0, state = 0 }, xclient = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, message_type = 178, format = 0, data = { b = "\215&\263\005\000\000\000\000\213\000\000\000%\002\000\000\213\000\000", s = {9869, 1459, 0, 0, 139, 0, 549, 0, 139, 0}, l = {95626893, 2357937045643, 2581275345035, 12884901890, 4294967297} } }, xmapping = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, request = 178, first_keycode = 0, count = 0 }, xerror = { type = 7, display = 0x122167, resourceid = 0, serial = 20053760, error_code = 190 '\276', request_code = 0 '\000', minor_code = 128 '\200' }, xkeymap = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, window = 41943230, key_vector = "\262", '\000' <repeats 15 times>"\215, &\263\005\000\000\000\000\213\000\000\000%\002\000" }, xgeneric = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, extension = 41943230, evtype = 0 }, xcookie = { type = 7, serial = 1188199, send_event = 0, display = 0x131ff00, extension = 41943230, evtype = 0, cookie = 178, data = 0x0 }, pad = {7, 1188199, 0, 20053760, 41943230, 178, 0, 95626893, 2357937045643, 2581275345035, 12884901890, 4294967297, 6073467370137976860, 2314885436483055656, 3345733756951470112, 7885630497951938661, 7294206809482226032, 6073467371956363630, 732161977273508648, 2314861740994600992, 8246765349659156512, 7598822093864385568, 8030606864350932591, 5497863039149219954} } count = 0 event_found = 1 #4 0x00000000004f91b7 in read_avail_input (expected=1) at /home/sds/src/emacs/trunk/src/keyboard.c:6897 nr = <optimized out> hold_quit = { kind = NO_EVENT, code = 0, part = scroll_bar_above_handle, modifiers = 0, x = 0, y = 0, timestamp = 0, padding = {0x0, 0x0}, frame_or_window = 0, arg = 0 } next = 0x0 nread = 0 err = <optimized out> t = 0xfc4d28 #5 0x00000000004f92da in handle_async_input () at /home/sds/src/emacs/trunk/src/keyboard.c:7226 nread = 1 #6 0x00000000004b9ac5 in XTring_bell (f=<optimized out>) at /home/sds/src/emacs/trunk/src/xterm.c:3259 No locals. #7 XTring_bell (f=0x1175580) at /home/sds/src/emacs/trunk/src/xterm.c:3248 No locals. #8 0x00000000004f5da5 in cmd_error_internal (data=66785958, context=0x7fffffffcf30 "") at /home/sds/src/emacs/trunk/src/keyboard.c:1147 sf = <optimized out> #9 0x00000000004f5f23 in cmd_error (data=66785958) at /home/sds/src/emacs/trunk/src/keyboard.c:1080 old_level = 40 old_length = 40 macroerror = "\000\373\266\000\000\000\000\000\000$\016\037\063\004\270Ab̸\000\000\000\000\000\002\000\000\000\000\000\000\000\322\373\266\000\000\000\000\000\230\325\377\377\377\177\000\000\377\377" #10 0x0000000000567fe9 in internal_condition_case (bfun=0x501430 <command_loop_1>, handlers=12043794, hfun=0x4f5e10 <cmd_error>) at /home/sds/src/emacs/trunk/src/eval.c:1312 val = <optimized out> c = { tag = 11992018, val = 66785958, next = 0x7fffffffd140, gcpro = 0x0, jmp = {{ __jmpbuf = {15359840, 54901063922382646, 11992018, 140737488344472, 4294967295, 140737488344752, -54902939858077898, 54902198877321014}, __mask_was_saved = 0, __saved_mask = { __val = {140737353918688, 140737353947624, 5296614, 4294967295, 0, 0, 15359840, 8597472, 0, 4294967295, 140737488344752, 0, 140737351944052, 1, 0, 140737284769664} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 12043794, var = 11992018, chosen_clause = 11992066, tag = 0x7fffffffcfc0, next = 0x0 } #11 0x00000000004f3e6e in command_loop_2 (ignore=<optimized out>) at /home/sds/src/emacs/trunk/src/keyboard.c:1204 val = 1 #12 0x0000000000567e98 in internal_catch (tag=<error reading variable: Cannot access memory at address 0x58>, func=0x4f3e50 <command_loop_2>, arg=11992018) at /home/sds/src/emacs/trunk/src/eval.c:1079 c = { tag = 12039666, val = 11992018, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {15359840, 54901063922382646, 11992018, 140737488344472, 4294967295, 140737488344752, -54902940313159882, 54902198903011126}, __mask_was_saved = 0, __saved_mask = { __val = {0, 0, 0, 0, 0, 0, 5968131, 0, 18895752, 140737488343680, 140737488343688, 0, 140737488343680, 6279510, 11992018, 140737488343688} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #13 0x00000000004f58d7 in command_loop () at /home/sds/src/emacs/trunk/src/keyboard.c:1183 No locals. #14 recursive_edit_1 () at /home/sds/src/emacs/trunk/src/keyboard.c:804 count = 1 val = 11992018 #15 0x00000000004f5c14 in Frecursive_edit () at /home/sds/src/emacs/trunk/src/keyboard.c:868 count = 0 buffer = 11992018 #16 0x000000000040fffd in main (argc=1, argv=<optimized out>) at /home/sds/src/emacs/trunk/src/emacs.c:1662 dummy = 0 stack_bottom_variable = 0 '\000' do_initial_setlocale = <optimized out> skip_args = 0 rlim = { rlim_cur = 8720000, rlim_max = 18446744073709551615 } no_loadup = 0 junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x7ffff3ddee40 "\212'" -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://openvotingconsortium.org http://think-israel.org http://pmw.org.il http://palestinefacts.org I just forgot my whole philosophy of life!!!
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.