[llvm-bugs] [Bug 34099] New: ASan check fails even on empty program

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 7 03:56:24 PDT 2017


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

            Bug ID: 34099
           Summary: ASan check fails even on empty program
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: zheltonozhskiy at gmail.com
                CC: llvm-bugs at lists.llvm.org

I'm using trunk clang from apt.llvm.org and ASan fails to pass checks. When I
compile any program with -fsanitize=address , even

int main() {return 0;}

the program crashes with 

==18343==AddressSanitizer CHECK failed:
/build/llvm-toolchain-snapshot-6.0~svn310042/projects/compiler-rt/lib/asan/asan_posix.cc:102
"((tsd_key_inited)) != (0)" (0x0, 0x0)
    <empty stack>

clang version 6.0.0-svn310042-1~exp1 (trunk)
Target: x86_64-pc-linux-gnu

-- 
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/20170807/2d1e7e4e/attachment-0001.html>


More information about the llvm-bugs mailing list