JVM crash when I use google gperftools Non Heap profiler
crash log A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00002b626db6c304, pid=15640, tid=1167100224 JRE version: Java(TM) SE Runtime Environment (7.0_55-b13) (build 1.7.0_55-b13) Java VM: Java HotSpot(TM) 64-Bit Server VM (24.55-b03 mixed mode linux-amd64 > > compressed oops) Problematic frame: C [libunwind.so.7+0xb304] _ULx86_64_get_save_loc+0x568 Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again An error report file with more information is saved as: If you would like to submit a bug report, please visit: http://bugreport.sun.com/bugreport/crash.jsp java version java version "1.7.0_55" Java(TM) SE Runtime Environment (build 1.7.0_55-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode) google gperftools version gperftools-2.1 OS version Red Hat Enterprise Linux Server release 5.7 (Tikanga) Kernel \r on an \m reproduction step ------------------------------ 1 yum install libunwind 2 download gperftools from https://code.google.com/p/gperftools/downloads/list and configue;sudo make install 3 export LD_PRELOAD=/usr/local/lib/libtcmalloc_and_profiler.so; export HEAPPROFILE=/tmp/memory/temp how to solve it? -- ============================================= fuyou001 Best Regards
Hello, ask there: https://groups.google.com/forum/#!forum/google-perftools It is (does not look) related to openjdk core libraries at all. Gruss Bernd schrieb fuyou <fuyou001@gmail.com>:
crash log
A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00002b626db6c304, pid=15640, tid=1167100224 JRE version: Java(TM) SE Runtime Environment (7.0_55-b13) (build 1.7.0_55-b13) Java VM: Java HotSpot(TM) 64-Bit Server VM (24.55-b03 mixed mode linux-amd64 > > compressed oops) Problematic frame: C [libunwind.so.7+0xb304] _ULx86_64_get_save_loc+0x568
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
An error report file with more information is saved as:
If you would like to submit a bug report, please visit: http://bugreport.sun.com/bugreport/crash.jsp
java version
java version "1.7.0_55" Java(TM) SE Runtime Environment (build 1.7.0_55-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode) google gperftools version
gperftools-2.1 OS version
Red Hat Enterprise Linux Server release 5.7 (Tikanga) Kernel \r on an \m reproduction step ------------------------------ 1
yum install libunwind
2
download gperftools from https://code.google.com/p/gperftools/downloads/list and configue;sudo make install
3
export LD_PRELOAD=/usr/local/lib/libtcmalloc_and_profiler.so; export HEAPPROFILE=/tmp/memory/temp
how to solve it?
FWIW, I haven't looked at our OSS perftools in a while, but I wouldn't be shocked if either a) that code can't handle code compiled without frame pointers (the libunwind crash suggests that), or b) it barfed when it hit a Java stack frame. The internal versions have had problems of that nature. If you want something similar for profiling *just* Java code (no native code or JNI), my lightweight Java profiler uses a similar approach: https://code.google.com/p/lightweight-java-profiler/ Jeremy On Wed, May 28, 2014 at 12:09 PM, Bernd Eckenfels <ecki@zusammenkunft.net> wrote:
Hello,
ask there: https://groups.google.com/forum/#!forum/google-perftools
It is (does not look) related to openjdk core libraries at all.
Gruss Bernd
schrieb fuyou <fuyou001@gmail.com>:
crash log
A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00002b626db6c304, pid=15640, tid=1167100224 JRE version: Java(TM) SE Runtime Environment (7.0_55-b13) (build 1.7.0_55-b13) Java VM: Java HotSpot(TM) 64-Bit Server VM (24.55-b03 mixed mode linux-amd64 > > compressed oops) Problematic frame: C [libunwind.so.7+0xb304] _ULx86_64_get_save_loc+0x568
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
An error report file with more information is saved as:
If you would like to submit a bug report, please visit: http://bugreport.sun.com/bugreport/crash.jsp
java version
java version "1.7.0_55" Java(TM) SE Runtime Environment (build 1.7.0_55-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode) google gperftools version
gperftools-2.1 OS version
Red Hat Enterprise Linux Server release 5.7 (Tikanga) Kernel \r on an \m reproduction step ------------------------------ 1
yum install libunwind
2
download gperftools from https://code.google.com/p/gperftools/downloads/list and configue;sudo make install
3
export LD_PRELOAD=/usr/local/lib/libtcmalloc_and_profiler.so; export HEAPPROFILE=/tmp/memory/temp
how to solve it?
participants (3)
-
Bernd Eckenfels
-
fuyou
-
Jeremy Manson