JDK-8030955 : assert(_prologue != NULL) failed: prologue pointer must be initialized
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs25,8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-12-23
  • Updated: 2014-07-29
  • Resolved: 2014-01-06
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.
JDK 8 JDK 9
8u20Fixed 9 b02Fixed
Description
PIT jdk8 b122

#  Internal Error (/opt/jprt/T/P1/164525.amurillo/s/src/share/vm/runtime/perfMemory.cpp:158), pid=416, tid=4152118128
#  assert(_prologue != NULL) failed: prologue pointer must be initialized
#
# JRE version:  (8.0-b121) (build )
# Java VM: Java HotSpot(TM) Server VM (25.0-b64-internal-201312201645.amurillo.hs25-b64-snapshot-fastdebug mixed mode linux-x86 )
# Core dump written. Default location: /scratch/local/aurora/sandbox/results/ResultDir/b4359247/core or core.416
#
# 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 (0xf6114800):  JavaThread "Unknown thread" [_thread_in_vm, id=420, stack(0xf7774000,0xf77c5000)]

Stack: [0xf7774000,0xf77c5000],  sp=0xf77c3b60,  free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xdb0b05]  VMError::report_and_die()+0x185;;  VMError::report_and_die()+0x185
V  [libjvm.so+0x5c8dd8]  report_vm_error(char const*, int, char const*, char const*)+0x68;;  report_vm_error(char const*, int, char const*, char const*)+0x68
V  [libjvm.so+0xbd702f]  perfMemory_exit()+0x11f;;  perfMemory_exit()+0x11f
V  [libjvm.so+0xb703e8]  os::shutdown()+0x18;;  os::shutdown()+0x18
V  [libjvm.so+0x7f7cf4]  vm_shutdown_during_initialization(char const*, char const*)+0x94;;  vm_shutdown_during_initialization(char const*, char const*)+0x94
V  [libjvm.so+0x56f5a7]  ConcurrentG1Refine::ConcurrentG1Refine(G1CollectedHeap*)+0x257;;  ConcurrentG1Refine::ConcurrentG1Refine(G1CollectedHeap*)+0x257
V  [libjvm.so+0x6a8210]  G1CollectedHeap::initialize()+0xf0;;  G1CollectedHeap::initialize()+0xf0
V  [libjvm.so+0xd5fd05]  Universe::initialize_heap()+0xc5;;  Universe::initialize_heap()+0xc5
V  [libjvm.so+0xd60cc8]  universe_init()+0x88;;  universe_init()+0x88
V  [libjvm.so+0x775b3b]  init_globals()+0x5b;;  init_globals()+0x5b
V  [libjvm.so+0xd38200]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x280;;  Threads::create_vm(JavaVMInitArgs*, bool*)+0x280
V  [libjvm.so+0x8656fc]  JNI_CreateJavaVM+0x8c;;  JNI_CreateJavaVM+0x8c
C  [libjli.so+0x72a8]  JavaMain+0x98;;  JavaMain+0x98
C  [libpthread.so.0+0x6a49]  abort@@GLIBC_2.0+0x6a49

Comments
RULE vm/classfmt/cpl/cplcls002/cplcls00206m1/cplcls00206m1 Crash Internal Error ...perfMemory.cpp...assert(_prologue != NULL) failed: prologue pointer must be initialized RULE vm/classfmt/cpl/cplcls002/cplcls00206m1/cplcls00206m1 ExitCode 134
13-01-2014

If -XX:+PerfAllowAtExitRegistration is specified then PerfMemory::destroy() can get called twice, once during normal exit and once from perfMemory_exit_helper(). Perhaps the assert in PerfMemory::destroy() should be changed from assert(_prologue != NULL, "prologue pointer must be initialized"); to if (_prologue == NULL) return;
24-12-2013

This bug has symptoms similar to 4841481.
24-12-2013