[LLVMbugs] [Bug 19554] New: leaks in unittests/CodeGen/DIEHashTest.cpp

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 25 04:19:47 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19554

            Bug ID: 19554
           Summary: leaks in unittests/CodeGen/DIEHashTest.cpp
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: kcc at google.com
                CC: dblaikie at gmail.com, echristo at gmail.com,
                    llvmbugs at cs.uiuc.edu
            Blocks: 19521
    Classification: Unclassified

Created attachment 12441
  --> http://llvm.org/bugs/attachment.cgi?id=12441&action=edit
full log

Running unittests/CodeGen/CodeGenTests under lsan or valgrind shows 
several leaks (maybe test-only). full log attached

Direct leak of 272 byte(s) in 1 object(s) allocated from:
    #0 0x4bf6d0 in operator new(unsigned long)
projects/compiler-rt/lib/asan/asan_new_delete.cc:62               
    #1 0x4dbe5e in (anonymous
namespace)::DIEHashTest_MemberBlock_Test::TestBody()
unittests/CodeGen/DIEHashTest.cpp:634
    #2 0x667ffd in HandleExceptionsInMethodIfSupported<testing::Test, void>
utils/unittest/googletest/src/gtest.cc:2145
    #3 0x667ffd in testing::Test::Run()
utils/unittest/googletest/src/gtest.cc:2161
    #4 0x6699a3 in testing::TestInfo::Run()
utils/unittest/googletest/src/gtest.cc:2309                          
    #5 0x66aab9 in testing::TestCase::Run()
utils/unittest/googletest/src/gtest.cc:2416                          
    #6 0x68102a in testing::internal::UnitTestImpl::RunAllTests()
utils/unittest/googletest/src/gtest.cc:4205
    #7 0x6801b5 in
HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>
utils/unittest/googletest/src/gtest.cc:2145
    #8 0x6801b5 in testing::UnitTest::Run()
utils/unittest/googletest/src/gtest.cc:3839
    #9 0x6a2942 in main utils/unittest/UnitTestMain/TestMain.cpp:48


Direct leak of 248 byte(s) in 1 object(s) allocated from:
    #0 0x4bf6d0 in operator new(unsigned long)
projects/compiler-rt/lib/asan/asan_new_delete.cc:62
    #1 0x4e0999 in (anonymous
namespace)::DIEHashTest_MemberSdata_Test::TestBody()
unittests/CodeGen/DIEHashTest.cpp:570
    #2 0x667ffd in HandleExceptionsInMethodIfSupported<testing::Test, void>
utils/unittest/googletest/src/gtest.cc:2145
    #3 0x667ffd in testing::Test::Run()
utils/unittest/googletest/src/gtest.cc:2161
    #4 0x6699a3 in testing::TestInfo::Run()
utils/unittest/googletest/src/gtest.cc:2309
    #5 0x66aab9 in testing::TestCase::Run()
utils/unittest/googletest/src/gtest.cc:2416
    #6 0x68102a in testing::internal::UnitTestImpl::RunAllTests()
utils/unittest/googletest/src/gtest.cc:4205
    #7 0x6801b5 in
HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>
utils/unittest/googletest/src/gtest.cc:2145
    #8 0x6801b5 in testing::UnitTest::Run()
utils/unittest/googletest/src/gtest.cc:3839
    #9 0x6a2942 in main utils/unittest/UnitTestMain/TestMain.cpp:48

-- 
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/20140425/66eddd4a/attachment.html>


More information about the llvm-bugs mailing list