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

UB: Member call on address 0x00011432c7a1 with insufficient space for an object of type 'VMRegImpl'

XMLWordPrintable

      Undefined Behavior discovered after turning "UndefinedBehaviorSanitizer" in Xcode running simple HelloWorld java app. More info on clang undefined behavior sanitizer can be found https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html

      /Users/gerard/Work/tmp/jdk/src/hotspot/share/code/vmreg.cpp:33 Member call on address 0x00011432c7a1 with insufficient space for an object of type 'VMRegImpl'

      Insufficient object size
      #0 0x0000000110f817bf in __cxx_global_var_init.4 [inlined] at /Users/gerard/Work/tmp/jdk/src/hotspot/share/code/vmreg.cpp:33
      #1 0x0000000110f81798 in _GLOBAL__sub_I_vmreg.cpp ()
      #13 0x000000018733caa7 in dyld4::APIs::dlopen_from(char const*, int, void*) ()
      #14 0x00000001001050eb in LoadJavaVM at /Users/gerard/Work/tmp/jdk/src/java.base/macosx/native/libjli/java_md_macosx.m:553
      #15 0x000000010010124b in JLI_Launch at /Users/gerard/Work/tmp/jdk/src/java.base/share/native/libjli/java.c:295
      #16 0x0000000100003b9f in main at /Users/gerard/Work/tmp/jdk/src/java.base/share/native/launcher/main.c:166
      #17 0x0000000100105c4b in apple_main at /Users/gerard/Work/tmp/jdk/src/java.base/macosx/native/libjli/java_md_macosx.m:310
      #18 0x00000001000995d3 in _pthread_start ()

            Unassigned Unassigned
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: