https://llvm.org/bugs/show_bug.cgi?id=24237
Bug ID: 24237 Summary: attempting to call malloc_usable_size() for pointer which is not owned: Product: compiler-rt Version: unspecified Hardware: PC OS: other Status: NEW Severity: normal Priority: P Component: compiler-rt Assignee: unassignedb...@nondot.org Reporter: raymond.for...@gmail.com CC: llvmbugs@cs.uiuc.edu Classification: Unclassified I have successfully built firefox on Windows 8 using Clang and ASAN but I am getting the following error on startup. rforbes@FUZZER-WINDOWS /c/src/mozilla-central $ mach run 0:00.80 c:\src\mozilla-central\obj-ff-asan\dist\bin\firefox.exe -no-remote -profile c:\src\mozilla-central\obj-ff-asan\tmp\scratc h_user ================================================================= ==2768==ERROR: AddressSanitizer: attempting to call malloc_usable_size() for pointer which is not owned: 0x059fef80 #0 0x647a07d5 in _msize c:\tools\llvm\projects\compiler-rt\lib\asan\asan_malloc_win.cc:109 #1 0x69c7bf06 in onexit+0x9b (C:\windows\SYSTEM32\MSVCR120.dll+0x2bf06) #2 0x69c7be8b in onexit+0x20 (C:\windows\SYSTEM32\MSVCR120.dll+0x2be8b) #3 0xb66635 in _onexit f:\dd\vctools\crt\crtw32\dllstuff\atonexit.c:138 #4 0xb666ba in atexit f:\dd\vctools\crt\crtw32\dllstuff\atonexit.c:175 #5 0xb660b9 in `anonymous namespace'::ScheduleUnregisterGlobals c:\tools\llvm\projects\compiler-rt\lib\asan\asan_win_dynamic_r untime_thunk.cc:72 #6 0xb66487 in __tmainCRTStartup f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:532 #7 0x76017c03 in BaseThreadInitThunk+0x23 (C:\windows\SYSTEM32\KERNEL32.DLL+0x17c03) #8 0x7792ad1e in RtlInitializeExceptionChain+0x8e (C:\windows\SYSTEM32\ntdll.dll+0x5ad1e) #9 0x7792ace9 in RtlInitializeExceptionChain+0x59 (C:\windows\SYSTEM32\ntdll.dll+0x5ace9) AddressSanitizer can not describe address in more detail (wild memory access suspected). SUMMARY: AddressSanitizer: bad-malloc_usable_size c:\tools\llvm\projects\compiler-rt\lib\asan\asan_malloc_win.cc:109 in _msize ==2768==ABORTING ==2768==AddressSanitizer: while reporting a bug found another one. Ignoring. rforbes@FUZZER-WINDOWS /c/src/mozilla-central $ I know there is a asan option to disable tracking of usable size but I am hoping to get a long term solution for this. Is there anything I can do to narrow down exactly what part of the code is causing this error? Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list LLVMbugs@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs