[llvm-bugs] [Bug 44586] New: MSAN complains about uninitialized value in __cxxabiv1::__getExceptionClass

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 17 10:49:25 PST 2020


            Bug ID: 44586
           Summary: MSAN complains about uninitialized value in
           Product: libc++abi
           Version: 9.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: kyle.edwards at kitware.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

Created attachment 23027
  --> https://bugs.llvm.org/attachment.cgi?id=23027&action=edit
Log produced by MSAN

I'm attempting to memory-sanitize my program, and have run into an
uninitialized memory error that's being triggered when an exception is thrown
(in __cxxabiv1::__getExceptionClass), but only when libc++abi is compiled with
-DCMAKE_BUILD_TYPE=Release. When libc++abi is compiled with
-DCMAKE_BUILD_TYPE=Debug, this error does not manifest. I've tried using
__msan_print_shadow() inside __getExceptionClass() and it doesn't report
anything odd.

I've attached an MSAN log with stack traces, but I have not been able to come
up with a minimal working example yet (I will post it here if I do.)

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200117/c24a71b5/attachment.html>

More information about the llvm-bugs mailing list