This discussion is archived
0 Replies Latest reply: Jun 14, 2010 1:10 PM by 843798 RSS

jmap exception

843798 Newbie
Currently Being Moderated
Hi,

I am trying to run jmap on linux machine - Linux SOAK-simulator 2.6.18-120.el5 #1 SMP Fri Oct 17 18:00:55 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux


I am getting the following exception :
sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset" in any of the known library names (libjvm.so, libjvm_g.so, gamma_g)
at sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:388)

In some cases where I run it I got crash :

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002aacb01fb119, pid=20099, tid=1100695872
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 )
# Problematic frame:
# C [libsaproc.so+0x2119]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x000000005a772000): JavaThread "Thread-1" daemon [_thread_in_native, id=20403, stack(0x00000000418b4000,0x00000000419b5000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=2 (SEGV_ACCERR), si_addr=0x00002aacb4032034

Registers:
RAX=0x00002aacb4032030, RBX=0x00002aacb40008c0, RCX=0x000000000000c190, RDX=0x00002aacb4001a10
RSP=0x00000000419b35e0, RBP=0x00000000419b36f0, RSI=0x0000000000000000, RDI=0x00002aacb4031d58
R8 =0x0000000000000048, R9 =0x0000000000100000, R10=0x0000000000000000, R11=0x000000356c27a807
R12=0x000000005a772000, R13=0x00002aaaae5110f8, R14=0x00000000419b39f8, R15=0x000000005a772000
RIP=0x00002aacb01fb119, EFL=0x0000000000010206, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
TRAPNO=0x000000000000000e

Instructions: (pc=0x00002aacb01fb119)
0x00002aacb01fb109: 85 70 ff ff ff 48 89 04 0a 48 8b 85 70 ff ff ff
0x00002aacb01fb119: 83 78 04 02 74 0f 48 8b 85 70 ff ff ff 83 78 04

Stack: [0x00000000418b4000,0x00000000419b5000], sp=0x00000000419b35e0, free space=3fd0000000000000018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libsaproc.so+0x2119]
C [libsaproc.so+0x2c77]
C [libsaproc.so+0x2b5c]
C [libsaproc.so+0x3aab]
C [libsaproc.so+0x3c51] Pgrab+0x99
C [libsaproc.so+0x62ca] Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLocal_attach0__I+0x1b
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(I)V+0
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.access$100(Lsun/jvm/hotspot/debugger/linux/LinuxDebuggerLocal;I)V+2
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$1AttachTask.doit(Lsun/jvm/hotspot/debugger/linux/LinuxDebuggerLocal;)V+5
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.run()V+30
v ~StubRoutines::call_stub
V [libjvm.so+0x3d5e8d]
V [libjvm.so+0x5d9129]
V [libjvm.so+0x3d5759]
V [libjvm.so+0x3d580b]
V [libjvm.so+0x464e77]
V [libjvm.so+0x6cc5a2]
V [libjvm.so+0x5da2af]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(I)V+0
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.access$100(Lsun/jvm/hotspot/debugger/linux/LinuxDebuggerLocal;I)V+2
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$1AttachTask.doit(Lsun/jvm/hotspot/debugger/linux/LinuxDebuggerLocal;)V+5
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.run()V+30
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
=>0x000000005a772000 JavaThread "Thread-1" daemon [_thread_in_native, id=20403, stack(0x00000000418b4000,0x00000000419b5000)]
0x000000005a735000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=20307, stack(0x00000000429f3000,0x0000000042af4000)]
0x000000005a733000 JavaThread "CompilerThread1" daemon [_thread_in_native, id=20305, stack(0x00000000428f2000,0x00000000429f3000)]
0x000000005a72e000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=20304, stack(0x00000000427f1000,0x00000000428f2000)]
0x000000005a72b800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=20303, stack(0x0000000041e77000,0x0000000041f78000)]
0x000000005a707000 JavaThread "Finalizer" daemon [_thread_blocked, id=20190, stack(0x00000000417b3000,0x00000000418b4000)]
0x000000005a705000 JavaThread "Reference Handler" daemon [_thread_blocked, id=20181, stack(0x00000000416b2000,0x00000000417b3000)]
0x000000005a69d000 JavaThread "main" [_thread_blocked, id=20106, stack(0x00000000410c0000,0x00000000411c1000)]

Other Threads:
0x000000005a700800 VMThread [stack: 0x00000000415b1000,0x00000000416b2000] [id=20150]
0x000000005a737800 WatcherThread [stack: 0x0000000042af4000,0x0000000042bf5000] [id=20312]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
PSYoungGen total 150208K, used 5150K [0x00002aac02b70000, 0x00002aac0d310000, 0x00002aacaa610000)
eden space 128768K, 4% used [0x00002aac02b70000,0x00002aac03077b20,0x00002aac0a930000)
from space 21440K, 0% used [0x00002aac0be20000,0x00002aac0be20000,0x00002aac0d310000)
to space 21440K, 0% used [0x00002aac0a930000,0x00002aac0a930000,0x00002aac0be20000)
PSOldGen total 343360K, used 0K [0x00002aaab3610000, 0x00002aaac8560000, 0x00002aac02b70000)
object space 343360K, 0% used [0x00002aaab3610000,0x00002aaab3610000,0x00002aaac8560000)
PSPermGen total 21248K, used 3205K [0x00002aaaae210000, 0x00002aaaaf6d0000, 0x00002aaab3610000)
object space 21248K, 15% used [0x00002aaaae210000,0x00002aaaae531518,0x00002aaaaf6d0000)