[llvm-bugs] [Bug 42261] New: ASAN / check failed / ((__interception::real_memcpy)) != (0) and ((__interception::real_memset)) != (0)

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 12 14:30:33 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42261

            Bug ID: 42261
           Summary: ASAN / check failed / ((__interception::real_memcpy))
                    != (0) and ((__interception::real_memset)) != (0)
           Product: compiler-rt
           Version: 8.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: asan
          Assignee: unassignedbugs at nondot.org
          Reporter: robert.muench at saphirion.com
                CC: llvm-bugs at lists.llvm.org

* Windows-10
* 32-bit
* DLL project
* debug build
* /force:multiple necessary to get LNK2005 & LNK4006 problems solved

Linker warnings:

ucrt.lib(api-ms-win-crt-heap-l1-1-0.dll) : warning LNK4006: _calloc ist bereits
in "clang_rt.asan-i386.lib(asan_malloc_win.cc.obj)" definiert; zweite
Definition wird ignoriert.
ucrt.lib(api-ms-win-crt-heap-l1-1-0.dll) : warning LNK4006: _realloc ist
bereits in "clang_rt.asan-i386.lib(asan_malloc_win.cc.obj)" definiert; zweite
Definition wird ignoriert.
ucrt.lib(api-ms-win-crt-heap-l1-1-0.dll) : warning LNK4006: _free ist bereits
in "clang_rt.asan-i386.lib(asan_malloc_win.cc.obj)" definiert; zweite
Definition wird ignoriert.
ucrt.lib(api-ms-win-crt-heap-l1-1-0.dll) : warning LNK4006: _malloc ist bereits
in "clang_rt.asan-i386.lib(asan_malloc_win.cc.obj)" definiert; zweite
Definition wird ignoriert.


When starting my app with the compiled DLL the app exits and as debug output I
get:

[3940] ==3940==AddressSanitizer CHECK failed:
C:\src\llvm_package_800-final\llvm\projects\compiler-rt\lib\asan\..\sanitizer_common/sanitizer_common_interceptors.inc:9498
"((__interception::real_memcpy)) != (0)" (0x0, 0x0)

[3940] ==3940==AddressSanitizer CHECK failed:
C:\src\llvm_package_800-final\llvm\projects\compiler-rt\lib\asan\asan_poisoning.cc:40
"((__interception::real_memset)) != (0)" (0x0, 0x0)

-- 
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/20190612/df77e25b/attachment.html>


More information about the llvm-bugs mailing list