JVM crashes with SIGBUS on systems without swapping and when no space is left in temp dir (/tmp for example).
JVM should handle the case when /tmp is full more gracefully and/or report a reasonable error rather than crashing.
1. Fill temporary directory (xxxM):
# cd /tmp
# dd if=/dev/zero of=filexxxM.tmp bs=xxxM count=1
2. Run Java (crashes):
# java -version
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x00002ba4c02743cb, pid=32329, tid=1088387392
#
# JRE version: 6.0_17-b04
# Java VM: Java HotSpot(TM) 64-Bit Server VM (14.3-b01 mixed mode linux-amd64 )
# Problematic frame:
# C [libc.so.6+0x7b3cb] memset+0xa5b
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid32329.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted