-
1. Re: Segmentation Fault
mazz May 26, 2009 4:25 PM (in response to alegomes)Wow, I've never heard anyone report this problem. I can't say we've seen the server core dump.
What OS, hardware is it running on? What version of Java?
Grab the hs_err_XYZ file that it probably in the bin directory - when Java crashes, it normally dumps that information. Perhaps that can help. -
2. Re: Segmentation Fault
alegomes May 26, 2009 5:11 PM (in response to alegomes)I'm running Mac OS 10.4.11 on PPC and Java build 1.5.0_16-132.
I didn't find any hs_err... file :-(
thanks -
3. Re: Segmentation Fault
mazz May 26, 2009 5:26 PM (in response to alegomes)MacOS on PPC - I can't say any of us has run with that combo. Maybe Heiko or Greg. I suspect its a bug in the VM - getting the hs_err file would help narrow it down (I don' t know why your VM isn't dumping that file - I've seen Java VM crashes and they seem to always dump that file - maybe the VM impl on MacOS/PPC doesn't do this?). Workaround - use another platform :)
-
4. Re: Segmentation Fault
yusuke May 26, 2009 7:50 PM (in response to alegomes)A pure java program can never kill its process with its bugs.
It's always caused by JVM or JNI components' error.
If it's caused by HotSpot VM(the JIT compiler), you may want to switch another version of hotspot to workaround the issue.
You can check the HotSpot version as follows:
$ java -version
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
To switch to HotSpot Server(Client) VM, add -server(-client) option
$ java -server -version
Shared archive: sharing disabled for server vm
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode)
Cheers,
Yusuke -
5. Re: Segmentation Fault
alegomes Jun 3, 2009 2:32 PM (in response to alegomes)Just to register, I solved this issue using -XX:StackShadowPages=20 at startup.
thank you all