JDK-8014488 : @Contended classes may trigger 'guarantee(false) failed: boom' during verify
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs25
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2013-05-14
  • Updated: 2013-06-05
  • Resolved: 2013-06-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
hs25Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Failed: 0xe4cb9b4c -> 0x0000424c
Heap
 PSYoungGen      total 39424K, used 30802K [0xe3000000, 0xe8800000, 0xedc00000)
  eden space 37888K, 79% used [0xe3000000,0xe4d7fb70,0xe5500000)
  from space 1536K, 38% used [0xe5500000,0xe5594f78,0xe5680000)
  to   space 14144K, 0% used [0xe7a30000,0xe7a30000,0xe8800000)
 ParOldGen       total 43008K, used 17564K [0xcdc00000, 0xd0600000, 0xe3000000)
  object space 43008K, 40% used [0xcdc00000,0xced27398,0xd0600000)
 Metaspace total 6898K, used 6615K, reserved 8496K
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (instanceKlass.cpp:3080), pid=29984, tid=5
#  guarantee(false) failed: boom
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b89) (build 1.8.0-ea-b89)
# Java VM: Java HotSpot(TM) Server VM (25.0-b31 mixed mode solaris-x86 )
# Core dump written. Default location: /export/local/aurora/sandbox/results/ResultDir/GeneratedClassTest_20_100_10000_10_0.75d/core or core.29984
#
# An error report file with more information is saved as:
# /export/local/aurora/sandbox/results/ResultDir/GeneratedClassTest_20_100_10000_10_0.75d/hs_err_pid29984.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#


Stack: [0xedc7f000,0xedcff000],  sp=0xedcfe3a0,  free space=508k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xe23c7b]  void VMError::report(outputStream*)+0x953
V  [libjvm.so+0xe25266]  void VMError::report_and_die()+0x712
V  [libjvm.so+0x5bf57d]  void report_vm_error(const char*,int,const char*,const char*)+0x51
V  [libjvm.so+0x771838]  void VerifyFieldClosure::do_oop(oopDesc**)+0xb0
V  [libjvm.so+0x761deb]  int InstanceKlass::oop_oop_iterate_nv(oopDesc*,NoHeaderExtendedOopClosure*)+0xbb
V  [libjvm.so+0x76dce0]  void InstanceKlass::oop_verify_on(oopDesc*,outputStream*)+0x58
V  [libjvm.so+0xb83b4a]  void oopDesc::verify()+0x26
V  [libjvm.so+0xb4b0ae]  void MutableSpace::verify()+0x22
V  [libjvm.so+0xc3606d]  void PSYoungGen::verify()+0x19
V  [libjvm.so+0xdaf19a]  void Universe::verify(VerifyOption,const char*,bool)+0xd2
V  [libjvm.so+0xe3000a]  void VMThread::run()+0xbc6
V  [libjvm.so+0xb974bd]  java_start+0xaf5
C  [libc.so.1+0xa71c0]  _thr_setup+0x4e
C  [libc.so.1+0xa74b0]  __moddi3+0x60
Comments
sorry, my bad
05-06-2013

The bug this is a duplicate of is fixed in b35. The failure above is b34.
05-06-2013

GeneratedClassTest tests crashed in baseline testing: jdk:Java(TM) SE Runtime Environment 1.8.0 b92 (1.8.0-ea-b92) vm: Java HotSpot(TM) Server VM 25.0 b34 (25.0-b34) # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (instanceKlass.cpp:3080), pid=26549, tid=5 # guarantee(false) failed: boom # # JRE version: Java(TM) SE Runtime Environment (8.0-b92) (build 1.8.0-ea-b92) # Java VM: Java HotSpot(TM) Server VM (25.0-b34 mixed mode solaris-sparc ) # Core dump written. Default location: /export/local/aurora/sandbox/results/ResultDir/GeneratedClassTest_20_100_10000_20_0.75d/core or core.26549 # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp #
05-06-2013

Confirmed duplicate.
29-05-2013

Possible duplicate for JDK-8015270. Not closing until we confirm.
23-05-2013

Happens only on the @Contended-specific stress test, workaround available with getting the safe effect with field padding. ILW=HLM=P3
23-05-2013

The range of crash modes would seem to suggest a memory stomp.
15-05-2013

# # A fatal error has been detected by the Java Runtime Environment: # # SIGILL (0x4) at pc=0xf76fc279, pid=27735, tid=4079700896 # # JRE version: Java(TM) SE Runtime Environment (8.0-b89) (build 1.8.0-ea-b89) # Java VM: Java HotSpot(TM) Server VM (25.0-b31 compiled mode linux-x86 ) # Problematic frame: # C [libc.so.6+0x128279] __rpc_thread_destroy+0x2d789 # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # Stack: [0xf3234000,0xf32b5000], sp=0xf32b3e6c, free space=511k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libc.so.6+0x128279] __rpc_thread_destroy+0x2d789 V [libjvm.so+0x44c451] InstanceKlass::oop_oop_iterate_nv(oopDesc*, NoHeaderExtendedOopClosure*)+0x71 V [libjvm.so+0x438176] HeapRegion::verify(VerifyOption, bool*) const+0x356 V [libjvm.so+0x3de99b] VerifyRegionClosure::doHeapRegion(HeapRegion*)+0x2b V [libjvm.so+0x3d2576] G1CollectedHeap::heap_region_par_iterate_chunked(HeapRegionClosure*, unsigned int, unsigned int, int)+0xc6 V [libjvm.so+0x3deca1] G1ParVerifyTask::work(unsigned int)+0x61 V [libjvm.so+0x811e09] GangWorker::loop()+0xe9 V [libjvm.so+0x811998] GangWorker::run()+0x18 V [libjvm.so+0x68bed9] java_start(Thread*)+0x119 C [libpthread.so.0+0x52ab] start_thread+0x8b
14-05-2013

another manifestation # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (g1CollectedHeap.cpp:3378), pid=17313, tid=2996247456 # guarantee(!failures) failed: there should not have been any failures # # JRE version: Java(TM) SE Runtime Environment (8.0-b89) (build 1.8.0-ea-b89) # Java VM: Java HotSpot(TM) Server VM (25.0-b31 mixed mode linux-x86 ) # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x08144000): VMThread [stack: 0xb28f1000,0xb2972000] [id=17328] Stack: [0xb28f1000,0xb2972000], sp=0xb2970dc0, free space=511k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x7f27c8] VMError::report_and_die()+0x198 V [libjvm.so+0x33eaa9] report_vm_error(char const*, int, char const*, char const*)+0x49 V [libjvm.so+0x3d5f6d] G1CollectedHeap::verify(bool, VerifyOption)+0x23d V [libjvm.so+0x7c2835] Universe::verify(VerifyOption, char const*, bool)+0x85 V [libjvm.so+0x7fc786] VMThread::run()+0x196 V [libjvm.so+0x68bed9] java_start(Thread*)+0x119 C [libpthread.so.0+0x52ab] start_thread+0x8b
14-05-2013

also vm may crash with SIGSEGV: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xfe3717c8, pid=29939, tid=5 # # JRE version: Java(TM) SE Runtime Environment (8.0-b89) (build 1.8.0-ea-b89) # Java VM: Java HotSpot(TM) Server VM (25.0-b31 mixed mode solaris-x86 ) # Problematic frame: # V [libjvm.so+0x7717c8] void VerifyFieldClosure::do_oop(oopDesc**)+0x40 # # Core dump written. Default location: /export/local/aurora/sandbox/results/ResultDir/GeneratedClassTest_1_20_10000_20_0.75d/core or core.29939 # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # Stack: [0xedc7f000,0xedcff000], sp=0xedcfeaf0, free space=510k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x7717c8] void VerifyFieldClosure::do_oop(oopDesc**)+0x40 V [libjvm.so+0x761dfe] int InstanceKlass::oop_oop_iterate_nv(oopDesc*,NoHeaderExtendedOopClosure*)+0xce V [libjvm.so+0x76dce0] void InstanceKlass::oop_verify_on(oopDesc*,outputStream*)+0x58 V [libjvm.so+0xb83b4a] void oopDesc::verify()+0x26 V [libjvm.so+0xb4b0ae] void MutableSpace::verify()+0x22 V [libjvm.so+0xc3606d] void PSYoungGen::verify()+0x19 V [libjvm.so+0xdaf19a] void Universe::verify(VerifyOption,const char*,bool)+0xd2 V [libjvm.so+0xe3000a] void VMThread::run()+0xbc6 V [libjvm.so+0xb974bd] java_start+0xaf5 C [libc.so.1+0xa71c0] _thr_setup+0x4e C [libc.so.1+0xa74b0] __moddi3+0x60
14-05-2013