This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug AWT/17254] [java-gui-branch] Hang when resizing AWT window on Alpha


------- Additional Comments From falk at debian dot org  2004-09-01 15:36 -------
(In reply to comment #9)
> So, it does hang under GDB, but doesn't throw the exception?

Yes. But it also sometimes hangs without throwing when not running under gdb.

> The stack trace you gave is that of the finalizer thread, which probably isn't
> interesting here. Try using the "info threads" and "thread n" commands to switch
> to the other threads and get traces of those.

Okay:

(gdb) info threads
  5 Thread 49156 (LWP 9206)  0x000002000125960c in __pthread_sigsuspend ()
   from /lib/ev67/libpthread.so.0
  4 Thread 32771 (LWP 9205)  0x000002000125960c in __pthread_sigsuspend ()
   from /lib/ev67/libpthread.so.0
* 3 Thread 16386 (LWP 9204)  0x000002000125960c in __pthread_sigsuspend ()
   from /lib/ev67/libpthread.so.0
  2 Thread 32769 (LWP 9203)  0x00000200013fe340 in __poll () from
/lib/ev67/libc.so.6.1
  1 Thread 16384 (LWP 9200)  0x000002000125960c in __pthread_sigsuspend ()
   from /lib/ev67/libpthread.so.0
(gdb) thread 1
[Switching to thread 1 (Thread 16384 (LWP 9200))]#0  0x000002000125960c in
__pthread_sigsuspend ()
   from /lib/ev67/libpthread.so.0
(gdb) bt
#0  0x000002000125960c in __pthread_sigsuspend () from /lib/ev67/libpthread.so.0
#1  0x0000020001258efc in __pthread_wait_for_restart_signal () from
/lib/ev67/libpthread.so.0
#2  0x000002000125535c in pthread_cond_wait@GLIBC_2.0 () from
/lib/ev67/libpthread.so.0
#3  0x0000020000ed1d58 in _Jv_ThreadWait () at ../../../libjava/posix-threads.cc:440
#4  0x0000020000cb78b0 in _Jv_RunMain (klass=Variable "klass" is not available.
) at ../../../libjava/prims.cc:1069
#5  0x0000020000cb799c in JvRunMain (klass=Variable "klass" is not available.
) at ../../../libjava/prims.cc:1078
#6  0x0000000120020b3c in main (argc=1, argv=0x11ffff828) at /tmp/ccmxAzTx.i:11
(gdb) thread 2
[Switching to thread 2 (Thread 32769 (LWP 9203))]#0  0x00000200013fe340 in __poll ()
   from /lib/ev67/libc.so.6.1
(gdb) bt
#0  0x00000200013fe340 in __poll () from /lib/ev67/libc.so.6.1
#1  0x00000200012562a4 in __pthread_manager () from /lib/ev67/libpthread.so.0
#2  0x0000020001256494 in __pthread_manager_event () from /lib/ev67/libpthread.so.0
#3  0x0000020001409e0c in thread_start () at
../sysdeps/unix/sysv/linux/alpha/clone.S:101
(gdb) thread 4
[Switching to thread 4 (Thread 32771 (LWP 9205))]#0  0x000002000125960c in
__pthread_sigsuspend ()
   from /lib/ev67/libpthread.so.0
(gdb) bt
#0  0x000002000125960c in __pthread_sigsuspend () from /lib/ev67/libpthread.so.0
#1  0x0000020001258efc in __pthread_wait_for_restart_signal () from
/lib/ev67/libpthread.so.0
#2  0x000002000125535c in pthread_cond_wait@GLIBC_2.0 () from
/lib/ev67/libpthread.so.0
#3  0x0000020000ed1398 in _Jv_CondWait (cv=Variable "cv" is not available.
) at ../../../libjava/posix-threads.cc:146
#4  0x0000020000cf5a6c in java::lang::Object::wait (this=Variable "this" is not
available.
)
    at ../../../libjava/java/lang/natObject.cc:1311
#5  0x0000020000d05c70 in java.lang.Object.wait() (this=Variable "this" is not
available.
)
    at ../../../libjava/java/lang/Object.java:84
#6  0x00000200001db1c4 in java.awt.EventQueue.getNextEvent() (this=Variable
"this" is not available.
)
    at ../../../libjava/java/awt/EventQueue.java:98
#7  0x00000200001daec0 in java.awt.EventDispatchThread.run() (this=Variable
"this" is not available.
)
    at ../../../libjava/java/awt/EventDispatchThread.java:64
#8  0x0000020000cfbf2c in _Jv_ThreadRun (thread=Variable "thread" is not available.
) at ../../../libjava/java/lang/natThread.cc:281
#9  0x0000020000ed1a5c in really_start (x=Variable "x" is not available.
) at ../../../libjava/posix-threads.cc:380
#10 0x0000020000ee7f1c in GC_start_routine (arg=Variable "arg" is not available.
) at ../../../boehm-gc/pthread_support.c:1180
#11 0x0000020001256f40 in pthread_start_thread () from /lib/ev67/libpthread.so.0
#12 0x0000020001256fe4 in pthread_start_thread_event () from
/lib/ev67/libpthread.so.0
#13 0x0000020001409e0c in thread_start () at
../sysdeps/unix/sysv/linux/alpha/clone.S:101
(gdb) thread 5
[Switching to thread 5 (Thread 49156 (LWP 9206))]#0  0x000002000125960c in
__pthread_sigsuspend ()
   from /lib/ev67/libpthread.so.0
(gdb) bt
#0  0x000002000125960c in __pthread_sigsuspend () from /lib/ev67/libpthread.so.0
#1  0x0000020001258efc in __pthread_wait_for_restart_signal () from
/lib/ev67/libpthread.so.0
#2  0x000002000125535c in pthread_cond_wait@GLIBC_2.0 () from
/lib/ev67/libpthread.so.0
#3  0x0000020000ed1398 in _Jv_CondWait (cv=Variable "cv" is not available.
) at ../../../libjava/posix-threads.cc:146
#4  0x0000020000cf52a0 in _Jv_MonitorEnter (obj=Variable "obj" is not available.
) at ../../../libjava/java/lang/natObject.cc:928
#5  0x00000200001c259c in
java.awt.BorderLayout.layoutContainer(java.awt.Container) (this=Variable "this"
is not available.
)
    at ../../../libjava/java/awt/BorderLayout.java:531
#6  0x00000200001d5cc4 in java.awt.Container.layout() (this=Variable "this" is
not available.
)
    at ../../../libjava/java/awt/Container.java:501
#7  0x00000200001d5c5c in java.awt.Container.doLayout() (this=Variable "this" is
not available.
)
    at ../../../libjava/java/awt/Container.java:490
#8  0x00000200001d5f40 in java.awt.Container.validateTree() (this=Variable
"this" is not available.
)
    at ../../../libjava/java/awt/Container.java:557
#9  0x00000200001d5d88 in java.awt.Container.validate() (this=Variable "this" is
not available.
)
    at ../../../libjava/java/awt/Container.java:522
#10 0x000002000191fde4 in
gnu.java.awt.peer.gtk.GtkFramePeer.postConfigureEvent(int, int, int, int)
(this=Variable "this" is not available.
) at ../../../libjava/gnu/java/awt/peer/gtk/GtkFramePeer.java:215
#11 0x0000020000eea158 in ffi_call_osf () at ../../../libffi/src/alpha/osf.S:80
#12 0x0000020000ee9da0 in ffi_call (cif=Variable "cif" is not available.
) at ../../../libffi/src/alpha/ffi.c:144
#13 0x0000020000d01308 in _Jv_CallAnyMethodA (obj=Variable "obj" is not available.
)
    at ../../../libjava/java/lang/reflect/natMethod.cc:497
#14 0x0000020000cc21c0 in _Jv_JNI_CallAnyVoidMethodV< normal> (env=Variable
"env" is not available.
)
    at ../../../libjava/jni.cc:898
#15 0x0000020000cc22e4 in _Jv_JNI_CallVoidMethod (env=Variable "env" is not
available.
) at ../../../libjava/jni.cc:1007
#16 0x0000020001939260 in pre_event_handler (widget=Variable "widget" is not
available.
)
    at ../../../libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:1002
#17 0x0000020001af73ac in _gtk_marshal_BOOLEAN__BOXED () from
/usr/lib/libgtk-x11-2.0.so.0
#18 0x0000020001f07b7c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0x0000020001f21d9c in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#20 0x0000020001f20670 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#21 0x0000020001f20d70 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#22 0x0000020001c383c8 in gtk_widget_send_expose () from
/usr/lib/libgtk-x11-2.0.so.0
#23 0x0000020001af37f0 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x0000020001938a68 in awt_event_handler (event=Variable "event" is not
available.
)
    at ../../../libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:818
#25 0x0000020001daefcc in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#26 0x0000020001fb1518 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#27 0x0000020001fb2cb8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x0000020001fb311c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x0000020001fb3b34 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#30 0x0000020001af2cc0 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x000002000193e584 in Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkMain
(env=Variable "env" is not available.
)
    at ../../../libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:248
#32 0x0000020001923f28 in gnu.java.awt.peer.gtk.GtkMainThread.gtkMain()
(this=Variable "this" is not available.
)
    at ../../../libjava/gnu/java/awt/peer/gtk/GtkMainThread.java:58
#33 0x0000020001924254 in gnu.java.awt.peer.gtk.GtkMainThread.run()
(this=Variable "this" is not available.
)
    at ../../../libjava/gnu/java/awt/peer/gtk/GtkMainThread.java:106
#34 0x0000020000d1d918 in java.lang.Thread.run() (this=Variable "this" is not
available.
)
    at ../../../libjava/java/lang/Thread.java:649
#35 0x0000020000cfbf2c in _Jv_ThreadRun (thread=Variable "thread" is not available.
) at ../../../libjava/java/lang/natThread.cc:281
#36 0x0000020000ed1a5c in really_start (x=Variable "x" is not available.
) at ../../../libjava/posix-threads.cc:380
#37 0x0000020000ee7f1c in GC_start_routine (arg=Variable "arg" is not available.
) at ../../../boehm-gc/pthread_support.c:1180
#38 0x0000020001256f40 in pthread_start_thread () from /lib/ev67/libpthread.so.0
#39 0x0000020001256fe4 in pthread_start_thread_event () from
/lib/ev67/libpthread.so.0
#40 0x0000020001409e0c in thread_start () at
../sysdeps/unix/sysv/linux/alpha/clone.S:101
(gdb) 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17254


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]