Re: Help on JVM hang

Joseph Shraibman <[email protected]> Wed, 07 Jul 2004 12:46:54 -0400
Newsgroups gmane.comp.java.linux.general
Message-ID <[email protected]>
Hui Huang wrote:
> Is this on Redhat 9? If so, try this:
> 
> + find out java process id
> + use gdb to attach to the process (gdb - <pid>)
> + quit gdb

The problem just happened again and indeed that trick worked (strace 
didn't, I think because it doesn't trace all threads, just the one it 
connects to).  I attached gdb and waited a while, but the threads didn't 
restart until I quit gdb.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]