From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: Reproducible crashes: dropping an URL (was: SEGV in x_catch_errors_unwind (x86_64-unknown-linux-gnu)) Date: Fri, 17 Feb 2006 16:20:18 +0100 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140243437 15261 80.91.229.2 (18 Feb 2006 06:17:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Feb 2006 06:17:17 +0000 (UTC) Cc: Nick Roberts , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 18 07:17:15 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FALP7-0002d9-UR for ged-emacs-devel@m.gmane.org; Sat, 18 Feb 2006 07:17:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FALP7-0001So-7b for ged-emacs-devel@m.gmane.org; Sat, 18 Feb 2006 01:17:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FACTs-0001do-PI for emacs-devel@gnu.org; Fri, 17 Feb 2006 15:45:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FAC7K-0005cn-Oe for emacs-devel@gnu.org; Fri, 17 Feb 2006 15:22:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FA7PC-0002Zw-Vx for emacs-devel@gnu.org; Fri, 17 Feb 2006 10:20:23 -0500 Original-Received: from [134.60.1.1] (helo=mail.uni-ulm.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FA7Ua-0001zH-0P for emacs-devel@gnu.org; Fri, 17 Feb 2006 10:25:56 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.4/8.13.4) with ESMTP id k1HFKI7T007849; Fri, 17 Feb 2006 16:20:18 +0100 (MET) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id 7104C11259; Fri, 17 Feb 2006 16:20:18 +0100 (CET) Original-To: Stefan Monnier In-Reply-To: (Reiner Steib's message of "Fri, 17 Feb 2006 15:27:36 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-DCC-WEiAPG-Metrics: gemini 1072; Body=3 Fuz1=3 Fuz2=3 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:50682 Archived-At: On Fri, Feb 17 2006, Reiner Steib wrote: > I updated and recompiled with ENABLE_CHECKING some days ago. Now I > got another crash: [...] > If I can provide more information, please tell me which gdb commands I > should use. I found out a recipe to reproduce the crash with a current trunk build on both, x86_64 and i586: - Start with `-Q' - Open www.gnu.org in Firefox. - Drag/drop any URL into Emacs' scratch buffer, e.g. "GNU Project". => crash. (My 2006-01-27 built doesn't crash here.) Nick, does this recipe crash your Emacs too? Often `bt full' and `xbacktrace' didn't provide much output, if any. Here is a gdb session on x86_64 with a quite verbose backtrace: --8<---------------cut here---------------start------------->8--- GNU gdb 6.2.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-suse-linux"...Using host libthread_db library "/lib64/tls/libthread_db.so.1". DISPLAY = :0.0 TERM = screen Breakpoint 1 at 0x52f910: file [...]/emacs/src/emacs.c, line 463. Breakpoint 2 at 0x558db0: file [...]/emacs/src/sysdep.c, line 1373. (gdb) r -Q Starting program: [...]/x86_64/src/emacs -Q [Thread debugging using libthread_db enabled] [New Thread 182940272320 (LWP 29178)] [Switching to Thread 182940272320 (LWP 29178)] Breakpoint 3 at 0x4fc280: file [...]/emacs/src/xterm.c, line 7814. Emacs fatal error: [...]/emacs/src/alloc.c:3212: assertion failed: !handling_signal Breakpoint 1, abort () at [...]/emacs/src/emacs.c:463 463 { (gdb) bt #0 abort () at [...]/emacs/src/emacs.c:463 #1 0x00000000005a2304 in die (msg=Variable "msg" is not available. ) at [...]/emacs/src/alloc.c:6193 #2 0x00000000005a6334 in Fmake_symbol (name=16370227) at [...]/emacs/src/alloc.c:3236 #3 0x00000000005e6764 in Fintern (string=16370227, obarray=10809332) at [...]/emacs/src/lread.c:3218 #4 0x0000000000510cfb in x_atom_to_symbol (dpy=0xf63e40, atom=Variable "atom" is not available. ) at [...]/emacs/src/xselect.c:383 #5 0x00000000005113de in x_handle_dnd_message (f=0x10119c0, event=0x7fbfffadc0, dpyinfo=Variable "dpyinfo" is not available. ) at [...]/emacs/src/xselect.c:2718 #6 0x0000000000500dfe in handle_one_xevent (dpyinfo=0xf99b10, eventp=0x7fbfffb430, finish=0x9e67d4, hold_quit=0x7fbfffc7b0) at [...]/emacs/src/xterm.c:5846 #7 0x0000000000502fbc in event_handler_gdk (gxev=Variable "gxev" is not available. ) at [...]/emacs/src/xterm.c:5627 #8 0x0000002a95aa02b5 in gdk_event_apply_filters () from /opt/gnome/lib64/libgdk-x11-2.0.so.0 #9 0x0000002a95aa1bf8 in gdk_event_translate () from /opt/gnome/lib64/libgdk-x11-2.0.so.0 #10 0x0000002a95aa3041 in _gdk_events_queue () from /opt/gnome/lib64/libgdk-x11-2.0.so.0 #11 0x0000002a95aa33fc in gdk_event_dispatch () from /opt/gnome/lib64/libgdk-x11-2.0.so.0 #12 0x0000002a96623025 in g_main_context_dispatch () from /opt/gnome/lib64/libglib-2.0.so.0 #13 0x0000002a96625669 in g_main_context_iterate () from /opt/gnome/lib64/libglib-2.0.so.0 #14 0x0000002a96625763 in g_main_context_iteration () from /opt/gnome/lib64/libglib-2.0.so.0 #15 0x0000002a9577e66f in gtk_main_iteration () from /opt/gnome/lib64/libgtk-x11-2.0.so.0 #16 0x00000000004fc0ff in XTread_socket (sd=Variable "sd" is not available. ) at [...]/emacs/src/xterm.c:7057 #17 0x000000000053abc6 in read_avail_input (expected=1) at [...]/emacs/src/keyboard.c:6720 #18 0x000000000053ad6a in handle_async_input () at [...]/emacs/src/keyboard.c:6863 #19 0x000000000053ae22 in input_available_signal (signo=29) at [...]/emacs/src/keyboard.c:6905 #20 #21 0x0000002a974a42a5 in __select_nocancel () from /lib64/tls/libc.so.6 #22 0x000000000060b1fe in wait_reading_process_output (time_limit=0, microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=10808305, wait_proc=0x0, just_wait_proc=0) at [...]/emacs/src/process.c:4490 #23 0x0000000000542bd6 in read_char (commandflag=1, nmaps=2, maps=0x7fbfffd4e0, prev_event=10808305, used_mouse_menu=0x7fbfffd554) at [...]/emacs/src/keyboard.c:3940 #24 0x0000000000546e3b in read_key_sequence (keybuf=0x7fbfffd6f0, bufsize=30, prompt=10808305, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at [...]/emacs/src/keyboard.c:8874 #25 0x000000000054a672 in command_loop_1 () at [...]/emacs/src/keyboard.c:1536 #26 0x00000000005c3581 in internal_condition_case ( bfun=0x54a3b0 , handlers=10901729, hfun=0x540ed0 ) at [...]/emacs/src/eval.c:1465 #27 0x000000000053fcfa in command_loop_2 () at [...]/emacs/src/keyboard.c:1328 #28 0x00000000005c36d0 in internal_catch (tag=Variable "tag" is not available. ) at [...]/emacs/src/eval.c:1211 #29 0x00000000005408f8 in command_loop () at [...]/emacs/src/keyboard.c:1307 #30 0x0000000000540991 in recursive_edit_1 () at [...]/emacs/src/keyboard.c:1000 #31 0x0000000000540b30 in Frecursive_edit () at [...]/emacs/src/keyboard.c:1061 #32 0x0000000000530756 in main (argc=2, argv=0x7fbfffdf78) at [...]/emacs/src/emacs.c:1789 (gdb) xbacktrace (gdb) (gdb) p x_error_message $1 = (struct x_error_message_stack *) 0x0 --8<---------------cut here---------------end--------------->8--- Here's is a gdb session on i586: --8<---------------cut here---------------start------------->8--- GNU gdb 6.2.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". DISPLAY = localhost:13.0 TERM = screen Breakpoint 1 at 0x81612a6: file [...]/emacs/src/emacs.c, line 464. Breakpoint 2 at 0x8187b19: file [...]/emacs/src/sysdep.c, line 1393. (gdb) r -Q Starting program: [...]/i686/src/emacs -Q [Thread debugging using libthread_db enabled] [New Thread 1083362592 (LWP 28407)] [Switching to Thread 1083362592 (LWP 28407)] Breakpoint 3 at 0x812fdfc: file [...]/emacs/src/xterm.c, line 7820. Emacs fatal error: [...]/emacs/src/alloc.c:3212: assertion failed: !handling_signal Breakpoint 1, abort () at [...]/emacs/src/emacs.c:464 464 kill (getpid (), SIGABRT); (gdb) bt full #0 abort () at [...]/emacs/src/emacs.c:464 No locals. #1 0x081cdb1b in die (msg=0x82a9e00 "assertion failed: !handling_signal", file=0x82a9614 "[...]/emacs/src/alloc.c", line=3212) at [...]/emacs/src/alloc.c:6193 No locals. #2 0x081d15d5 in Fmake_symbol (name=146264523) at [...]/emacs/src/alloc.c:3236 val = Variable "val" is not available. (gdb) xbacktrace (gdb) p x_error_message $1 = (struct x_error_message_stack *) 0x0 (gdb) --8<---------------cut here---------------end--------------->8--- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/