-
Bug
-
Resolution: Unresolved
-
P4
-
21, 22
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 ()
/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 ()
- relates to
-
JDK-8300935 Turn ON runtime sanitizer in clang toolkit to find issues
- Closed