This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "Thread hung  executing start()" Watch "Thread hung  executing start()" New topic
Author

Thread hung executing start()

Angelo Primavera
Greenhorn

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,
Angelo
Next is the thread dump obtained using kill -3:
Angelo Primavera
Greenhorn

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Thread hung executing start()
 
Similar Threads
Thread count increase in weblogic..
BEA Weblogic deployment problem.
Time causes thread count increase.
Struts application. Environment variables Problem it seems!
How to read thread dump