[Bug 52386] New: err:module:LdrInitializeThunk "libclang_rt.asan_dynamic-i386.dll" failed to initialize when using clang address sanitizer

WineHQ Bugzilla wine-bugs at winehq.org
Wed Jan 12 03:43:58 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=52386

            Bug ID: 52386
           Summary: err:module:LdrInitializeThunk
                    "libclang_rt.asan_dynamic-i386.dll" failed to
                    initialize when using clang address sanitizer
           Product: Wine
           Version: 5.0.5
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: ralf.habacker at freenet.de
      Distribution: ---

Created attachment 71603
  --> https://bugs.winehq.org/attachment.cgi?id=71603
testcase binary

This test case

$ cat use-after-free.cc
int main(int argc, char **argv) {
  int *array = new int[100];
  delete [] array;
  return array[argc]; // BOOM
}

compiled with 

$ i686-w64-mingw32-clang use-after-free.cc -fsanitize=address -g -o
use-after-free-i386.exe

makes wine fail with the error message in the title.

The compiler was downloaded from
https://github.com/mstorsjo/llvm-mingw/releases
(https://github.com/mstorsjo/llvm-mingw/releases/download/20211002/llvm-mingw-20211002-msvcrt-i686.zip)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list