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

ubsan: deoptimization.cpp:403:29: runtime error: load of value 208, which is not a valid value for type 'bool'

XMLWordPrintable

    • b22
    • x86
    • os_x

        When using ubsan (configure flag --enable-ubsan) on macOS x86_64 we run into this error :

        /jdk/src/hotspot/share/runtime/deoptimization.cpp:403:29: runtime error: load of value 208, which is not a valid value for type 'bool'
            #0 0x10247693e in restore_eliminated_locks(JavaThread*, GrowableArray<compiledVFrame*>*, bool, frame&, int, bool&) deoptimization.cpp:403
            #1 0x102474b6f in Deoptimization::fetch_unroll_info_helper(JavaThread*, int) deoptimization.cpp:552
            #2 0x10247fae9 in Deoptimization::uncommon_trap(JavaThread*, int, int) deoptimization.cpp:2624
            #3 0x12846ab80 (<unknown module>)

        Reason might be an uninitialized bool variable on one code path.

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

                Created:
                Updated:
                Resolved: