This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug AWT/17254] [java-gui-branch] Hang when resizing AWT window on Alpha
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Sep 2004 06:51:51 -0000
- Subject: [Bug AWT/17254] [java-gui-branch] Hang when resizing AWT window on Alpha
- References: <20040831212751.17254.falk@debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2004-09-01 06:51 -------
(In reply to comment #7)
> Could you try running this in gdb to get a real stack trace? Put a breakpoint on
> the NegativeArraySizeException constructor (you may have to set the breakpoint
> by line number) - and post the output.
The NegativeArraySizeException occurs only sometimes, in particular it doesn't
seem to appear when I start the program under gdb. If it hangs and I interrupt
it, I get this stack trace:
[...]
lock: ../../../libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c, 146
unlock: ../../../libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c, 158
Program received signal SIGINT, Interrupt.
[Switching to Thread 16386 (LWP 16558)]
0x00000200012638bc in __pthread_sigsuspend () from /lib/libpthread.so.0
(gdb) bt
#0 0x00000200012638bc in __pthread_sigsuspend () from /lib/libpthread.so.0
#1 0x000002000126363c in __pthread_wait_for_restart_signal () from
/lib/libpthread.so.0
#2 0x000002000125f5cc in pthread_cond_wait@GLIBC_2.0 () from /lib/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 0x0000020000d9a6e4 in gnu.gcj.runtime.FinalizerThread.run() (this=Variable
"this" is not available.
)
at ../../../libjava/gnu/gcj/runtime/FinalizerThread.java:62
#7 0x0000020000cfbf2c in _Jv_ThreadRun (thread=Variable "thread" is not available.
) at ../../../libjava/java/lang/natThread.cc:281
#8 0x0000020000ed1a5c in really_start (x=Variable "x" is not available.
) at ../../../libjava/posix-threads.cc:380
#9 0x0000020000ee7f1c in GC_start_routine (arg=Variable "arg" is not available.
) at ../../../boehm-gc/pthread_support.c:1180
#10 0x00000200012608e0 in pthread_start_thread () from /lib/libpthread.so.0
#11 0x0000020001260984 in pthread_start_thread_event () from /lib/libpthread.so.0
#12 0x000002000141987c in clone () from /lib/libc.so.6.1
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17254