[llvm-bugs] [Bug 27235] New: Race condition in lib/asan/tests/asan_test_main.cc

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 5 19:16:21 PDT 2016


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

            Bug ID: 27235
           Summary: Race condition in lib/asan/tests/asan_test_main.cc
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

gdb) bt
#0  AsanDie ()
    at
/export/gnu/import/git/llvm-x32/projects/compiler-rt/lib/asan/asan_rtl.cc:46
#1  0x0811e388 in __sanitizer::Die() ()
    at
/export/gnu/import/git/llvm-x32/projects/compiler-rt/lib/sanitizer_common/sanitizer_common.cc:144
#2  0x08117b45 in ~ScopedInErrorReport ()
    at
/export/gnu/import/git/llvm-x32/projects/compiler-rt/lib/asan/asan_report.cc:713
#3  0x08117374 in ReportGenericError ()
    at
/export/gnu/import/git/llvm-x32/projects/compiler-rt/lib/asan/asan_report.cc:1199
#4  0x08118039 in __asan_report_store1 ()
    at
/export/gnu/import/git/llvm-x32/projects/compiler-rt/lib/asan/asan_rtl.cc:134
#5  0x082a8a18 in TestBody ()
    at
/export/gnu/import/git/llvm-x32/projects/compiler-rt/lib/asan/tests/asan_test.cc:984
#6  0x081688e0 in HandleSehExceptionsInMethodIfSupported<testing::Test, void>
    ()
    at
/export/gnu/import/git/llvm-x32/utils/unittest/googletest/src/gtest.cc:2090
#7  HandleExceptionsInMethodIfSupported<testing::Test, void> ()
    at
/export/gnu/import/git/llvm-x32/utils/unittest/googletest/src/gtest.cc:2126
#8  0x081680d5 in Run ()
    at
/export/gnu/import/git/llvm-x32/utils/unittest/googletest/src/gtest.cc:2161
#9  0x0816cb16 in Run ()
    at
/export/gnu/import/git/llvm-x32/utils/unittest/googletest/src/gtest.cc:2309
#10 0x0816ef5f in Run ()
    at
/export/gnu/import/git/llvm-x32/utils/unittest/googletest/src/gtest.cc:2416
#11 0x08186352 in RunAllTests ()
    at
/export/gnu/import/git/llvm-x32/utils/unittest/googletest/src/gtest.cc:4207
#12 0x0818568e in
HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>
()
    at
/export/gnu/import/git/llvm-x32/utils/unittest/googletest/src/gtest.cc:2090
#13 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>
    ()
    at
/export/gnu/import/git/llvm-x32/utils/unittest/googletest/src/gtest.cc:2126
#14 0x0818540a in Run ()
    at
/export/gnu/import/git/llvm-x32/utils/unittest/googletest/src/gtest.cc:3841
#15 0x083872c7 in main ()
    at
/export/gnu/import/git/llvm-x32/projects/compiler-rt/lib/asan/tests/asan_test_main.cc:38
(gdb) f 0
#0  AsanDie ()
    at
/export/gnu/import/git/llvm-x32/projects/compiler-rt/lib/asan/asan_rtl.cc:46
46        while (1) { }
(gdb) 

I am using revision 265378.

-- 
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/20160406/47fd4e01/attachment.html>


More information about the llvm-bugs mailing list