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

UBSan enabled build fails in adlc on macOS

    XMLWordPrintable

Details

    • b21
    • generic
    • generic

    Backports

      Description

        When configuring with '--enable-ubsan' and doing a macOS x86_64 fastdebug build, I run into this build error after very short time :
        jdk/src/hotspot/share/adlc/adlparse.cpp:5228:36: runtime error: applying non-zero offset 1 to null pointer
            #0 0x103fa4b4b in ADLParser::skipws_common(bool) adlparse.cpp:5228
            #1 0x103f76aed in ADLParser::skipws() adlparse.hpp:271
            #2 0x103f763c6 in ADLParser::parse() adlparse.cpp:95
            #3 0x10407054d in main main.cpp:178
            #4 0x7fff2044ef3c in start+0x0 (libdyld.dylib:x86_64+0x15f3c)

        So it seems that UBSan support is currently not working, should be fixed.

        Attachments

          Issue Links

            Activity

              People

                mbaesken Matthias Baesken
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: