This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
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()
It's not a secret anymore!