Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Dev Platform 2022-02-21, Dev Platform 2022-03-07, Dev Platform 2022-03-21
Description
Compiling with UBSAN and --dbg=off results in the following runtime error:
[j0] src/third_party/unwind/dist/src/x86_64/Ginit.c:334:14: runtime error: load of misaligned address 0x7f102889a0ca for type 'unw_word_t' (aka 'unsigned long'), which requires 8 byte alignment
|
[j0] 0x7f102889a0ca: note: pointer points here
|
[j0] 66 f5 00 00 48 8d 15 cf f8 00 00 4c 89 ec 41 ff e4 66 0f 1f 84 00 00 00 00 00 83 47 04 01 c3 90
|
[j0] ^
|
Full build invocation:
./buildscripts/scons.py --modules= --dbg=off --opt=on --link-model=dynamic --sanitize=undefined --variables-files=./etc/scons/mongodbtoolchain_stable_clang.vars --ninja generate-ninja
|
When building with --dbg=on the runtime error disappears.