Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8333639

ubsan: cppVtables.cpp:81:55: runtime error: index 14 out of bounds for type 'long int [1]'

    XMLWordPrintable

Details

    • b03
    • generic
    • linux

    Backports

      Description

        When running with ubsan enabled binaries, the following issue is reported already in the build (Linux x86_64 fastdebug) :

        jdk/src/hotspot/share/cds/cppVtables.cpp:81:55: runtime error: index 14 out of bounds for type 'long int [1]'
            #0 0x1519b8aeff95 in CppVtableCloner<ConstantPool>::allocate_and_initialize(char const*) (/support/interim-image/lib/server/libjvm.so+0x5803f95)
            #1 0x1519b8aeb109 in CppVtables::dumptime_init(ArchiveBuilder*) (/support/interim-image/lib/server/libjvm.so+0x57ff109)
            #2 0x1519ba16bc6b in VM_PopulateDumpSharedSpace::doit() (/support/interim-image/lib/server/libjvm.so+0x6e7fc6b)
            #3 0x1519bafdba4d in VM_Operation::evaluate() (/support/interim-image/lib/server/libjvm.so+0x7cefa4d)
            #4 0x1519bafea3b1 in VMThread::evaluate_operation(VM_Operation*) (/support/interim-image/lib/server/libjvm.so+0x7cfe3b1)
            #5 0x1519bafec3bf in VMThread::inner_execute(VM_Operation*) (/support/interim-image/lib/server/libjvm.so+0x7d003bf)
            #6 0x1519bafecf29 in VMThread::loop() (/support/interim-image/lib/server/libjvm.so+0x7d00f29)
            #7 0x1519bafed017 in VMThread::run() (/support/interim-image/lib/server/libjvm.so+0x7d01017)
            #8 0x1519bad7d03a in Thread::call_run() (/support/interim-image/lib/server/libjvm.so+0x7a9103a)
            #9 0x1519ba3c6421 in thread_native_entry(Thread*) (/support/interim-image/lib/server/libjvm.so+0x70da421)
            #10 0x1519c00ad6e9 in start_thread (/lib64/libpthread.so.0+0xa6e9) (BuildId: 2f8d3c2d0f4d7888c2598d2ff6356537f5708a73)
            #11 0x1519bf71550e in clone (/lib64/libc.so.6+0x11850e) (BuildId: f732026552f6adff988b338e92d466bc81a01c37)

        Attachments

          Issue Links

            Activity

              People

                mdoerr Martin Doerr
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: