We are currently evaluating the consequences of migrating our
application from Java 1.4 to Java 5. While initial tests revealed
only simple issues (like variables called enum
etc.)
we are now seeing a much more severe problem: Random VM crashes.
Currently we only see this on Linux (Kernel 2.4) only, however
even there we cannot reliably reproduce the problem. On a single
machine we have seen two crashes in a week. Notably the
application was not being used, it was just started and waiting
for user input. Some background threads are running in this
situation, however they do not do any work, either. They just
poll some database tables for external changes, but there were
none.
All of a sudden a VM would crash, leaving a
hs_err_pid1234.txt
behind. This is what they look
like (shortened):
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x402989b9, …
[Read more]