openjdk6 crashes

Achilleas Mantzios achill at matrix.gatewaynet.com
Mon May 10 09:46:26 UTC 2010


Στις Saturday 08 May 2010 00:21:02 ο/η Peter Palmreuther έγραψε:

> 
> *erm* Maybe. For fixed conditions (which are seldom in my experience). Most
> times I've seen systems crashing here and there with no fixed script or
> program if hardware dies. Simply because it's not deterministic what
> temperature the system will have and what program will be at which memory
> address. The only fixed crashing point can be the hard disk, which I think I
> can exclude due to the recompilation and therefore "relocation" on disk (i.e.
> different inodes being used).

it has happened to me with my home FreeBSD box, crashing every morning at 03:00,
after a system upgrade (i think it was from 6.2->7.1).
The easy answer was to accuse the software (upgrade), however what was most probably happening
was that the system upgrade made a previously hidden hardware problem to appear.
The system did not came back to stability, untill i replaced the motherboard.
(after having tried changing the usual suspect RAM)

The program causing the panic was periodic daily.
For some reason, the same script on the same hardware with the previous 6.2 kernel was working ok.

> 
> And to come to an end: if I see a program written in C++ (like OpenJDK/JVM)
> constantly fails on an assertion (like in my case: 'Error: assert(sp() >=
> inputs,"must have enough JVMS stack to execute")') I expect the assertion to
> not match first and think about corrupt memory a few hundred positions later
> on the "check list". That's at least what assertions are for: make the program
> fail if something is recognizable wrong. If every "assert fail" would be a
> memory defect unless 100% proven not to be that would render assertions
> useless, wouldn't it?
> 
> But thanks for your help and input; Maybe somebody else has any idea about why
> "sp()" is less than "input" when compiling (hotspot compiling?) this special
> class in OpenJDK?!?

Anyway
Have your tried 
- native jdk 
- the binary diablo 
- the linux jdk with linuxolator

??

-- 
Achilleas Mantzios


More information about the freebsd-java mailing list