Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2190675 | 7 | Tom Rodriguez | P4 | Closed | Fixed | b87 |
JDK-2197978 | 6u23 | Tom Rodriguez | P4 | Closed | Fixed | b01 |
JDK-2199928 | 6u22m | Tom Rodriguez | P4 | Closed | Fixed | b01 |
JDK-2193580 | 6u21p | Tom Rodriguez | P4 | Closed | Fixed | b03 |
Description From Andrew Haley 2010-01-08 08:34:35 PDT
This bug is a clone of https://bugzilla.redhat.com/show_bug.cgi?id=541548
When installed on any GNU/Linux system, jmap crashes with an exception.
The cause of this exception is that Java has its own symbol table reader, and
it does not know that GNU/Linux systems have symbol tables in a separate file
from the object files.
A patch for this is in IcedTea.
$ /usr/lib/jvm/java-openjdk/bin/jmap -heap 14715
Attaching to process ID 14715, please wait...
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)
at
sun.jvm.hotspot.HotSpotTypeDataBase.getLongValueFromProcess(HotSpotTypeDataBase.java:369)
at
sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:102)
at
sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:85)
at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:568)
at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:494)
at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:332)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:163)
at sun.jvm.hotspot.tools.HeapSummary.main(HeapSummary.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at sun.tools.jmap.JMap.runTool(JMap.java:196)
at sun.tools.jmap.JMap.main(JMap.java:128)
Debugger attached successfully.
sun.jvm.hotspot.tools.HeapSummary requires a java VM process/core!
- backported by
-
JDK-2190675 Allow Java's ELF symtab reader to use separate debuginfo files
- Closed
-
JDK-2193580 Allow Java's ELF symtab reader to use separate debuginfo files
- Closed
-
JDK-2197978 Allow Java's ELF symtab reader to use separate debuginfo files
- Closed
-
JDK-2199928 Allow Java's ELF symtab reader to use separate debuginfo files
- Closed
- relates to
-
JDK-8008807 SA: jstack crash when target has mismatched bitness (Linux)
- Resolved
-
JDK-6588413 Use -fvisibility=hidden for gcc compiles
- Closed
-
JDK-8193318 ELF decoder should be able to use external debug info file
- Closed