[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gtk/thread crash?
From: |
Simon Josefsson |
Subject: |
gtk/thread crash? |
Date: |
Tue, 21 Dec 2004 18:31:28 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
I got a crash with backtrace below. The interesting thing is that the
code reads:
if (input_available_clear_time)
EMACS_SET_SECS_USECS (*input_available_clear_time, 0, 0);
So if input_available_clear_time was NULL on the second line,
something must have changed it asynchronously. Another thread, maybe?
This is with a build from a clean CVS checkout only a day or so ago.
Thanks.
(gdb) r
Starting program: /home/jas/bin/emacs -geometry 80x40+0+0
[Thread debugging using libthread_db enabled]
[New Thread 1083293056 (LWP 18981)]
(emacs:18981): GLib-GObject-WARNING **: invalid unclassed pointer in cast to
`GtkMenuItem'
(emacs:18981): GLib-GObject-WARNING **: invalid unclassed pointer in cast to
`GtkBin'
(emacs:18981): Gtk-CRITICAL **: file gtkbin.c: line 181 (gtk_bin_get_child):
assertion `GTK_IS_BIN (bin)' failed
(emacs:18981): Gtk-CRITICAL **: file gtklabel.c: line 1042
(gtk_label_get_label): assertion `GTK_IS_LABEL (label)' failed
(emacs:18981): GLib-GObject-WARNING **: invalid uninstantiatable type
`<invalid>' in cast to `GtkMenuItem'
(emacs:18981): GLib-GObject-WARNING **: invalid uninstantiatable type
`<invalid>' in cast to `GtkBin'
(emacs:18981): Gtk-CRITICAL **: file gtkbin.c: line 181 (gtk_bin_get_child):
assertion `GTK_IS_BIN (bin)' failed
(emacs:18981): Gtk-CRITICAL **: file gtklabel.c: line 1042
(gtk_label_get_label): assertion `GTK_IS_LABEL (label)' failed
[New Thread 1147050928 (LWP 19461)]
[New Thread 1147579312 (LWP 19467)]
[New Thread 1147919280 (LWP 19468)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1147050928 (LWP 19461)]
0x081505c5 in input_available_signal (signo=29) at keyboard.c:6835
6835 EMACS_SET_SECS_USECS (*input_available_clear_time, 0, 0);
(gdb) bt
#0 0x081505c5 in input_available_signal (signo=29) at keyboard.c:6835
#1 <signal handler called>
#2 0x40799d25 in poll () from /lib/tls/libc.so.6
#3 0x4047db76 in g_main_loop_get_context () from /usr/lib/libglib-2.0.so.0
#4 0x4047cfb0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#5 0x4047d673 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6 0x43191eb2 in link_thread_io_context () from /usr/lib/libORBit-2.so.0
#7 0x40496c8d in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#8 0x404db9b4 in start_thread () from /lib/tls/libpthread.so.0
#9 0x00000000 in ?? ()
(gdb) l
6835 EMACS_SET_SECS_USECS (*input_available_clear_time, 0, 0);
6836
6837 #ifdef SYNC_INPUT
6838 interrupt_input_pending = 1;
6839 #else
6840
6841 SIGNAL_THREAD_CHECK (signo);
6842 handle_async_input ();
6843 #endif
6844
(gdb) p input_available_clear_time,
A syntax error in expression, near `'.
(gdb) p input_available_clear_time
$1 = (struct timeval *) 0x0
(gdb)
- gtk/thread crash?,
Simon Josefsson <=