jQuery in Action, 3rd edition
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Thread hung executing start()
It's not a secret anymore!