File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Threads and Synchronization and the fly likes Thread hung  executing start() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Thread hung  executing start()" Watch "Thread hung  executing start()" New topic

Thread hung executing start()

Angelo Primavera

Joined: Sep 23, 2003
Posts: 3
Hi all,
I have a strange and really not understandable (for me!) problem with threads.
My application periodically executes threads to perform some actions (transfer file, building report etc...).
The strange behaviour is that in some circumstances (but I really can define them) the [i]start[/i+] method of
thread object hangs . Analysing code and trace logs it doesn't seem to be a code deadlock.
My impression is that the execution is locked in correspondence of the native call to create a new thread (call to thread_new in the thread dump).
My configuration is:
OS: Tru64 rel 5.1b
JDK 1.3.1_06
Can anyone suggest me the possible causes of that behaviour?
Thanks in advance for your help,
Next is the thread dump obtained using kill -3:
Angelo Primavera

Joined: Sep 23, 2003
Posts: 3
I forgot another detail. When I triy to kill the process, java writes a core dump. Next I pasted the output:
I agree. Here's the link:
subject: Thread hung executing start()
jQuery in Action, 3rd edition