[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/23558] JComboBox problems on ctwm
From: |
hendrich at informatik dot uni-hamburg dot de |
Subject: |
[Bug swing/23558] JComboBox problems on ctwm |
Date: |
8 Sep 2005 17:31:44 -0000 |
------- Additional Comments From hendrich at informatik dot uni-hamburg dot de
2005-09-08 17:31 -------
Subject: Re: JComboBox problems on ctwm
> This stack trace definitely makes sense, BTW. My suspicion is that this crash
> is caused by trying to get a window property on a window that was already
> destroyed. So the "window unexpectedly destroyed" errors are causing the
> eventual crash.
>
> I should probably have a check in window_get_new_state for whether or not the
> GDK window is valid. Hopefully when it's destroyed it is set to NULL. That's
> what the debugger should tell you.
> Go up a few frames and print the value of widget->window in
> window_get_new_state.
Here we go:
(gdb) info frame
Stack level 4, frame at 0xbefff3c4:
eip = 0x487c1e8b in window_window_state_cb
(gnu_java_awt_peer_gtk_GtkWindowPeer.c:1722); saved eip 0x488e97fb
called by frame at 0xbefff3f4, caller of frame at 0xbefff334
source language c.
Arglist at 0xbefff3bc, args: widget=0x847bf90, event=0x82a0fbc,
peer=0x404ca140
Locals at 0xbefff3bc, Previous frame's sp is 0xbefff3c4
Saved registers:
ebx at 0xbefff3b0, ebp at 0xbefff3bc, esi at 0xbefff3b4, edi at 0xbefff3b8,
eip at 0xbefff3c0
(gdb) print widget->window
$13 = (GdkWindow *) 0x847d520
(gdb) print widget->parent
$14 = (GtkWidget *) 0x0
(gdb) print widget->allocation
$15 = {x = 0, y = 0, width = 94, height = 36}
(gdb) print widget->object
$16 = {parent_instance = {g_type_instance = {g_class = 0x842aef0},
ref_count = 3, qdata = 0x8193d98}, flags = 2164304}
(gdb) print widget->state
$17 = 0 '\0'
(gdb) print widget->saved_state
$18 = 0 '\0'
(gdb) print widget->private_flags
$19 = 3584
...
(gdb) print peer
$22 = 0x404ca140
(gdb) print event
$23 = (GdkEvent *) 0x82a0fbc
And the corresponding stacktrace for reference:
(gdb) bt
#0 gdk_x_error (display=0x8191e68, error=0xbefff1f4) at gdkmain-x11.c:505
#1 0x48d94b8b in _XError () from /usr/X11R6/lib/libX11.so.6
#2 0x48d92fc6 in _XReply () from /usr/X11R6/lib/libX11.so.6
#3 0x48d79da2 in XGetWindowProperty () from /usr/X11R6/lib/libX11.so.6
#4 0x487c1e8b in window_window_state_cb (widget=0x847bf90, event=0x82a0fbc,
peer=0x404ca140) at gnu_java_awt_peer_gtk_GtkWindowPeer.c:1722
#5 0x488e97fb in _gtk_marshal_BOOLEAN__BOXED (closure=0x847bf90,
return_value=0xbefff4a4, n_param_values=2, param_values=0x82a0fbc,
invocation_hint=0xbefff4cc, marshal_data=0x0) at gtkmarshalers.c:83
#6 0x48ca7d9b in IA__g_closure_invoke (closure=0x8343878,
return_value=0xbefff4a4, n_param_values=2, param_values=0xbefff5d4,
invocation_hint=0xbefff4cc) at gclosure.c:437
#7 0x48cb8870 in signal_emit_unlocked_R (node=0x8428a30, detail=0,
instance=0x847bf90, emission_return=0xbefff564,
instance_and_params=0xbefff5d4) at gsignal.c:2485
#8 0x48cb7d49 in IA__g_signal_emit_valist (instance=0x847bf90, signal_id=0,
detail=0, var_args=0xbefff764 "|÷ÿ¾Ø @\b\214÷ÿ¾M²\234HTÞ¨H|÷ÿ¾")
at gsignal.c:2254
#9 0x48cb819b in IA__g_signal_emit (instance=0x847bf90, signal_id=62,
detail=0) at gsignal.c:2288
#10 0x489cb606 in gtk_widget_event_internal (widget=0x847bf90, event=0x82a0fbc)
at gtkwidget.c:3616
#11 0x488e71fa in IA__gtk_main_do_event (event=0x82a0fbc) at gtkmain.c:1406
#12 0x48acedff in gdk_event_dispatch (source=0xbefff1f4, callback=0,
user_data=0x0) at gdkevents-x11.c:2220
#13 0x48cf9cc1 in g_main_dispatch (context=0x819f240) at gmain.c:1947
#14 0x48cfae09 in IA__g_main_context_dispatch (context=0x819f240)
at gmain.c:2497
#15 0x48cfb192 in g_main_context_iterate (context=0x819f240, block=1,
dispatch=1, self=0x82a0948) at gmain.c:2578
#16 0x48cfb7a0 in IA__g_main_loop_run (loop=0x81e5b38) at gmain.c:2782
#17 0x488e6a6b in IA__gtk_main () at gtkmain.c:963
#18 0x487bf33c in Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkMain (
env=0x8061794, obj=0x401f7a30) at gnu_java_awt_peer_gtk_GtkToolkit.c:331
#19 0x0805d875 in callJNIMethod (env=0x8061794, class=0x401f7a30,
sig=0x8070420 "()V", ret_type=0, ostack=0x81e92ac,
f=0x487bf320 "U\211åS輤þÿ\201Ã\213ê", args=1) at dll_md.c:64
#20 0x0804e931 in callJNIWrapper (class=0x401f7a30, mb=0x816829c,
ostack=0xbefff1f4) at dll.c:325
#21 0x08051856 in executeJava () at interp.c:2236
#22 0x0804f557 in executeMethodVaList (ob=Variable "ob" is not available.
) at execute.c:66
#23 0x0804f5f9 in executeMethodArgs (ob=0xbefff1f4, class=0xbefff1f4,
mb=0xbefff1f4) at execute.c:38
#24 0x0805b251 in threadStart (arg=0x81e69f8) at thread.c:257
#25 0x4002dc60 in pthread_start_thread () from /lib/libpthread.so.0
#26 0x4002dcdf in pthread_start_thread_event () from /lib/libpthread.so.0
#27 0x4018eb77 in clone () from /lib/libc.so.6
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23558
- [Bug swing/23558] JComboBox problems on ctwm, fitzsim at redhat dot com, 2005/09/07
- [Bug swing/23558] JComboBox problems on ctwm, hendrich at informatik dot uni-hamburg dot de, 2005/09/08
- [Bug swing/23558] JComboBox problems on ctwm, fitzsim at redhat dot com, 2005/09/08
- [Bug swing/23558] JComboBox problems on ctwm, fitzsim at redhat dot com, 2005/09/08
- [Bug swing/23558] JComboBox problems on ctwm, fitzsim at redhat dot com, 2005/09/08
- [Bug swing/23558] JComboBox problems on ctwm,
hendrich at informatik dot uni-hamburg dot de <=
- [Bug swing/23558] JComboBox problems on ctwm, fitzsim at redhat dot com, 2005/09/08
- [Bug swing/23558] JComboBox problems on ctwm, fitzsim at redhat dot com, 2005/09/09
- [Bug swing/23558] JComboBox problems on ctwm, cvs-commit at developer dot classpath dot org, 2005/09/09
- [Bug swing/23558] JComboBox problems on ctwm, hendrich at informatik dot uni-hamburg dot de, 2005/09/09
- [Bug swing/23558] JComboBox problems on ctwm, fitzsim at redhat dot com, 2005/09/09
- [Bug swing/23558] JComboBox problems on ctwm, fitzsim at redhat dot com, 2005/09/09
- [Bug swing/23558] JComboBox problems on ctwm, hendrich at informatik dot uni-hamburg dot de, 2005/09/09
- [Bug swing/23558] JComboBox problems on ctwm, hendrich at informatik dot uni-hamburg dot de, 2005/09/09
- [Bug swing/23558] JComboBox problems on ctwm, fitzsim at redhat dot com, 2005/09/09
- [Bug swing/23558] JComboBox problems on ctwm, hendrich at informatik dot uni-hamburg dot de, 2005/09/09