JDK-6760316 : JVM crashes on systems without swapping and no space left in temp dir
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs14
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2008-10-16
  • Updated: 2011-01-10
  • Resolved: 2009-01-15
Related Reports
Duplicate :  
Relates :  
Relates :  
JVM crashes with SIGBUS on systems without swapping and when no space is left in temp dir (/tmp for example).

> java -version
# An unexpected error has been detected by Java Runtime Environment:
#  SIGBUS (0x7) at pc=0x400c97fc, pid=5195, tid=1084716176
# Java VM: Java HotSpot(TM) Client VM (11.0-b14 mixed mode, sharing linux-xxx)
# Problematic frame:
# C  [libc.so.6+0x6c7fc]  memset+0x2c
Segmentation fault

EVALUATION this is actually a duplicate of 7007769 which is fixed.

SUGGESTED FIX Looks like during the startup of the VM there is no check for out of space. Would be good to check and report a reasonable error rather than crashing.