Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 215244

Summary: dev-java/sun-jdk-1.6.0.03 crashes with SIGBUS if /tmp (tmpfs) is full
Product: Gentoo Linux Reporter: Christoph Lange <langec>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED UPSTREAM    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christoph Lange 2008-03-28 20:23:02 UTC
/usr/bin/java (running sun-jdk-1.6.0.03) crashes with SIGBUS if /tmp is full


Reproducible: Always

Steps to Reproduce:
1. Mount a tmpfs on /tmp:
$ mount
none on /tmp type tmpfs (rw,relatime,size=32m)
2. Fill /tmp entirely (e.g. with dd if=/dev/zero of=/tmp/file
3. Run "java"

Actual Results:  
$ java
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0x00002aaaf94e8e30, pid=24228, tid=1076017488
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_03-b05 mixed mode)
# Problematic frame:
# [1]    24228 segmentation fault  java
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2008-03-28 21:10:18 UTC
(In reply to comment #0)
> /usr/bin/java (running sun-jdk-1.6.0.03) crashes with SIGBUS if /tmp is full
> 

I wouldn't expect it to work either so I don't 100% understand what would you want it to do instead. But any way this is an upstream issue. You should report it to Sun via bugs.sun.com if you think there is something they can improve.