This discussion is archived
9 Replies Latest reply: Nov 1, 2009 9:34 AM by 843810 RSS

JDB crashes while lodading core dump or throws errors

843810 Newbie
Currently Being Moderated
I'm having here RHEL 5.1 system and some core dumps generated by our 32 bit java application. This application uses JNI and for some reason (that I'm still trying to figure out) is crashing while executing JNI calls.

I can load the core dumps inside gdb and even backtrace the native stack of the program and see the variables inside the shared library where it's crashing. But I need to take a closer look on the java stack and some of the variable values on the java side also.

I did try to use JDB to do this like it's described in the Troubleshooting guide for Java 6 but for some unknown reason when I do try to attach JDB to the core dumps I either get some error thrown on the console or JDB crashes and produces a hs_err_pit*.log file. I have used this technique already few times and didn't had any problems with JDB. I'm wondering if it could be that the core dump files are too big - some of them are around 3 Gb. But one of them is ~600Mb and also is crashing. So is ti possible bug in JDB or I'm missing something. I'm posting the error and the one of the hs_err_pid files.

Appreciate any help and ideas

----------------------------------- ----------------------
$ jdb -connect sun.jvm.hotspot.jdi.SACoreAttachingConnector:javaExecutable=/usr/java/jdk/bin/java,core=core.31919
java.io.IOException
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:123)
at com.sun.tools.example.debug.tty.VMConnection.attachTarget(VMConnection.java:358)
at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:168)
at com.sun.tools.example.debug.tty.Env.init(Env.java:64)
at com.sun.tools.example.debug.tty.TTY.main(TTY.java:1010)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:80)
at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:108)
... 4 more
Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the core file
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:258)
at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:625)
at sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:611)
at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:322)
at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:297)
at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:157)
at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:190)
... 10 more

Fatal error:
Unable to attach to target VM.

------------------------------------------------------------------------------------------------------------------------------------





#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xafcfa6bd, pid=3653, tid=4160613264
#
# Java VM: Java HotSpot(TM) Server VM (1.6.0_03-b05 mixed mode)
# Problematic frame:
# C [libsaproc.so+0x36bd]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

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

Current thread (0x08058000): JavaThread "main" [_thread_in_native, id=3654]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000151

Registers:
EAX=0xf7ffdabc, EBX=0xafcff25c, ECX=0xafd72d08, EDX=0x00000149
ESP=0xf7fdc520, EBP=0xf7fdc538, ESI=0xafd72d08, EDI=0x08058000
EIP=0xafcfa6bd, CR2=0x00000151, EFLAGS=0x00010206

Top of Stack: (sp=0xf7fdc520)
0xf7fdc520: 464c457f 00010101 000000a2 0000009c
0xf7fdc530: 0000009f afcff25c f7fdc588 afcfb01a
0xf7fdc540: afd67780 f7ffdabc 00200034 afcfaff4
0xf7fdc550: 004a004b 00000000 00200034 0028000a
0xf7fdc560: 004a004b afba13e0 00001110 afcff25c
0xf7fdc570: afb8e2e8 08058000 f7fdc5a8 afcf93b3
0xf7fdc580: 00000004 afcff25c f7fdc5a8 afcf9964
0xf7fdc590: afd67780 f7ffdabc f7fdd72c 00000004

Instructions: (pc=0xafcfa6bd)
0xafcfa6ad: 8d 14 85 00 00 00 00 8b 41 24 8b 14 10 8b 45 0c
0xafcfa6bd: 3b 42 08 72 08 8b 45 f8 89 45 f4 eb b1 8b 45 f8

Stack: [0xf7f8e000,0xf7fdf000), sp=0xf7fdc520, free space=313k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libsaproc.so+0x36bd]
C [libsaproc.so+0x401a]
C [libsaproc.so+0x2964] ps_pdread+0x1c
C [libsaproc.so+0x4d3e]
C [libsaproc.so+0x4ffd] Pgrab_core+0x281
C [libsaproc.so+0x56c7] Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLocal_attach0__Ljava_lang_String_2Ljava_lang_String_2+0x99
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Ljava/lang/String;Ljava/lang/String;)V+0
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(Ljava/lang/String;Ljava/lang/String;)V+29
j sun.jvm.hotspot.HotSpotAgent.attachDebugger()V+43
j sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux()V+122
j sun.jvm.hotspot.HotSpotAgent.setupDebugger()V+95
j sun.jvm.hotspot.HotSpotAgent.go()V+1
j sun.jvm.hotspot.HotSpotAgent.attach(Ljava/lang/String;Ljava/lang/String;)V+56
j sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(Lcom/sun/jdi/VirtualMachineManager;Ljava/lang/String;Ljava/lang/String;I)Lsun/jvm/hotspot/jdi/VirtualMachineImpl;+58
v ~StubRoutines::call_stub
V [libjvm.so+0x2c5ecd]
V [libjvm.so+0x4523b8]
V [libjvm.so+0x2c5d60]
V [libjvm.so+0x49a08f]
V [libjvm.so+0x49ca8c]
V [libjvm.so+0x331e88]
C [libjava.so+0x15224] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x34
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/jdi/VirtualMachine;+122
j sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(Ljava/util/Map;)Lcom/sun/jdi/VirtualMachine;+90
j com.sun.tools.example.debug.tty.VMConnection.attachTarget()Lcom/sun/jdi/VirtualMachine;+13
j com.sun.tools.example.debug.tty.VMConnection.open()Lcom/sun/jdi/VirtualMachine;+33
j com.sun.tools.example.debug.tty.Env.init(Ljava/lang/String;ZI)V+28
j com.sun.tools.example.debug.tty.TTY.main([Ljava/lang/String;)V+1207
v ~StubRoutines::call_stub
V [libjvm.so+0x2c5ecd]
V [libjvm.so+0x4523b8]
V [libjvm.so+0x2c5d60]
V [libjvm.so+0x2ef186]
V [libjvm.so+0x2e082b]
C [jdb+0x1af8] JavaMain+0x2c8
C [libpthread.so.0+0x543b]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Ljava/lang/String;Ljava/lang/String;)V+0
j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(Ljava/lang/String;Ljava/lang/String;)V+29
j sun.jvm.hotspot.HotSpotAgent.attachDebugger()V+43
j sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux()V+122
j sun.jvm.hotspot.HotSpotAgent.setupDebugger()V+95
j sun.jvm.hotspot.HotSpotAgent.go()V+1
j sun.jvm.hotspot.HotSpotAgent.attach(Ljava/lang/String;Ljava/lang/String;)V+56
j sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(Lcom/sun/jdi/VirtualMachineManager;Ljava/lang/String;Ljava/lang/String;I)Lsun/jvm/hotspot/jdi/VirtualMachineImpl;+58
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/jdi/VirtualMachine;+122
j sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(Ljava/util/Map;)Lcom/sun/jdi/VirtualMachine;+90
j com.sun.tools.example.debug.tty.VMConnection.attachTarget()Lcom/sun/jdi/VirtualMachine;+13
j com.sun.tools.example.debug.tty.VMConnection.open()Lcom/sun/jdi/VirtualMachine;+33
j com.sun.tools.example.debug.tty.Env.init(Ljava/lang/String;ZI)V+28
j com.sun.tools.example.debug.tty.TTY.main([Ljava/lang/String;)V+1207
v ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
0xafd08c00 JavaThread "Thread-1" daemon [_thread_blocked, id=3682]
0x0819b000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3680]
0x08199400 JavaThread "CompilerThread1" daemon [_thread_blocked, id=3679]
0x08198000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3678]
0x08196c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3677]
0x08183c00 JavaThread "Finalizer" daemon [_thread_blocked, id=3676]
0x08183400 JavaThread "Reference Handler" daemon [_thread_blocked, id=3675]
=>0x08058000 JavaThread "main" [_thread_in_native, id=3654]

Other Threads:
0x08180800 VMThread [id=3671]
0x0819c800 WatcherThread [id=3681]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
PSYoungGen total 9280K, used 2718K [0xedca0000, 0xee6f0000, 0xf4e60000)
eden space 8000K, 33% used [0xedca0000,0xedf47b40,0xee470000)
from space 1280K, 0% used [0xee5b0000,0xee5b0000,0xee6f0000)
to space 1280K, 0% used [0xee470000,0xee470000,0xee5b0000)
PSOldGen total 84992K, used 0K [0xb4e60000, 0xba160000, 0xedca0000)
object space 84992K, 0% used [0xb4e60000,0xb4e60000,0xba160000)
PSPermGen total 16384K, used 3088K [0xb0e60000, 0xb1e60000, 0xb4e60000)
object space 16384K, 18% used [0xb0e60000,0xb1164398,0xb1e60000)

Dynamic libraries:
00b31000-00b4a000 r-xp 00000000 fd:00 5932045 /lib/ld-2.5.so
00b4a000-00b4b000 r-xp 00019000 fd:00 5932045 /lib/ld-2.5.so
00b4b000-00b4c000 rwxp 0001a000 fd:00 5932045 /lib/ld-2.5.so
00b4e000-00c88000 r-xp 00000000 fd:00 5932057 /lib/libc-2.5.so
00c88000-00c8a000 r-xp 00139000 fd:00 5932057 /lib/libc-2.5.so
00c8a000-00c8b000 rwxp 0013b000 fd:00 5932057 /lib/libc-2.5.so
00c8b000-00c8e000 rwxp 00c8b000 00:00 0
00c90000-00ca3000 r-xp 00000000 fd:00 5932059 /lib/libpthread-2.5.so
00ca3000-00ca4000 r-xp 00012000 fd:00 5932059 /lib/libpthread-2.5.so
00ca4000-00ca5000 rwxp 00013000 fd:00 5932059 /lib/libpthread-2.5.so
00ca5000-00ca7000 rwxp 00ca5000 00:00 0
00ca9000-00cab000 r-xp 00000000 fd:00 5932058 /lib/libdl-2.5.so
00cab000-00cac000 r-xp 00001000 fd:00 5932058 /lib/libdl-2.5.so
00cac000-00cad000 rwxp 00002000 fd:00 5932058 /lib/libdl-2.5.so
00caf000-00cb6000 r-xp 00000000 fd:00 5932062 /lib/librt-2.5.so
00cb6000-00cb7000 r-xp 00006000 fd:00 5932062 /lib/librt-2.5.so
00cb7000-00cb8000 rwxp 00007000 fd:00 5932062 /lib/librt-2.5.so
00d9b000-00dc0000 r-xp 00000000 fd:00 5932060 /lib/libm-2.5.so
00dc0000-00dc1000 r-xp 00024000 fd:00 5932060 /lib/libm-2.5.so
00dc1000-00dc2000 rwxp 00025000 fd:00 5932060 /lib/libm-2.5.so
06000000-065a0000 r-xp 00000000 fd:00 16777229 /usr/java/jdk1.6.0_03/jre/lib/i386/server/libjvm.so
065a0000-065db000 rwxp 005a0000 fd:00 16777229 /usr/java/jdk1.6.0_03/jre/lib/i386/server/libjvm.so
065db000-069fc000 rwxp 065db000 00:00 0
08048000-08052000 r-xp 00000000 fd:00 16810695 /usr/java/jdk1.6.0_03/bin/jdb
08052000-08053000 rwxp 00009000 fd:00 16810695 /usr/java/jdk1.6.0_03/bin/jdb
08053000-08289000 rwxp 08053000 00:00 0 [heap]
afa00000-afa39000 rwxp afa00000 00:00 0
afa39000-afb00000 ---p afa39000 00:00 0
afb00000-afbf2000 rwxp afb00000 00:00 0
afbf2000-afc00000 ---p afbf2000 00:00 0
afcf7000-afcff000 r-xp 00000000 fd:00 16777232 /usr/java/jdk1.6.0_03/jre/lib/i386/libsaproc.so
afcff000-afd00000 rwxp 00007000 fd:00 16777232 /usr/java/jdk1.6.0_03/jre/lib/i386/libsaproc.so
afd00000-afe00000 rwxp afd00000 00:00 0
afe60000-afe63000 ---p afe60000 00:00 0
afe63000-afeb1000 rwxp afe63000 00:00 0
afeb1000-afeb6000 r-xp 00000000 fd:00 5931062 /lib/libthread_db-1.0.so
afeb6000-afeb7000 r-xp 00004000 fd:00 5931062 /lib/libthread_db-1.0.so
afeb7000-afeb8000 rwxp 00005000 fd:00 5931062 /lib/libthread_db-1.0.so
afecb000-afede000 r-xp 00000000 fd:00 16777249 /usr/java/jdk1.6.0_03/jre/lib/i386/libnet.so
afede000-afedf000 rwxp 00013000 fd:00 16777249 /usr/java/jdk1.6.0_03/jre/lib/i386/libnet.so
afedf000-afefe000 r-xs 00152000 fd:00 16810648 /usr/java/jdk1.6.0_03/lib/sa-jdi.jar
afefe000-aff5b000 r-xs 00b3c000 fd:00 16811549 /usr/java/jdk1.6.0_03/lib/tools.jar
aff5b000-aff5c000 ---p aff5b000 00:00 0
aff5c000-affdc000 rwxp aff5c000 00:00 0
affdc000-affdf000 ---p affdc000 00:00 0
affdf000-b002d000 rwxp affdf000 00:00 0
b002d000-b0030000 ---p b002d000 00:00 0
b0030000-b00ae000 rwxp b0030000 00:00 0
b00ae000-b00b1000 ---p b00ae000 00:00 0
b00b1000-b012f000 rwxp b00b1000 00:00 0
b012f000-b0132000 ---p b012f000 00:00 0
b0132000-b0180000 rwxp b0132000 00:00 0
b0180000-b0380000 r-xp 00000000 fd:00 15535906 /usr/lib/locale/locale-archive
b0380000-b0383000 ---p b0380000 00:00 0
b0383000-b03d1000 rwxp b0383000 00:00 0
b03d1000-b03d4000 ---p b03d1000 00:00 0
b03d4000-b0422000 rwxp b03d4000 00:00 0
b0422000-b0423000 ---p b0422000 00:00 0
b0423000-b04d3000 rwxp b0423000 00:00 0
b04d3000-b064f000 r-xs 02c8f000 fd:00 16777319 /usr/java/jdk1.6.0_03/jre/lib/rt.jar
b064f000-b0650000 ---p b064f000 00:00 0
b0650000-b06d0000 rwxp b0650000 00:00 0
b06d0000-b06d1000 ---p b06d0000 00:00 0
b06d1000-b0751000 rwxp b06d1000 00:00 0
b0751000-b0752000 ---p b0751000 00:00 0
b0752000-b07d2000 rwxp b0752000 00:00 0
b07d2000-b07d3000 ---p b07d2000 00:00 0
b07d3000-b0853000 rwxp b07d3000 00:00 0
b0853000-b0854000 ---p b0853000 00:00 0
b0854000-b08d4000 rwxp b0854000 00:00 0
b08d4000-b08d5000 ---p b08d4000 00:00 0
b08d5000-b0955000 rwxp b08d5000 00:00 0
b0955000-b0956000 ---p b0955000 00:00 0
b0956000-b09d6000 rwxp b0956000 00:00 0
b09d6000-b09d7000 ---p b09d6000 00:00 0
b09d7000-b0a5f000 rwxp b09d7000 00:00 0
b0a5f000-b0a77000 rwxp b0a5f000 00:00 0
b0a77000-b0aa1000 rwxp b0a77000 00:00 0
b0aa1000-b0c3f000 rwxp b0aa1000 00:00 0
b0c3f000-b0c47000 rwxp b0c3f000 00:00 0
b0c47000-b0c5f000 rwxp b0c47000 00:00 0
b0c5f000-b0c89000 rwxp b0c5f000 00:00 0
b0c89000-b0e26000 rwxp b0c89000 00:00 0
b0e26000-b0e2c000 rwxp b0e26000 00:00 0
b0e2c000-b0e5f000 rwxp b0e2c000 00:00 0
b0e5f000-b1e60000 rwxp b0e5f000 00:00 0
b1e60000-b4e60000 rwxp b1e60000 00:00 0
b4e60000-ba160000 rwxp b4e60000 00:00 0
ba160000-edca0000 rwxp ba160000 00:00 0
edca0000-ee6f0000 rwxp edca0000 00:00 0
ee6f0000-f4e60000 rwxp ee6f0000 00:00 0
f4e63000-f4e6c000 rwxp f4e63000 00:00 0
f4e6c000-f4f23000 rwxp f4e6c000 00:00 0
f4f23000-f5163000 rwxp f4f23000 00:00 0
f5163000-f7f23000 rwxp f5163000 00:00 0
f7f23000-f7f32000 r-xp 00000000 fd:00 16777245 /usr/java/jdk1.6.0_03/jre/lib/i386/libzip.so
f7f32000-f7f34000 rwxp 0000e000 fd:00 16777245 /usr/java/jdk1.6.0_03/jre/lib/i386/libzip.so
f7f34000-f7f57000 r-xp 00000000 fd:00 16777241 /usr/java/jdk1.6.0_03/jre/lib/i386/libjava.so
f7f57000-f7f59000 rwxp 00023000 fd:00 16777241 /usr/java/jdk1.6.0_03/jre/lib/i386/libjava.so
f7f59000-f7f62000 r-xp 00000000 fd:00 5931048 /lib/libnss_files-2.5.so
f7f62000-f7f63000 r-xp 00008000 fd:00 5931048 /lib/libnss_files-2.5.so
f7f63000-f7f64000 rwxp 00009000 fd:00 5931048 /lib/libnss_files-2.5.so
f7f64000-f7f77000 r-xp 00000000 fd:00 5931145 /lib/libnsl-2.5.so
f7f77000-f7f78000 r-xp 00012000 fd:00 5931145 /lib/libnsl-2.5.so
f7f78000-f7f79000 rwxp 00013000 fd:00 5931145 /lib/libnsl-2.5.so
f7f79000-f7f7b000 rwxp f7f79000 00:00 0
f7f82000-f7f8d000 r-xp 00000000 fd:00 16777240 /usr/java/jdk1.6.0_03/jre/lib/i386/libverify.so
f7f8d000-f7f8e000 rwxp 0000b000 fd:00 16777240 /usr/java/jdk1.6.0_03/jre/lib/i386/libverify.so
f7f8e000-f7f91000 ---p f7f8e000 00:00 0
f7f91000-f7fe1000 rwxp f7f91000 00:00 0
f7fe1000-f7fe8000 r-xp 00000000 fd:00 16777243 /usr/java/jdk1.6.0_03/jre/lib/i386/jli/libjli.so
f7fe8000-f7fea000 rwxp 00006000 fd:00 16777243 /usr/java/jdk1.6.0_03/jre/lib/i386/jli/libjli.so
f7fec000-f7ff4000 rwxs 00000000 fd:00 19562502 /tmp/hsperfdata_omnitrak/3653
f7ff4000-f7ffa000 r-xp 00000000 fd:00 16777227 /usr/java/jdk1.6.0_03/jre/lib/i386/native_threads/libhpi.so
f7ffa000-f7ffb000 rwxp 00006000 fd:00 16777227 /usr/java/jdk1.6.0_03/jre/lib/i386/native_threads/libhpi.so
f7ffb000-f7ffc000 rwxp f7ffb000 00:00 0
f7ffc000-f7ffd000 r-xp f7ffc000 00:00 0
f7ffd000-f7ffe000 rwxp f7ffd000 00:00 0
ff9fb000-ffa03000 rwxp ff9fb000 00:00 0 [stack]
ffffe000-fffff000 r-xp ffffe000 00:00 0

VM Arguments:
jvm_args: -Dapplication.home=/usr/java/jdk1.6.0_03
java_command: com.sun.tools.example.debug.tty.TTY -connect sun.jvm.hotspot.jdi.SACoreAttachingConnector:javaExecutable=/usr/java/jdk/bin/java,core=core.25602
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/usr/java/jdk/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
LD_LIBRARY_PATH=/usr/java/jdk1.6.0_03/jre/lib/i386/server:/usr/java/jdk1.6.0_03/jre/lib/i386:/usr/java/jdk1.6.0_03/jre/../lib/i386
SHELL=/bin/bash

Signal Handlers:
SIGSEGV: [libjvm.so+0x53c560], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x53c560], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x451a50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x451a50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x451a50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x453a80], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR2: [libjvm.so+0x453a80], sa_mask[0]=0x00000000, sa_flags=0x10000004


--------------- S Y S T E M ---------------

OS:Red Hat Enterprise Linux Client release 5.1 (Tikanga)

uname:Linux 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64
libc:glibc 2.5 NPTL 2.5
rlimit: STACK 10240k, CORE 0k, NPROC 53248, NOFILE 1024, AS infinity
load average:0.07 0.22 0.42

CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 7 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 6113940k(245496k free), swap 2097144k(2097144k free)

vm_info: Java HotSpot(TM) Server VM (1.6.0_03-b05) for linux-x86, built on Sep 24 2007 22:32:39 by "java_re" with gcc 3.2.1-7a (J2SE release)
  • 1. Re: JDB crashes while lodading core dump or throws errors
    843810 Newbie
    Currently Being Moderated
    Hi again!

    I really need your help. Why JDB is not able to read the core files? Are they too big (~3GB) or there is another reason. Is there some way that I can convince JDB to read my core files?

    Thanks,
    pencho
  • 2. Re: JDB crashes while lodading core dump or throws errors
    843810 Newbie
    Currently Being Moderated
    set LIBSAPROC_DEBUG env variable and run the jdb and post the output of debug output here. I will take a look at it.
    export LIBSAPROC_DEBUG=1
  • 3. Re: JDB crashes while lodading core dump or throws errors
    843810 Newbie
    Currently Being Moderated
    linux version of jdb can not read the core from solaris-sparc and solaris-sparc jdb can not read linux core. I hope
    you are not mixing it. I just wanted to make sure. In your comment I saw linux and solaris-sparc version libraries.
  • 4. Re: JDB crashes while lodading core dump or throws errors
    843810 Newbie
    Currently Being Moderated
    Thank you for your responds!
    I'm not trying at all to transfer the core to a different system. I'm debugging on the same linux red hat box where the cores where produced and I'm using the JDB version from the same JDK that was used to run the app.
    I'm wondering what makes you think that I'm possibly mixing core files?

    Here is the output that JDB generates when I define LIBSAPROC_DEBUG=1. This is the case when JDB crashes:

    $ jdb -connect sun.jvm.hotspot.jdi.SACoreAttachingConnector:javaExecutable=/usr/java/jdk/bin/java,core=core.23850
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24310
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x0
    libsaproc DEBUG: ebx = 0x5d2a
    libsaproc DEBUG: ecx = 0x5ef6
    libsaproc DEBUG: edx = 0x6
    libsaproc DEBUG: esp = 0x324fd0e4
    libsaproc DEBUG: ebp = 0x324fd0e4
    libsaproc DEBUG: esi = 0x324fd19c
    libsaproc DEBUG: edi = 0x78eff4
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 3 and n_descsz = 124
    libsaproc DEBUG: Note header with n_type = 6 and n_descsz = 144
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 27070
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffe00
    libsaproc DEBUG: ebx = 0xa
    libsaproc DEBUG: ecx = 0x312edad8
    libsaproc DEBUG: edx = 0x33f4d1a4
    libsaproc DEBUG: esp = 0x312edac0
    libsaproc DEBUG: ebp = 0x312edac0
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x2000
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 27063
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffe00
    libsaproc DEBUG: ebx = 0xa
    libsaproc DEBUG: ecx = 0x334fccd8
    libsaproc DEBUG: edx = 0x33f4d1a4
    libsaproc DEBUG: esp = 0x334fccc0
    libsaproc DEBUG: ebp = 0x334fccc0
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x2000
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 1754
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x32baab38
    libsaproc DEBUG: ecx = 0x1
    libsaproc DEBUG: edx = 0x6ddd00
    libsaproc DEBUG: esp = 0x32baaaf0
    libsaproc DEBUG: ebp = 0x32baaaf0
    libsaproc DEBUG: esi = 0x1eed0
    libsaproc DEBUG: edi = 0x78eff4
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24325
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x834486c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x306bf
    libsaproc DEBUG: esp = 0x32bfdda8
    libsaproc DEBUG: ebp = 0x32bfdda8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x306bf
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24319
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x831e8cc
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x2d49f7
    libsaproc DEBUG: esp = 0x33259cb0
    libsaproc DEBUG: ebp = 0x33259cb0
    libsaproc DEBUG: esi = 0x33259cc4
    libsaproc DEBUG: edi = 0x2d49f7
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24318
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x83783a4
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x38dd3
    libsaproc DEBUG: esp = 0x3330ab30
    libsaproc DEBUG: ebp = 0x3330ab30
    libsaproc DEBUG: esi = 0x3330ab44
    libsaproc DEBUG: edi = 0x38dd3
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24317
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x1
    libsaproc DEBUG: ebx = 0x827bb60
    libsaproc DEBUG: ecx = 0x1
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x3335bb0c
    libsaproc DEBUG: ebp = 0x3335bb0c
    libsaproc DEBUG: esi = 0x3335bbb8
    libsaproc DEBUG: edi = 0x827bb60
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24316
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8082d14
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x33d5ca98
    libsaproc DEBUG: ebp = 0x33d5ca98
    libsaproc DEBUG: esi = 0x33d5caac
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24315
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8378204
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x334adac8
    libsaproc DEBUG: ebp = 0x334adac8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24314
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x19
    libsaproc DEBUG: ebx = 0x33f164cc
    libsaproc DEBUG: ecx = 0x9b
    libsaproc DEBUG: edx = 0x39f99940
    libsaproc DEBUG: esp = 0x320f9a14
    libsaproc DEBUG: ebp = 0x1e
    libsaproc DEBUG: esi = 0x2
    libsaproc DEBUG: edi = 0x39f975a0
    libsaproc DEBUG: eip = 0x33f0e054
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24313
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x39c534e0
    libsaproc DEBUG: ebx = 0x33f164cc
    libsaproc DEBUG: ecx = 0x321fabba
    libsaproc DEBUG: edx = 0x6
    libsaproc DEBUG: esp = 0x321faa70
    libsaproc DEBUG: ebp = 0x321faa7c
    libsaproc DEBUG: esi = 0x2
    libsaproc DEBUG: edi = 0x39c53478
    libsaproc DEBUG: eip = 0x33f1028e
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24312
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x29
    libsaproc DEBUG: ebx = 0x39bd4780
    libsaproc DEBUG: ecx = 0x1
    libsaproc DEBUG: edx = 0x2400d1a2
    libsaproc DEBUG: esp = 0x322fbc50
    libsaproc DEBUG: ebp = 0x322fbc7c
    libsaproc DEBUG: esi = 0x33f167a8
    libsaproc DEBUG: edi = 0xf9000607
    libsaproc DEBUG: eip = 0x33f0ef54
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24311
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x827ac04
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x137ee7
    libsaproc DEBUG: esp = 0x323fcd28
    libsaproc DEBUG: ebp = 0x323fcd28
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x137ee7
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24309
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x6
    libsaproc DEBUG: ebx = 0x3a5c0970
    libsaproc DEBUG: ecx = 0x2
    libsaproc DEBUG: edx = 0xb
    libsaproc DEBUG: esp = 0x325febd0
    libsaproc DEBUG: ebp = 0x3a5c1cdc
    libsaproc DEBUG: esi = 0x6
    libsaproc DEBUG: edi = 0x4
    libsaproc DEBUG: eip = 0x33f0ef06
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24308
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x5
    libsaproc DEBUG: ebx = 0x3a98cb48
    libsaproc DEBUG: ecx = 0x2
    libsaproc DEBUG: edx = 0x9
    libsaproc DEBUG: esp = 0x32cfea50
    libsaproc DEBUG: ebp = 0x3a98dde8
    libsaproc DEBUG: esi = 0x5
    libsaproc DEBUG: edi = 0x5
    libsaproc DEBUG: eip = 0x33f0f084
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24307
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x8
    libsaproc DEBUG: ebx = 0x3a1fd104
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x6
    libsaproc DEBUG: esp = 0x3345c984
    libsaproc DEBUG: ebp = 0x3345c984
    libsaproc DEBUG: esi = 0x29
    libsaproc DEBUG: edi = 0x0
    libsaproc DEBUG: eip = 0x33f0f210
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24304
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x82ee0ac
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x332aad90
    libsaproc DEBUG: ebp = 0x332aad90
    libsaproc DEBUG: esi = 0x332aada4
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24015
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x856427c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x33b5ca90
    libsaproc DEBUG: ebp = 0x33b5ca90
    libsaproc DEBUG: esi = 0x33b5caa4
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24014
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x818b8e4
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x3
    libsaproc DEBUG: esp = 0x33bada98
    libsaproc DEBUG: ebp = 0x33bada98
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x3
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24013
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffe00
    libsaproc DEBUG: ebx = 0x5
    libsaproc DEBUG: ecx = 0x33bfedd0
    libsaproc DEBUG: edx = 0x33f4d1a4
    libsaproc DEBUG: esp = 0x33bfedb8
    libsaproc DEBUG: ebp = 0x33bfedb8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x827e400
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24011
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x828951c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x33dadcd8
    libsaproc DEBUG: ebp = 0x33dadcd8
    libsaproc DEBUG: esi = 0x33dadcec
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24010
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x849caac
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x33dfec68
    libsaproc DEBUG: ebp = 0x33dfec68
    libsaproc DEBUG: esi = 0x33dfec7c
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23868
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x80c213c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x34090f78
    libsaproc DEBUG: ebp = 0x34090f78
    libsaproc DEBUG: esi = 0x34090f8c
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23867
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x819e294
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x340e2018
    libsaproc DEBUG: ebp = 0x340e2018
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23866
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8199a5c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x434
    libsaproc DEBUG: esp = 0x34162e48
    libsaproc DEBUG: ebp = 0x34162e48
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x434
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23865
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8199a5c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x432
    libsaproc DEBUG: esp = 0x341e3ec8
    libsaproc DEBUG: ebp = 0x341e3ec8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x432
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23864
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x65e80a0
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x0
    libsaproc DEBUG: esp = 0x34234fb0
    libsaproc DEBUG: ebp = 0x34234fb0
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0xffc
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23863
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x818ba8c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x289
    libsaproc DEBUG: esp = 0x34485de0
    libsaproc DEBUG: ebp = 0x34485de0
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x289
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23862
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x81887d4
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x2b3
    libsaproc DEBUG: esp = 0x344d6c90
    libsaproc DEBUG: ebp = 0x344d6c90
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x2b3
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23861
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x31e0548c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x3
    libsaproc DEBUG: esp = 0x345580d8
    libsaproc DEBUG: ebp = 0x345580d8
    libsaproc DEBUG: esi = 0x345580ec
    libsaproc DEBUG: edi = 0x3
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23860
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e9b
    libsaproc DEBUG: esp = 0x34784f68
    libsaproc DEBUG: ebp = 0x34784f68
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e9b
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23859
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e9a
    libsaproc DEBUG: esp = 0x34805fe8
    libsaproc DEBUG: ebp = 0x34805fe8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e9a
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23858
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e9c
    libsaproc DEBUG: esp = 0x34886e68
    libsaproc DEBUG: ebp = 0x34886e68
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e9c
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23857
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e99
    libsaproc DEBUG: esp = 0x34907ee8
    libsaproc DEBUG: ebp = 0x34907ee8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e99
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23856
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e98
    libsaproc DEBUG: esp = 0x34989168
    libsaproc DEBUG: ebp = 0x34989168
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e98
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23855
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e97
    libsaproc DEBUG: esp = 0x34a0a1e8
    libsaproc DEBUG: ebp = 0x34a0a1e8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e97
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23854
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e96
    libsaproc DEBUG: esp = 0x34a8b068
    libsaproc DEBUG: ebp = 0x34a8b068
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e96
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23853
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e95
    libsaproc DEBUG: esp = 0x34b0c0e8
    libsaproc DEBUG: ebp = 0x34b0c0e8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e95
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23852
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x33e5e19c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0xf7fde228
    libsaproc DEBUG: ebp = 0xf7fde228
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23850
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0xf7fdebd8
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x5d2c
    libsaproc DEBUG: esp = 0xffb93630
    libsaproc DEBUG: ebp = 0xffb93630
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x7a8ff4
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: ELF interpreter /lib/ld-linux.so.2
    libsaproc DEBUG: address of _DYNAMIC is 0x8052548
    libsaproc DEBUG: ---- sorted virtual address map ----
    libsaproc DEBUG: base = 0x64f000 size = 4096
    libsaproc DEBUG: base = 0x650000 size = 4096
    libsaproc DEBUG: base = 0x78d000 size = 8192
    libsaproc DEBUG: base = 0x78f000 size = 4096
    libsaproc DEBUG: base = 0x790000 size = 12288
    libsaproc DEBUG: base = 0x7a8000 size = 4096
    libsaproc DEBUG: base = 0x7a9000 size = 4096
    libsaproc DEBUG: base = 0x7aa000 size = 8192
    libsaproc DEBUG: base = 0x7b0000 size = 4096
    libsaproc DEBUG: base = 0x7b1000 size = 4096
    libsaproc DEBUG: base = 0x879000 size = 4096
    libsaproc DEBUG: base = 0x87a000 size = 4096
    libsaproc DEBUG: base = 0x884000 size = 4096
    libsaproc DEBUG: base = 0x885000 size = 4096
    libsaproc DEBUG: base = 0xc37000 size = 16384
    libsaproc DEBUG: base = 0xc3b000 size = 4096
    libsaproc DEBUG: base = 0xc3c000 size = 24576
    libsaproc DEBUG: base = 0xd38000 size = 4096
    libsaproc DEBUG: base = 0x6000000 size = 5898240
    libsaproc DEBUG: base = 0x65a0000 size = 241664
    libsaproc DEBUG: base = 0x65db000 size = 4329472
    libsaproc DEBUG: base = 0x8048000 size = 38100
    libsaproc DEBUG: base = 0x8052000 size = 4096
    libsaproc DEBUG: base = 0x8053000 size = 14032896
    libsaproc DEBUG: base = 0x30f00000 size = 1007616
    libsaproc DEBUG: base = 0x31100000 size = 1048576
    libsaproc DEBUG: base = 0x312a0000 size = 12288
    libsaproc DEBUG: base = 0x312a3000 size = 319488
    libsaproc DEBUG: base = 0x3133a000 size = 16384
    libsaproc DEBUG: base = 0x31344000 size = 753664
    libsaproc DEBUG: base = 0x313fc000 size = 16384
    libsaproc DEBUG: base = 0x31400000 size = 929792
    libsaproc DEBUG: base = 0x31500000 size = 1028096
    libsaproc DEBUG: base = 0x31600000 size = 966656
    libsaproc DEBUG: base = 0x31700000 size = 1028096
    libsaproc DEBUG: base = 0x31800000 size = 991232
    libsaproc DEBUG: base = 0x31900000 size = 1044480
    libsaproc DEBUG: base = 0x31a00000 size = 1032192
    libsaproc DEBUG: base = 0x31b00000 size = 1032192
    libsaproc DEBUG: base = 0x31c00000 size = 1003520
    libsaproc DEBUG: base = 0x31d51000 size = 319488
    libsaproc DEBUG: base = 0x31df9000 size = 28672
    libsaproc DEBUG: base = 0x31e00000 size = 1048576
    libsaproc DEBUG: base = 0x31f03000 size = 552960
    libsaproc DEBUG: base = 0x31f8a000 size = 20480
    libsaproc DEBUG: base = 0x31f90000 size = 331776
    libsaproc DEBUG: base = 0x31fe1000 size = 8192
    libsaproc DEBUG: base = 0x31ffa000 size = 12288
    libsaproc DEBUG: base = 0x31ffd000 size = 1040384
    libsaproc DEBUG: base = 0x320fb000 size = 12288
    libsaproc DEBUG: base = 0x320fe000 size = 1040384
    libsaproc DEBUG: base = 0x321fc000 size = 12288
    libsaproc DEBUG: base = 0x321ff000 size = 1040384
    libsaproc DEBUG: base = 0x322fd000 size = 12288
    libsaproc DEBUG: base = 0x32300000 size = 1040384
    libsaproc DEBUG: base = 0x323fe000 size = 12288
    libsaproc DEBUG: base = 0x32401000 size = 1040384
    libsaproc DEBUG: base = 0x324ff000 size = 12288
    libsaproc DEBUG: base = 0x32502000 size = 1957888
    libsaproc DEBUG: base = 0x32700000 size = 1024000
    libsaproc DEBUG: base = 0x32800000 size = 2072576
    libsaproc DEBUG: base = 0x32a00000 size = 1040384
    libsaproc DEBUG: base
  • 5. Re: JDB crashes while lodading core dump or throws errors
    843810 Newbie
    Currently Being Moderated
    In the case when JDB is just throwing exceptions and not crashing (with different core dump file) when I do have the LIBSAPROC_DEBUG set to 1a new line appears in the error message.
    libsaproc DEBUG: can't open core file


    $ jdb -connect sun.jvm.hotspot.jdi.SACoreAttachingConnector:javaExecutable=/usr/java/jdk/bin/java,core=core.27508
    libsaproc DEBUG: can't open core file
    java.io.IOException
    at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:123)
    at com.sun.tools.example.debug.tty.VMConnection.attachTarget(VMConnection.java:358)
    at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:168)
    at com.sun.tools.example.debug.tty.Env.init(Env.java:64)
    at com.sun.tools.example.debug.tty.TTY.main(TTY.java:1010)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:80)
    at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:108)
    ... 4 more
    Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the core file
    at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
    at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:258)
    at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:625)
    at sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:611)
    at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:322)
    at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:297)
    at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:157)
    at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:190)
    ... 10 more

    Fatal error:
    Unable to attach to target VM.
  • 6. Re: JDB crashes while lodading core dump or throws errors
    843810 Newbie
    Currently Being Moderated
    Looks like there is a bug in SA (serviceability agent used in jdb) code. Is this easy to reproduce?
    Do you see this problem on all core file generated on this linux box or on some core files.
  • 7. Re: JDB crashes while lodading core dump or throws errors
    843810 Newbie
    Currently Being Moderated
    For now I don't have problems with core files smaller than 300 MB.
    But the file is around 500-1600 MB it will crash the JDB and with files around 3 GB (+-300MB) the JDB will not crash but will not throw errors.
    This happens on different machines.
  • 8. Re: JDB crashes while lodading core dump or throws errors
    843810 Newbie
    Currently Being Moderated
    Where you able to reproduce this bug on your own systems? Is some fix to be expected anytime soon?
  • 9. Re: JDB crashes while lodading core dump or throws errors
    843810 Newbie
    Currently Being Moderated
    Did you ever hear an answer on this?

    I see the same problems, Linux Java jdb gives the stack trace below on any core file from a Java program where the heap is greater than 1.5G (-Xmx1500m). Linux gdb works fine.

    uname -a
    Linux nodeA 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

    jdb -version
    This is jdb version 1.6 (J2SE version 1.6.0_12)

    gcore 12594

    ls -l core.12594
    -rwxrwxrwx 1 test test 3198828544 Oct 28 03:02 core.12594





    jdb -J-Xmx3500 -connect sun.jvm.hotspot.jdi.SACoreAttachingConnector:javaExecutable=/usr/java/jdk/bin/java,core=core.12594

    java.io.IOException
    at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:139)
    at com.sun.tools.example.debug.tty.VMConnection.attachTarget(VMConnection.java:358)
    at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:168)
    at com.sun.tools.example.debug.tty.Env.init(Env.java:64)
    at com.sun.tools.example.debug.tty.TTY.main(TTY.java:1010)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:96)
    at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:124)
    ... 4 more
    Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the core file
    at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
    at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:276)
    at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:648)
    at sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:634)
    at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:339)
    at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:314)
    at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:174)
    at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:206)
    ... 10 more

    Fatal error:
    Unable to attach to target VM.