VM crashes when safepoint and synchronizing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (safepoint.
# guarantee(PageArmed == 0) failed: invariant
I am running weka in my code. About 50% of the time it crashes the JVM, at the same function: calcMargins(). Here is the function description: http://
What I do in my code is I set up few iterations of inference in the bayes network:
while(iteration < 10){
-mc.calcMargi
-mc.setEviden
-mc.getMargin
}
Usually the JVM crashes at the beginning of second iteration: the calcMargins() function with the above error message.
Detailed error log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (safepoint.
# guarantee(PageArmed == 0) failed: invariant
#
# JRE version: 6.0_24-b24
# Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.11.3
# Distribution: Ubuntu 10.04.1 LTS, package 6b24-1.
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https:/
#
--------------- T H R E A D ---------------
Current thread (0x000000000175
Stack: [0x00007fd736a1
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.
V [libjvm.
V [libjvm.
V [libjvm.
V [libjvm.
V [libjvm.
V [libjvm.
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x00007fd7300
0x00007fd7300
0x00007fd7300
0x00000000017
0x00000000017
0x00000000017
0x00000000016
Other Threads:
=>0x00000000017
0x00007fd7300
VM state:synchronizing (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/
[0x00000000016e
[0x00000000016e
Heap
PSYoungGen total 7792640K, used 6437727K [0x000000061556
eden space 7789440K, 82% used [0x000000061556
from space 3200K, 100% used [0x00000007ffcc
to space 3328K, 0% used [0x00000007ff96
PSOldGen total 13981056K, used 3581867K [0x000000024000
object space 13981056K, 25% used [0x000000024000
PSPermGen total 21248K, used 7715K [0x0000000235a0
object space 21248K, 36% used [0x0000000235a0
Code Cache [0x00007fd73d57
total_blobs=728 nmethods=508 adapters=174 free_code_
Dynamic libraries:
00400000-00409000 r-xp 00000000 08:21 192559 /usr/lib/
00608000-00609000 r--p 00008000 08:21 192559 /usr/lib/
00609000-0060a000 rw-p 00009000 08:21 192559 /usr/lib/
016da000-02e77000 rw-p 00000000 00:00 0 [heap]
VM Arguments:
jvm_args: -Xms20g -Xmx23g
java_command: ChowLiu/
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=
PATH=/usr/
LD_LIBRARY_
SHELL=/bin/bash
Signal Handlers:
SIGSEGV: [libjvm.
SIGBUS: [libjvm.
SIGFPE: [libjvm.
SIGPIPE: [libjvm.
SIGXFSZ: [libjvm.
SIGILL: [libjvm.
SIGUSR1: SIG_DFL, sa_mask[
SIGUSR2: [libjvm.
SIGHUP: [libjvm.
SIGINT: [libjvm.
SIGTERM: [libjvm.
SIGQUIT: [libjvm.
vm_info: OpenJDK 64-Bit Server VM (20.0-b12) for linux-amd64 JRE (1.6.0_24-b24), built on Jun 28 2012 04:42:16 by "buildd" with gcc 4.4.3