[JDK-8080741] sigsegv while heap dumping in java_lang_Class::signers(oopDesc*)+0x1b

Bernd ecki at zusammenkunft.net
Tue Aug 11 11:26:59 UTC 2015


Hello,

very similiar to JDK-8080741 we had a crash with 8u51 on Linux. It looks
like it is happening while dumping the heap in a out of memory condition.
The bug talks about it is happenign on constrained heap, but it looks more
like related to OutOfMemory dumps (in both cases).

https://bugs.openjdk.java.net/browse/JDK-8080741


I do have a corefile and a javacore hs_err file, butcant post it
publically. Do you think it is worth to reconsider opening that bug again
(its closed as incomplete currently)? Let me know if you need more extracts
from the log.

# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode
linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x683c5b]  java_lang_Class::signers(oopDesc*)+0x1b
...
Stack: [0x00007fc56d05c000,0x00007fc56d15d000],  sp=0x00007fc56d15b740,
 free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
V  [libjvm.so+0x683c5b]  java_lang_Class::signers(oopDesc*)+0x1b
V  [libjvm.so+0x611072]
 DumperSupport::dump_class_and_array_classes(DumpWriter*, Klass*)+0xb2
V  [libjvm.so+0x461d36]  ClassLoaderDataGraph::classes_do(void
(*)(Klass*))+0x36
V  [libjvm.so+0x6144ce]  VM_HeapDumper::doit()+0x23e
V  [libjvm.so+0xab5d25]  VM_Operation::evaluate()+0x55
V  [libjvm.so+0xab40fa]  VMThread::evaluate_operation(VM_Operation*)+0xba
V  [libjvm.so+0xab447e]  VMThread::loop()+0x1ce
V  [libjvm.so+0xab48f0]  VMThread::run()+0x70
V  [libjvm.so+0x911048]  java_start(Thread*)+0x108

VM_Operation (0x00007fc52d6592a0): HeapDumper, mode: safepoint, requested
by thread 0x00007fc41dbc5000
Other Threads:
=>0x00007fc5a969b800 VMThread [stack:
0x00007fc56d05c000,0x00007fc56d15d000] [id=43113]

Heap:
 garbage-first heap   total 16777216K, used 16640829K [0x00000003c0000000,
0x00000003c0804000, 0x00000007c0000000)
  region size 8192K, 0 young (0K), 0 survivors (0K)
 Metaspace       used 132422K, capacity 147372K, committed 150824K,
reserved 1179648K
  class space    used 15699K, capacity 20230K, committed 20888K, reserved
1048576K
...
GC Heap History (10 events):
Event: 56981.031 GC heap before
{Heap before GC invocations=922 (full 190):
 garbage-first heap   total 16777216K, used 16640829K [0x00000003c0000000,
0x00000003c0804000, 0x00000007c0000000)
  region size 8192K, 0 young (0K), 0 survivors (0K)
 Metaspace       used 132416K, capacity 147372K, committed 150824K,
reserved 1179648K
  class space    used 15698K, capacity 20230K, committed 20888K, reserved
1048576K
Event: 56981.063 GC heap after
Heap after GC invocations=923 (full 190):
 garbage-first heap   total 16777216K, used 16640829K [0x00000003c0000000,
0x00000003c0804000, 0x00000007c0000000)
  region size 8192K, 0 young (0K), 0 survivors (0K)
 Metaspace       used 132416K, capacity 147372K, committed 150824K,
reserved 1179648K
  class space    used 15698K, capacity 20230K, committed 20888K, reserved
1048576K
}
Event: 56981.108 GC heap before
{Heap before GC invocations=923 (full 190):
 garbage-first heap   total 16777216K, used 16640829K [0x00000003c0000000,
0x00000003c0804000, 0x00000007c0000000)
  region size 8192K, 0 young (0K), 0 survivors (0K)
 Metaspace       used 132420K, capacity 147372K, committed 150824K,
reserved 1179648K
  class space    used 15699K, capacity 20230K, committed 20888K, reserved
1048576K

Internal exceptions (10 events):
Event: 56980.917 Thread 0x00007fc55bb3f000 Exception <a
'java/lang/NoSuchMethodError': <clinit>> (0x00000007bfa969b0) thrown at
[/HUDSON/workspace/8-2-build-linux-amd64/jdk8u51/3951/hotspot/src/share/vm/prims/jni.cpp,
line 1598]
Event: 56980.917 Thread 0x00007fc51c8af000 Exception <a
'java/lang/NoSuchMethodError': <clinit>> (0x00000007bfa39b38) thrown at
[/HUDSON/workspace/8-2-build-linux-amd64/jdk8u51/3951/hotspot/src/share/vm/prims/jni.cpp,
line 1598]
...
OS:LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64"

uname:Linux 3.0.101-0.35-default #1 SMP Wed Jul 9 11:43:04 UTC 2014
(c36987d) x86_64
libc:glibc 2.11.3 NPTL 2.11.3
rlimit: STACK 8192k, CORE infinity, NPROC 16384, NOFILE 65535, AS 122580320k
load average:2.57 2.05 2.90
...
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.51-b03) for linux-amd64 JRE
(1.8.0_51-b16), built on Jun  8 2015 19:28:07 by "java_re" with gcc 4.3.0
20080428 (Red Hat 4.3.0-8)



More information about the core-libs-dev mailing list