• Post Reply Bookmark Topic Watch Topic
  • New Topic

why core dump????  RSS feed

 
Harish Kashyap
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i have a querry in my mind.
in what circumstances on Linux/Unix platform a java program dumps a core file and terminates without logging any exception at all.
is it related to some memory leaks ....?
or is it related to some threading operation....?
what are possible circumstances....??
thanx
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only time that happens is when you encounter a bug in the VM. That's pretty rare. In fact, on Windows I've never seen a JVM core dump. I've seen it freeze many times, but never crash.
 
Thomas Smets
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is pretty rare !
I would advise you to make sure you trap the RunTimeException too & you will see that the problem may not bewhat you think.
I have personnally never had that and only heard of it once ...
 
RAVI Kollepara
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This core dump is because of memory leakages. When ever u are referencing a pointer out of scope jvm will crash. That time this core dump will happen in linux or solaris.
As of my knowledge this is observed when i did coding with my project. A swing application is a front end and a C is backend. I am referring this C structures through JNI. It used to happen whenever i refer a wrong structure. Since C is native code.
Thanx
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!