From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Emacs crashes, 07nov16 Date: Tue, 20 Nov 2007 11:17:01 +0000 (UTC) Message-ID: References: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1195557442 4112 80.91.229.12 (20 Nov 2007 11:17:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2007 11:17:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 20 12:17:26 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IuR6b-0005dt-Cm for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2007 12:17:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuR6L-0001zK-4f for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2007 06:17:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuR6H-0001yP-67 for emacs-devel@gnu.org; Tue, 20 Nov 2007 06:17:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuR6F-0001xs-HS for emacs-devel@gnu.org; Tue, 20 Nov 2007 06:17:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuR6F-0001xp-Bu for emacs-devel@gnu.org; Tue, 20 Nov 2007 06:17:03 -0500 Original-Received: from cpe-69-204-164-144.nycap.res.rr.com ([69.204.164.144] helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IuR6D-0000Fh-Qy for emacs-devel@gnu.org; Tue, 20 Nov 2007 06:17:02 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Tue, 20 Nov 2007 11:17:01 +0000 (UTC) In-reply-to: (message from Richard Stallman on Mon, 19 Nov 2007 22:59:08 -0500) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83706 Archived-At: #11 0x00000000 in ?? () No symbol table info available. (gdb) This is the part of the backtrace that ought to give the information, and it is garbled. What happens if you put a breakpoint at x_connection_closed? That will stop earlier. Is the backtrace complete at that point? The backtrace does not show an address of 0x00000000. In any case, I don't know what is going on. What should I do next? (gdb) bt full #0 x_connection_closed (dpy=0x85b8b80, error_message=0xbfc8fc28 "X protocol error: BadValue (integer parameter out of range for operation) on protocol request 77") at xterm.c:7786 dpyinfo = frame = tail = #1 0x080cceea in x_error_quitter (display=0x85b8b80, error=0xbfc8fedc) at xterm.c:7968 buf = "BadValue (integer parameter out of range for operation)", '\0' buf1 = "X protocol error: BadValue (integer parameter out of range for operation) on protocol request 77\000\240Z\b\t\000\000\000\244E_\b\000\000\000\000x\244Z\bH\000\000\000P\000\000\000\340\306\205\b\024\273m\b\350\254\302\267\200\262q\bhk_\b\330\374\310\277$\036\274\267L\000\000\000\200\262q\b\000\000\000\000|\315\371\267|\315\371\267\200\262q\b\b\375\310\277\036\232\315\267\200\262q\b\200\262q\b\000\000\000\000\b\375\310\277"... #2 0x080ccf40 in x_error_handler (display=0x85b8b80, error=0xbfc8fedc) at xterm.c:7924 No locals. #3 0xb79831ef in _XError () from /usr/lib/libX11.so.6 No symbol table info available. #4 0xb7985c77 in _XEventsQueued () from /usr/lib/libX11.so.6 No symbol table info available. #5 0xb7971723 in XPending () from /usr/lib/libX11.so.6 No symbol table info available. #6 0xb7be8cfd in gdk_check_xpending (display=) at /tmp/buildd/gtk+2.0-2.12.1/gdk/x11/gdkevents-x11.c:150 No locals. #7 0xb7be8df1 in gdk_event_prepare (source=0x85c4e60, timeout=0xbfc90818) at /tmp/buildd/gtk+2.0-2.12.1/gdk/x11/gdkevents-x11.c:2308 display = (GdkDisplay *) 0x85b8b80 retval = 0 #8 0xb788ca0f in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #9 0xb788d1c9 in ?? () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #10 0x085c4ea8 in ?? () No symbol table info available. #11 0xbfc90878 in ?? () No symbol table info available. #12 0x086700e8 in ?? () No symbol table info available. #13 0xb7928114 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0 No symbol table info available. #14 0xb788dbba in g_main_context_pending () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #15 0xb7d72231 in IA__gtk_events_pending () at /tmp/buildd/gtk+2.0-2.12.1/gtk/gtkmain.c:1224 result = #16 0x080ccc97 in XTread_socket (terminal=0x0, expected=1, hold_quit=0xbfc90bd4) at xterm.c:7177 inev = { kind = TIMER_EVENT, code = 590, part = scroll_bar_handle, modifiers = -1077343888, x = -1220863220, y = -1077343956, timestamp = 3086768598, padding = {0xb7bb484b, 0xb7c5bc69}, frame_or_window = 143086296, arg = -1218383532 } count = 0 dpyinfo = (struct x_display_info *) 0x0 #17 0x08100d5c in read_avail_input (expected=1) at keyboard.c:7106 nr = 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 = (struct terminal *) 0x0 nread = 0 err = 0 t = (struct terminal *) 0x85e1b58 #18 0x08100eca in handle_async_input () at keyboard.c:7336 nread = 140217216 #19 0x0810ab50 in input_available_signal (signo=29) at keyboard.c:7378 old_errno = 0 #20 No symbol table info available. #21 0xffffe410 in __kernel_vsyscall () No symbol table info available. #22 0xb74f4ba9 in sigprocmask () from /lib/i686/cmov/libc.so.6 No symbol table info available. #23 0x081124ef in sys_sigunblock (new_mask={__val = {268435456, 0 }}) at sysdep.c:3064 old_mask = { __val = {268435456, 0, 10, 20, 16, 140547080, 140515104, 0, 140514368, 0, 0, 830, 280, 140515104, 140515104, 10, 20, 3217625300, 134632972, 140515104, 0, 140514368, 140514368, 140515104, 140515104, 3217625324, 134633279, 140515104, 3217625488, 3075429505, 3217625744, 3075429653} } #24 0x0811346f in request_sigio () at sysdep.c:1050 No locals. #25 0x0808a5fa in redisplay_internal (preserve_echo_area=) at xdisp.c:11578 tail = w = (struct window *) 0x86015c8 pause = 0 must_finish = 1 tlbufpos = { charpos = 0, bytepos = 0 } number_of_visible_frames = 1 polling_stopped_here = 1 old_frame = 140514372 consider_all_windows_p = 1 #26 0x0810542e in read_char (commandflag=1, nmaps=2, maps=0xbfc91e50, prev_event=137562313, used_mouse_menu=0xbfc91ee8, end_time=0x0) at keyboard.c:2748 keys = 0 key_count = 140514368 key_count_reset = 0 saved_ok_to_echo = (struct kboard *) 0x0 saved_echo_string = 0 c = 137562313 local_getcjmp = {{ __jmpbuf = {137562313, -1077338816, 142905096, 142905100, -1077338840, 135913888}, __mask_was_saved = 137805845, __saved_mask = { __val = {137597689, 1, 3217628480, 142905096, 3217628480, 3217628696, 135640483, 137805845, 137597689, 142905100, 0 } } }} save_jump = {{ __jmpbuf = {0, 137562313, 0, 0, 142905100, 137972916}, __mask_was_saved = 1418, __saved_mask = { __val = {3217628296, 135911338, 0, 1417, 3217628328, 135911549, 0, 1, 0, 142905100, 137972916, 1417, 3217628344, 135911338, 137724945, 1416, 3217628376, 135911549, 1, 1, 137562313, 137597689, 137805840, 137562313, 3217628424, 135913703, 137597689, 137805181, 3217628432, 0, 1, 137805845} } }} key_already_recorded = 0 tem = 2 save = 140514368 previous_echo_area_message = 137562313 also_record = 137562313 reread = 0 polling_stopped_here = orig_kboard = (struct kboard *) 0x85e2eb0 #27 0x08107f03 in read_key_sequence (keybuf=0xbfc91f94, bufsize=30, prompt=137562313, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9455 interrupted_kboard = (KBOARD *) 0x85e2eb0 key = 142256420 used_mouse_menu = 0 echo_local_start = 0 last_real_key_start = 0 keys_local_start = 0 local_first_binding = 0 from_string = 137562313 count = 2 t = 0 echo_start = 0 keys_start = 0 nmaps = 2 nmaps_allocated = 2 defs = (Lisp_Object * volatile) 0xbfc91e30 submaps = (Lisp_Object * volatile) 0xbfc91e50 orig_local_map = 139440181 orig_keymap = 137562313 localized_local_map = 0 first_binding = 0 first_unbound = 31 mock_input = 0 fkey = { parent = 139136605, map = 139136605, start = 0, end = 0 } keytran = { parent = 137554789, map = 137554789, start = 0, end = 0 } indec = { parent = 139136629, map = 139136629, start = 0, end = 0 } delayed_switch_frame = 137562313 original_uppercase = 0 original_uppercase_position = -1 starting_buffer = (struct buffer *) 0x8848f08 fake_prefixed_keys = 137562313 #28 0x08109bc1 in command_loop_1 () at keyboard.c:1684 cmd = lose = nonundocount = 0 keybuf = {192, 48, -1219704624, 134541218, -1472036458, 134541220, 134541222, 0, 0, 1, 994, -1220862992, -1218170208, 134541218, -1219663780, 134522600, 1, -1208119308, -1208117216, 0, -1077338120, -1077338272, 0, -1077346304, 137562313, 138189817, 0, 137912576, 137912560, -1077338088} i = prev_modiff = 4 prev_buffer = (struct buffer *) 0x8338540 already_adjusted = 0 #29 0x08160a50 in internal_condition_case (bfun=0x8109a20 , handlers=137619713, hfun=0x81042d0 ) at eval.c:1493 val = c = { tag = 137562313, val = 137562313, next = 0xbfc92140, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 137912576, 137912560, -1077337848, -2042609535, 940844014}, __mask_was_saved = 0, __saved_mask = { __val = {0, 135579367, 3217629540, 139627776, 12, 12, 3217629540, 4294967295, 3217629352, 135580272, 3217629540, 12, 3217629340, 3217629336, 134542086, 514, 12, 12, 3217629540, 0, 3217629384, 135580334, 3217629540, 12, 3075283564, 3076797088, 800, 110932256, 3086847988, 134522600, 3086849640, 3217629456} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 137619713, var = 137562313, chosen_clause = 136037944, tag = 0xbfc9202c, next = 0x0 } #30 0x08103753 in command_loop_2 () at keyboard.c:1396 val = 0 #31 0x08160b2a in internal_catch (tag=137611273, func=0x8103730 , arg=137562313) at eval.c:1229 c = { tag = 137611273, val = 137562313, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 137912576, 137912560, -1077337592, -2042470271, 940981230}, __mask_was_saved = 0, __saved_mask = { __val = {909653549, 0 , 540091136, 542133587, 543781446, 543651137, 807416115, 875706928, 137748336, 137748338, 137746960, 3217629688, 135605960, 137746961, 137748338, 137562313, 137594176, 137562337, 2, 13880} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #32 0x08104137 in command_loop () at keyboard.c:1375 No locals. #33 0x0810449b in recursive_edit_1 () at keyboard.c:984 val = #34 0x081045d1 in Frecursive_edit () at keyboard.c:1046 buffer = 137562313 #35 0x080f9dd0 in main (argc=15, argv=0xbfc92614) at emacs.c:1777 tz = 0xbfc92efb "UTC" dummy = -1077336728 stack_bottom_variable = 8 '\b' do_initial_setlocale = 1 skip_args = 0 rlim = { rlim_cur = 8388608, rlim_max = 18446744073709551615 } no_loadup = 0 junk = 0x0 (gdb) Yesterday's GNU Emacs CVS snapshot, Mon, 2007 Nov 19 15:42 UTC GNU Emacs 23.0.50.6 (i686-pc-linux-gnu, GTK+ Version 2.12.1) started in a debugger with set args -i -q \ --eval '(emacs-version t)' -bg DodgerBlue4 -fg white \ -fn '-Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO8859-1' \ -geometry 80x44+660+51 -name '-q GNU Emacs in Debugger 4' and using the foo.mail test file I sent earlier. -- Robert J. Chassell GnuPG Key ID: 004B4AC8 bob@rattlesnake.com bob@gnu.org http://www.rattlesnake.com http://www.teak.cc