• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Thread hung executing start()

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I forgot another detail. When I triy to kill the process, java writes a core dump. Next I pasted the output:
 
Willie Smits increased rainfall 25% in three years by planting trees. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic