emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reproducible gtk crash


From: Simon Josefsson
Subject: Re: Reproducible gtk crash
Date: Sun, 21 Nov 2004 02:33:13 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

I get a different back trace from each crash.  This is fresh CVS
(thanks to Stefan and Luc for making CVS build again) with CFLAGS=-g.
Below is a few runs of emacs under gdb.  It is completely
reproducible.  I suspect some Debian GTK/Gnome package update...

Any ideas?  Thanks.

address@hidden:~/src/emacs/src$ gdb ./emacs
GNU gdb 6.3-debian
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 "i386-linux"...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".

DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x814394c: file emacs.c, line 442.
Breakpoint 2 at 0x8118008: file xterm.c, line 7781.
(gdb) cd ~
Working directory /home/jas.
(gdb) r
Starting program: /home/jas/src/emacs/src/emacs -geometry 80x40+0+0
Detaching after fork from child process 5851.
Detaching after fork from child process 5852.
Detaching after fork from child process 5853.
Detaching after fork from child process 5854.
[Thread debugging using libthread_db enabled]
[New Thread 1083202432 (LWP 5848)]
[New Thread 1106017200 (LWP 5874)]
[New Thread 1106545584 (LWP 5876)]

libgnomevfs-ERROR **: file gnome-vfs-cancellation.c: line 133 
(gnome_vfs_cancellation_cancel): assertion failed: 
(gnome_vfs_is_primary_thread())
aborting...
[Switching to Thread 1106545584 (LWP 5876)]

Breakpoint 1, abort () at emacs.c:442
442       kill (getpid (), SIGABRT);
(gdb) bt
#0  abort () at emacs.c:442
#1  0x40480b57 in g_logv () from /usr/lib/libglib-2.0.so.0
#2  0x40480b94 in g_log () from /usr/lib/libglib-2.0.so.0
#3  0x40c5ce98 in gnome_vfs_cancellation_cancel ()
   from /usr/lib/libgnomevfs-2.so.0
#4  0x40c68c01 in _gnome_vfs_job_module_cancel ()
   from /usr/lib/libgnomevfs-2.so.0
#5  0x40c599d8 in gnome_vfs_async_cancel () from /usr/lib/libgnomevfs-2.so.0
#6  0x40c21b96 in gtk_file_system_gnome_vfs_new ()
   from /usr/lib/gtk-2.0/2.4.0/filesystems/libgnome-vfs.so
#7  0x40c24625 in gtk_file_system_gnome_vfs_new ()
   from /usr/lib/gtk-2.0/2.4.0/filesystems/libgnome-vfs.so
#8  0x4010a06a in gtk_file_folder_list_children ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9  0x400f48a2 in _gtk_file_chooser_entry_get_type ()
   from /usr/lib/libgtk-x11-2.0.so.0
#10 0x404319b7 in g_io_condition_get_type () from /usr/lib/libgobject-2.0.so.0
#11 0x4041bc20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0x40431b9c in g_io_condition_get_type () from /usr/lib/libgobject-2.0.so.0
#13 0x4047af53 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#14 0x40477b92 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#15 0x40478c88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0x40478fc0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x4047922d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x40147725 in gtk_main_iteration () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x08116ce8 in XTread_socket (sd=0, expected=1, hold_quit=0x41f488b4)
    at xterm.c:7073
#20 0x0814f878 in read_avail_input (expected=1) at keyboard.c:6637
#21 0x0814fa6a in handle_async_input () at keyboard.c:6782
#22 0x0814fac3 in reinvoke_input_signal () at keyboard.c:6841
#23 0x081a4057 in emacs_blocked_malloc (size=44) at alloc.c:1031
#24 0x407260bb in malloc () from /lib/tls/libc.so.6
#25 0x0000002c in ?? ()
#26 0x4047e367 in g_malloc () from /usr/lib/libglib-2.0.so.0
Previous frame inner to this frame (corrupt stack?)
(gdb) q
The program is running.  Exit anyway? (y or n) y
address@hidden:~/src/emacs/src$ gdb ./emacs
GNU gdb 6.3-debian
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 "i386-linux"...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".

DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x814394c: file emacs.c, line 442.
Breakpoint 2 at 0x8118008: file xterm.c, line 7781.
(gdb) cd ~
Working directory /home/jas.
(gdb) r
Starting program: /home/jas/src/emacs/src/emacs -geometry 80x40+0+0
Detaching after fork from child process 5885.
Detaching after fork from child process 5888.
Detaching after fork from child process 5889.
Detaching after fork from child process 5890.
[Thread debugging using libthread_db enabled]
[New Thread 1083202432 (LWP 5882)]
[New Thread 1100835760 (LWP 6043)]
[New Thread 1101364144 (LWP 6044)]
[Switching to Thread 1083202432 (LWP 5882)]

Breakpoint 1, abort () at emacs.c:442
442       kill (getpid (), SIGABRT);
(gdb) bt
#0  abort () at emacs.c:442
#1  0x081a4075 in emacs_blocked_malloc (size=8) at alloc.c:1031
#2  0x407267f8 in calloc () from /lib/tls/libc.so.6
#3  0x091da9a8 in ?? ()
#4  0x0000000c in ?? ()
#5  0x404d1398 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0x00000008 in ?? ()
#7  0x091ec740 in ?? ()
#8  0xbfff5c8c in ?? ()
#9  0x4047e3ef in g_malloc0 () from /usr/lib/libglib-2.0.so.0
#10 0x00000000 in ?? ()
#11 0xbfff5d0c in ?? ()
#12 0x40142049 in gtk_list_store_new () from /usr/lib/libgtk-x11-2.0.so.0
Previous frame inner to this frame (corrupt stack?)
(gdb) q
The program is running.  Exit anyway? (y or n) y
address@hidden:~/src/emacs/src$ gdb ./emacs
GNU gdb 6.3-debian
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 "i386-linux"...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".

DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x814394c: file emacs.c, line 442.
Breakpoint 2 at 0x8118008: file xterm.c, line 7781.
(gdb) cd ~
Working directory /home/jas.
(gdb) r
Starting program: /home/jas/src/emacs/src/emacs -geometry 80x40+0+0
Detaching after fork from child process 6184.
Detaching after fork from child process 6185.
Detaching after fork from child process 6190.
Detaching after fork from child process 6372.
[Thread debugging using libthread_db enabled]
[New Thread 1083202432 (LWP 6181)]
[New Thread 1100835760 (LWP 8354)]
[New Thread 1101364144 (LWP 8357)]
[New Thread 1101704112 (LWP 8360)]
[Switching to Thread 1083202432 (LWP 6181)]

Breakpoint 1, abort () at emacs.c:442
442       kill (getpid (), SIGABRT);
(gdb) bt
#0  abort () at emacs.c:442
#1  0x081a4075 in emacs_blocked_malloc (size=8) at alloc.c:1031
#2  0x407260bb in malloc () from /lib/tls/libc.so.6
#3  0x00000008 in ?? ()
#4  0x4047e367 in g_malloc () from /usr/lib/libglib-2.0.so.0
Previous frame inner to this frame (corrupt stack?)
(gdb) up
#1  0x081a4075 in emacs_blocked_malloc (size=8) at alloc.c:1031
1031      UNBLOCK_INPUT;
(gdb) bt full
#0  abort () at emacs.c:442
No locals.
#1  0x081a4075 in emacs_blocked_malloc (size=8) at alloc.c:1031
        value = (void *) 0x91e2ec8
#2  0x407260bb in malloc () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x00000008 in ?? ()
No symbol table info available.
#4  0x4047e367 in g_malloc () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
(gdb) up
#2  0x407260bb in malloc () from /lib/tls/libc.so.6
(gdb) q
The program is running.  Exit anyway? (y or n) y
address@hidden:~/src/emacs/src$ gdb ./emacs
GNU gdb 6.3-debian
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 "i386-linux"...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".

DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x814394c: file emacs.c, line 442.
Breakpoint 2 at 0x8118008: file xterm.c, line 7781.
(gdb) cd ~
Working directory /home/jas.
(gdb) r
Starting program: /home/jas/src/emacs/src/emacs -geometry 80x40+0+0
Detaching after fork from child process 9393.
Detaching after fork from child process 9620.
Detaching after fork from child process 9692.
Detaching after fork from child process 10190.
[Thread debugging using libthread_db enabled]
[New Thread 1083202432 (LWP 9248)]
[New Thread 1100835760 (LWP 13745)]
[New Thread 1101364144 (LWP 13758)]
[New Thread 1101626288 (LWP 13768)]

(emacs:9248): libgnomevfs-CRITICAL **: file gnome-vfs-file-info.c: line 71 
(gnome_vfs_file_info_ref): assertion `info != NULL' failed
[Switching to Thread 1101626288 (LWP 13768)]

Breakpoint 1, abort () at emacs.c:442
442       kill (getpid (), SIGABRT);
(gdb) bt
#0  abort () at emacs.c:442
#1  0x081a4075 in emacs_blocked_malloc (size=112) at alloc.c:1031
#2  0x407267f8 in calloc () from /lib/tls/libc.so.6
#3  0x40dac694 in pthread_mutex_lock () from /lib/tls/libpthread.so.0
#4  0x00164cde in ?? ()
#5  0x404d1398 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0x00000070 in ?? ()
#7  0x00000000 in ?? ()
#8  0x41a979e8 in ?? ()
#9  0x4047e3ef in g_malloc0 () from /usr/lib/libglib-2.0.so.0
Previous frame inner to this frame (corrupt stack?)
(gdb) up
#1  0x081a4075 in emacs_blocked_malloc (size=112) at alloc.c:1031
1031      UNBLOCK_INPUT;
(gdb) up
#2  0x407267f8 in calloc () from /lib/tls/libc.so.6
(gdb) up
#3  0x40dac694 in pthread_mutex_lock () from /lib/tls/libpthread.so.0
(gdb) up
#4  0x00164cde in ?? ()
(gdb) up
#5  0x404d1398 in ?? () from /usr/lib/libglib-2.0.so.0
(gdb) up
#6  0x00000070 in ?? ()
(gdb) q
The program is running.  Exit anyway? (y or n) y




reply via email to

[Prev in Thread] Current Thread [Next in Thread]