꿈소년의 개발 이야기

Java SIGBUS Error.. 본문

Software Engineering

Java SIGBUS Error..

꿈소년 2012. 5. 15. 15:12
반응형

출처 : http://efod.se/blog/archive/2011/05/02/java-sigbus


자바 사용하다가 나타난 문제. 

임시 폴더가 꽉차서 그렇다나?? ..;;

한참 있다가 다시 해보니 괜찮아지던데 정말 이거였나 보군.


Java SIGBUS - an unclear way of saying /tmp is full

Published: 2011-05-02 19:27 UTC. Tags: linux java

I had the following happen for every new java process on one of my servers the other day:

server:~$ java
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0x00007f3e0c5aad9b, pid=17280, tid=139904457242368
#
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libc.so.6+0x7ed9b]  memset+0xa5b
#
# An error report file with more information is saved as:
# /home/user/hs_err_pid17280.log
Segmentation fault

Turns out this is Java's way of telling you that the /tmp directory is full. It's trying to mmap some performance/hotspot-related file in /tmp which succeeds, but when it's trying to access this area, it will get the SIGBUS signal.