roq-messaging / RoQ

RoQ, Elastically scalable MOM
21 stars 4 forks source link

JRE, fatal error #166

Open vanmellebenjamin opened 9 years ago

vanmellebenjamin commented 9 years ago

Sometime when running tests, the JVM crashes. This event occurs randomly, do not occurs for a particular test. The message is the following:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f1ba0797b98, pid=4918, tid=139752220178176

JRE version: OpenJDK Runtime Environment (7.0_75-b13) (build 1.7.0_75-b13) Java VM: OpenJDK 64-Bit Server VM (24.75-b04 mixed mode linux-amd64 compressed oops) Derivative: IcedTea 2.5.4 Distribution: Ubuntu 14.04 LTS, package 7u75-2.5.4-1~trusty1 Problematic frame: C 0x00007f1ba0797b98

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

13:40:03,113 INFO Thread-180 UN-Registration process sucessfull 13:40:03,113 INFO Thread-180 Closing the client & global config sockets. An error report file with more information is saved as: /home/benjamin/Roq/RoQ/roq-simulation/target/hs_err_pid4918.log

If you would like to submit a bug report, please include instructions on how to reproduce the bug and visit: http://icedtea.classpath.org/bugzilla The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug.

Aborted (core dumped)

Results :

Failed tests: testQlifeCycle(org.roqmessaging.management.server.TestMngtController): expected:<3> but was:<2>

vanmellebenjamin commented 9 years ago

I don't know if that could help, I found that in the error report file: /roq-simulation/target/hs_err_pid4918.log

There are some references to the ZMQ poller

Register to memory mapping:

RAX=0x00007f1ba0797af0 is an unknown value RBX=0x00007f1ba07974e0 is an unknown value RCX=0x00007f1ba62fd12d: __poll+0x2d in /lib/x86_64-linux-gnu/libc.so.6 at 0x00007f1ba6210000 RDX=0x0000000000000000 is an unknown value RSP=0x00007f1a9970a7e8 is pointing into the stack for thread: 0x00007f1ba0799000 RBP=0x00007f1a9970a878 is pointing into the stack for thread: 0x00007f1ba0799000 RSI=0x0000000000000001 is an unknown value RDI=0x00007f1ba07974e0 is an unknown value R8 =0x0000000000000000 is an unknown value R9 =0x00000000c499f878 is an oop org.zeromq.ZMQ$PollItem

Stack: [0x00007f1a9960b000,0x00007f1a9970c000], sp=0x00007f1a9970a7e8, free space=1021k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C 0x00007f1ba0797b98

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J 108 org.zeromq.ZMQ$Poller.run_poll([Lorg/zeromq/ZMQ$PollItem;IJ)I (0 bytes) @ 0x00007f1b9c449675 [0x00007f1b9c449620+0x55] J 215 C2 org.roqmessaging.core.ShutDownMonitor.run()V (213 bytes) @ 0x00007f1b9c4330bc [0x00007f1b9c432da0+0x31c] j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub