IBM Support

IV99781: ASSERTION OR CRASH IN SCAVENGERROOTCLEARER ON WINDOWS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: 0x2b5ee00    j9mm.107    *   ** ASSERTION FAILED
    ** at ../../gc_glue_java/ScavengerRootClearer.cpp:45: ((false &&
    (_scavenger->isObjectInNewSpace(referenceObj))))
    or
    j> 20:44:13 Unhandled exception
    j> 20:44:13 Type=Segmentation error vmState=0x0002000f
    j> 20:44:13 Windows_ExceptionCode=c0000005
    J9Generic_Signal=00000004 ExceptionAddress=000007FEF1AB12C8
    ContextFlags=0010001f
    j> 20:44:13 Handler1=000007FEF307FA20 Handler2=000007FEF32EC4B0
    InaccessibleReadAddress=0000000000000036
    j> 20:44:13 RDI=00000000FFF70320 RSI=0000000000040000
    RAX=0000000000000000 RBX=000007FEF1BC1820
    j> 20:44:13 RCX=0000000000000000 RDX=00000000FFF70328
    R8=0000000000000036 R9=000007FEF1BC17F0
    j> 20:44:13 R10=000007FEF1BC1980 R11=000007FEF1BC19C0
    R12=0000000012C8DAF8 R13=00000000225EF138
    j> 20:44:13 R14=0000000012C8DBE8 R15=0000000000000002
    j> 20:44:13 RIP=000007FEF1AB12C8 RSP=00000000225EEEE0
    RBP=0000000000000000 GS=002B
    j> 20:44:13 FS=0053 ES=002B DS=002B
    j> 20:44:13 XMM0 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM1 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM2 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM3 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM4 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM5 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM6 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM7 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM8 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM9 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM10 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM11 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM12 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM13 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM14 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13 XMM15 0000000000000000 (f: 0.000000, d:
    0.000000e+000)
    j> 20:44:13
    Module=W:\builds\bld_346049\sdk\wa6480\jre\bin\compressedrefs\j9
    gc29.dll
    j> 20:44:13 Module_base_address=000007FEF18E0000
    Offset_in_DLL=00000000001d12c8
    j> 20:44:13 Target=2_90_20170501_346049 (Windows 7 6.1 build
    7601 Service Pack 1)
    j> 20:44:13 CPU=amd64 (6 logical CPUs) (0x3fff8e000 RAM)
    j> 20:44:13 ----------- Stack Backtrace -----------
    j> 20:44:14 MM_ScavengerRootClearer::processReferenceList+0x268
    (scavengerrootclearer.cpp:52, 0x000007FEF1AB12C8
    <OSB>j9gc29+0x1d12c8<CSB>)
    j> 20:44:14
    MM_ScavengerRootClearer::scavengeReferenceObjects+0x2bd
    (scavengerrootclearer.cpp:99, 0x000007FEF1AB17BD
    <OSB>j9gc29+0x1d17bd<CSB>)
    j> 20:44:14
    MM_ScavengerRootClearer::scanWeakReferenceObjects+0x5e
    (scavengerrootclearer.hpp:90, 0x000007FEF1A431CE
    <OSB>j9gc29+0x1631ce<CSB>)
    j> 20:44:14 MM_RootScanner::scanClearable+0x41
    (rootscanner.cpp:901, 0x000007FEF18F2771
    <OSB>j9gc29+0x12771<CSB>)
    j> 20:44:14 MM_Scavenger::workThreadGarbageCollect+0xc2
    (scavenger.cpp:2029, 0x000007FEF1A61522
    <OSB>j9gc29+0x181522<CSB>)
    j> 20:44:14 MM_ParallelDispatcher::slaveEntryPoint+0x8a
    (paralleldispatcher.cpp:169, 0x000007FEF1A068BA
    <OSB>j9gc29+0x1268ba<CSB>)
    j> 20:44:14 dispatcher_thread_proc2+0x18f
    (paralleldispatcher.cpp:92, 0x000007FEF1A066BF
    <OSB>j9gc29+0x1266bf<CSB>)
    j> 20:44:14 omrsig_protect+0x206 (omrsignal.c:220,
    0x000007FEF32ED056 <OSB>j9prt29+0x2d056<CSB>)
    j> 20:44:14 dispatcher_thread_proc+0x48
    (paralleldispatcher.cpp:131, 0x000007FEF1A06818
    <OSB>j9gc29+0x126818<CSB>)
    j> 20:44:14 thread_wrapper+0x11e (omrthread.c:1596,
    0x000007FEF6A05D6E <OSB>J9THR29+0x5d6e<CSB>)
    j> 20:44:14 _endthreadex+0x43 (0x0000000070ED1DB7
    <OSB>MSVCR100+0x21db7<CSB>)
    j> 20:44:14 _endthreadex+0xdf (0x0000000070ED1E53
    <OSB>MSVCR100+0x21e53<CSB>)
    j> 20:44:14 BaseThreadInitThunk+0xd (0x00000000775959CD
    <OSB>kernel32+0x159cd<CSB>)
    j> 20:44:14 RtlUserThreadStart+0x21 (0x00000000776CA561
    <OSB>ntdll+0x2a561<CSB>)
    .
    Stack Trace: j> 20:44:13 ----------- Stack Backtrace -----------
    j> 20:44:14 MM_ScavengerRootClearer::processReferenceList+0x268
    (scavengerrootclearer.cpp:52, 0x000007FEF1AB12C8
    <OSB>j9gc29+0x1d12c8<CSB>)
    j> 20:44:14
    MM_ScavengerRootClearer::scavengeReferenceObjects+0x2bd
    (scavengerrootclearer.cpp:99, 0x000007FEF1AB17BD
    <OSB>j9gc29+0x1d17bd<CSB>)
    j> 20:44:14
    MM_ScavengerRootClearer::scanWeakReferenceObjects+0x5e
    (scavengerrootclearer.hpp:90, 0x000007FEF1A431CE
    <OSB>j9gc29+0x1631ce<CSB>)
    j> 20:44:14 MM_RootScanner::scanClearable+0x41
    (rootscanner.cpp:901, 0x000007FEF18F2771
    <OSB>j9gc29+0x12771<CSB>)
    j> 20:44:14 MM_Scavenger::workThreadGarbageCollect+0xc2
    (scavenger.cpp:2029, 0x000007FEF1A61522
    <OSB>j9gc29+0x181522<CSB>)
    j> 20:44:14 MM_ParallelDispatcher::slaveEntryPoint+0x8a
    (paralleldispatcher.cpp:169, 0x000007FEF1A068BA
    <OSB>j9gc29+0x1268ba<CSB>)
    j> 20:44:14 dispatcher_thread_proc2+0x18f
    (paralleldispatcher.cpp:92, 0x000007FEF1A066BF
    <OSB>j9gc29+0x1266bf<CSB>)
    j> 20:44:14 omrsig_protect+0x206 (omrsignal.c:220,
    0x000007FEF32ED056 <OSB>j9prt29+0x2d056<CSB>)
    j> 20:44:14 dispatcher_thread_proc+0x48
    (paralleldispatcher.cpp:131, 0x000007FEF1A06818
    <OSB>j9gc29+0x126818<CSB>)
    j> 20:44:14 thread_wrapper+0x11e (omrthread.c:1596,
    0x000007FEF6A05D6E <OSB>J9THR29+0x5d6e<CSB>)
    j> 20:44:14 _endthreadex+0x43 (0x0000000070ED1DB7
    <OSB>MSVCR100+0x21db7<CSB>)
    j> 20:44:14 _endthreadex+0xdf (0x0000000070ED1E53
    <OSB>MSVCR100+0x21e53<CSB>)
    j> 20:44:14 BaseThreadInitThunk+0xd (0x00000000775959CD
    <OSB>kernel32+0x159cd<CSB>)
    j> 20:44:14 RtlUserThreadStart+0x21 (0x00000000776CA561
    <OSB>ntdll+0x2a561<CSB>)
    .
    Occur with Gencon GC policy on Windows only
    

Local fix

  • Use GC policy other then Gencon or run with -Xgcthreads1
    

Problem summary

  • Missed write barrier for multi threaded environment
    

Problem conclusion

  • Threads synchronization has been fixed
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5       (8.0.5.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV99781

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-09-11

  • Closed date

    2017-09-11

  • Last modified date

    2017-09-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 February 2022