Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (true leak in PostTaskAndReplyImpl::PostTaskAndReply() if the reply is never ran, e.g., on shutdown -- NOT INTRODUCED BY THIS CL)
- Direct leak of 72 byte(s) in 1 object(s) allocated from:
- #0 0x4e064b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62
- #1 0x14b8e8b in base::internal::PostTaskAndReplyImpl::PostTaskAndReply(tracked_objects::Location const&, base::Callback\u003Cvoid ()> const&, base::Callback\u003Cvoid ()> const&) base/threading/post_task_and_reply_impl.cc:78
- #2 0x14b76da in base::TaskRunner::PostTaskAndReply(tracked_objects::Location const&, base::Callback\u003Cvoid ()> const&, base::Callback\u003Cvoid ()> const&) base/task_runner.cc:52
- #3 0x1411b8c in bool base::PostTaskAndReplyWithResult\u003Cbool, bool>(base::TaskRunner*, tracked_objects::Location const&, base::Callback\u003Cbool ()> const&, base::Callback\u003Cvoid (bool)> const&) base/task_runner_util.h:61
- #4 0x1416003 in base::ImportantFileWriter::WriteNow(std::string const&) base/files/important_file_writer.cc:130
- #5 0x1416511 in base::ImportantFileWriter::DoScheduledWrite() base/files/important_file_writer.cc:162
- #6 0x155a90f in CommitPendingWrite base/prefs/json_pref_store.cc:279
- #7 0x155a90f in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:352
- #8 0x155ab1d in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:351
- #9 0xc4ae61 in Release base/memory/ref_counted.h:131
- #10 0xc4ae61 in ~scoped_refptr base/memory/ref_counted.h:289
- #11 0xc4ae61 in base::JsonPrefStoreTest_RemoveClearsEmptyParent_Test::TestBody() base/prefs/json_pref_store_unittest.cc:326
- #12 0x160ee78 in HandleExceptionsInMethodIfSupported\u003Ctesting::Test, void> testing/gtest/src/gtest.cc:2045
- #13 0x160ee78 in testing::Test::Run() testing/gtest/src/gtest.cc:2061
- #14 0x1610f29 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2237
- #15 0x1611cb6 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
- #16 0x16228ca in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
- #17 0x1621f00 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
- #18 0x1621f00 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
- #19 0x159c83c in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
- #20 0x159c83c in base::TestSuite::Run() base/test/test_suite.cc:206
- #21 0x157bb5c in (anonymous namespace)::RunTestSuite(int, char**) base/test/run_all_unittests.cc:25
- #22 0x1580e17 in Run base/callback.h:401
- #23 0x1580e17 in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:494
- #24 0x157b9c2 in main base/test/run_all_unittests.cc:37
- #25 0x7f1ca239f76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226
- (Uh?! Leak in std::string::reserve()?!)
- Indirect leak of 1049 byte(s) in 1 object(s) allocated from:
- #0 0x4e064b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62
- #1 0x7f1ca2a0d739 in __gnu_cxx::new_allocator\u003Cchar>::allocate(unsigned long, void const*) /build/buildd/gcc-4.6-4.6.3/build/x86_64-linux-gnu/libstdc++-v3/include/ext/new_allocator.h:92
- #2 0x7f1ca2a0cd2c in std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator\u003Cchar> const&) /build/buildd/gcc-4.6-4.6.3/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:609
- #3 0x7f1ca2a0cf04 in std::string::_Rep::_M_clone(std::allocator\u003Cchar> const&, unsigned long) /build/buildd/gcc-4.6-4.6.3/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:631
- #4 0x7f1ca2a09c48 in std::string::reserve(unsigned long) /build/buildd/gcc-4.6-4.6.3/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:512
- #5 0x14268d1 in base::JSONWriter::WriteWithOptions(base::Value const*, int, std::string*) base/json/json_writer.cc:33
- #6 0x14262f9 in SerializeInternal base/json/json_string_value_serializer.cc:35
- #7 0x14262f9 in JSONStringValueSerializer::Serialize(base::Value const&) base/json/json_string_value_serializer.cc:16
- #8 0x155afe7 in SerializeData base/prefs/json_pref_store.cc:361
- #9 0x155afe7 in non-virtual thunk to JsonPrefStore::SerializeData(std::string*) base/prefs/json_pref_store.cc:362
- #10 0x1416500 in base::ImportantFileWriter::DoScheduledWrite() base/files/important_file_writer.cc:161
- #11 0x155a90f in CommitPendingWrite base/prefs/json_pref_store.cc:279
- #12 0x155a90f in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:352
- #13 0x155ab1d in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:351
- #14 0xc4ae61 in Release base/memory/ref_counted.h:131
- #15 0xc4ae61 in ~scoped_refptr base/memory/ref_counted.h:289
- #16 0xc4ae61 in base::JsonPrefStoreTest_RemoveClearsEmptyParent_Test::TestBody() base/prefs/json_pref_store_unittest.cc:326
- #17 0x160ee78 in HandleExceptionsInMethodIfSupported\u003Ctesting::Test, void> testing/gtest/src/gtest.cc:2045
- #18 0x160ee78 in testing::Test::Run() testing/gtest/src/gtest.cc:2061
- #19 0x1610f29 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2237
- #20 0x1611cb6 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
- #21 0x16228ca in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
- #22 0x1621f00 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
- #23 0x1621f00 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
- #24 0x159c83c in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
- #25 0x159c83c in base::TestSuite::Run() base/test/test_suite.cc:206
- #26 0x157bb5c in (anonymous namespace)::RunTestSuite(int, char**) base/test/run_all_unittests.cc:25
- #27 0x1580e17 in Run base/callback.h:401
- #28 0x1580e17 in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:494
- #29 0x157b9c2 in main base/test/run_all_unittests.cc:37
- #30 0x7f1ca239f76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226
- (Uh?! Leak in base::MessageLoop?! -- usage hasn't changed in this CL unless this is caused by the fact that the reply in PostTaskAndReply() is also leaked?)
- Indirect leak of 480 byte(s) in 1 object(s) allocated from:
- #0 0x4e064b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62
- #1 0x144a389 in allocate /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/ext/new_allocator.h:92
- #2 0x144a389 in _M_allocate_node /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_deque.h:525
- #3 0x144a389 in _M_create_nodes /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_deque.h:619
- #4 0x144a389 in std::_Deque_base\u003Cbase::PendingTask, std::allocator\u003Cbase::PendingTask> >::_M_initialize_map(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_deque.h:593
- #5 0x143ee95 in _Deque_base /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_deque.h:452
- #6 0x143ee95 in deque /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_deque.h:772
- #7 0x143ee95 in scoped_ptr base/pending_task.h:50
- #8 0x143ee95 in base::MessageLoop::MessageLoop(base::MessageLoop::Type) base/message_loop/message_loop.cc:135
- #9 0xc58581 in JsonPrefStoreTest base/prefs/json_pref_store_unittest.cc:86
- #10 0xc58581 in JsonPrefStoreTest_RemoveClearsEmptyParent_Test base/prefs/json_pref_store_unittest.cc:309
- #11 0xc58581 in testing::internal::TestFactoryImpl\u003Cbase::JsonPrefStoreTest_RemoveClearsEmptyParent_Test>::CreateTest() testing/gtest/include/gtest/internal/gtest-internal.h:443
- #12 0x1610f10 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::TestFactoryBase, testing::Test *> testing/gtest/src/gtest.cc:2045
- #13 0x1610f10 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2228
- #14 0x1611cb6 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
- #15 0x16228ca in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
- #16 0x1621f00 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
- #17 0x1621f00 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
- #18 0x159c83c in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
- #19 0x159c83c in base::TestSuite::Run() base/test/test_suite.cc:206
- #20 0x157bb5c in (anonymous namespace)::RunTestSuite(int, char**) base/test/run_all_unittests.cc:25
- #21 0x1580e17 in Run base/callback.h:401
- #22 0x1580e17 in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:494
- #23 0x157b9c2 in main base/test/run_all_unittests.cc:37
- #24 0x7f1ca239f76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226
- (again in MessageLoop?!)
- Indirect leak of 152 byte(s) in 1 object(s) allocated from:
- #0 0x4e064b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62
- #1 0x143f8cd in base::MessageLoop::Init() base/message_loop/message_loop.cc:380
- #2 0x143f49f in base::MessageLoop::MessageLoop(base::MessageLoop::Type) base/message_loop/message_loop.cc:136
- #3 0xc58581 in JsonPrefStoreTest base/prefs/json_pref_store_unittest.cc:86
- #4 0xc58581 in JsonPrefStoreTest_RemoveClearsEmptyParent_Test base/prefs/json_pref_store_unittest.cc:309
- #5 0xc58581 in testing::internal::TestFactoryImpl\u003Cbase::JsonPrefStoreTest_RemoveClearsEmptyParent_Test>::CreateTest() testing/gtest/include/gtest/internal/gtest-internal.h:443
- #6 0x1610f10 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::TestFactoryBase, testing::Test *> testing/gtest/src/gtest.cc:2045
- #7 0x1610f10 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2228
- #8 0x1611cb6 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
- #9 0x16228ca in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
- #10 0x1621f00 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
- #11 0x1621f00 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
- #12 0x159c83c in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
- #13 0x159c83c in base::TestSuite::Run() base/test/test_suite.cc:206
- #14 0x157bb5c in (anonymous namespace)::RunTestSuite(int, char**) base/test/run_all_unittests.cc:25
- #15 0x1580e17 in Run base/callback.h:401
- #16 0x1580e17 in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:494
- #17 0x157b9c2 in main base/test/run_all_unittests.cc:37
- #18 0x7f1ca239f76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226
- (again in std::string::reserve()?!)
- Indirect leak of 93 byte(s) in 1 object(s) allocated from:
- #0 0x4e064b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62
- #1 0x7f1ca2a0d739 in __gnu_cxx::new_allocator\u003Cchar>::allocate(unsigned long, void const*) /build/buildd/gcc-4.6-4.6.3/build/x86_64-linux-gnu/libstdc++-v3/include/ext/new_allocator.h:92
- #2 0x7f1ca2a0cd2c in std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator\u003Cchar> const&) /build/buildd/gcc-4.6-4.6.3/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:609
- #3 0x7f1ca2a0cf04 in std::string::_Rep::_M_clone(std::allocator\u003Cchar> const&, unsigned long) /build/buildd/gcc-4.6-4.6.3/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:631
- #4 0x7f1ca2a09c48 in std::string::reserve(unsigned long) /build/buildd/gcc-4.6-4.6.3/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:512
- #5 0x7f1ca2a0a391 in std::string::append(unsigned long, char) /build/buildd/gcc-4.6-4.6.3/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:290
- #6 0x14011b3 in base::FilePath::Append(std::string const&) const base/files/file_path.cc:510
- #7 0x14042eb in base::FilePath::AppendASCII(base::BasicStringPiece\u003Cstd::string> const&) const base/files/file_path.cc:528
- #8 0xc4a837 in base::JsonPrefStoreTest_RemoveClearsEmptyParent_Test::TestBody() base/prefs/json_pref_store_unittest.cc:310
- #9 0x160ee78 in HandleExceptionsInMethodIfSupported\u003Ctesting::Test, void> testing/gtest/src/gtest.cc:2045
- #10 0x160ee78 in testing::Test::Run() testing/gtest/src/gtest.cc:2061
- #11 0x1610f29 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2237
- #12 0x1611cb6 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
- #13 0x16228ca in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
- #14 0x1621f00 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
- #15 0x1621f00 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
- #16 0x159c83c in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
- #17 0x159c83c in base::TestSuite::Run() base/test/test_suite.cc:206
- #18 0x157bb5c in (anonymous namespace)::RunTestSuite(int, char**) base/test/run_all_unittests.cc:25
- #19 0x1580e17 in Run base/callback.h:401
- #20 0x1580e17 in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:494
- #21 0x157b9c2 in main base/test/run_all_unittests.cc:37
- #22 0x7f1ca239f76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226
- (again in MessageLoop?)
- Indirect leak of 64 byte(s) in 1 object(s) allocated from:
- #0 0x4e064b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62
- #1 0x144a321 in allocate /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/ext/new_allocator.h:92
- #2 0x144a321 in _M_allocate_map /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_deque.h:536
- #3 0x144a321 in std::_Deque_base\u003Cbase::PendingTask, std::allocator\u003Cbase::PendingTask> >::_M_initialize_map(unsigned long) /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_deque.h:581
- #4 0x143ee95 in _Deque_base /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_deque.h:452
- #5 0x143ee95 in deque /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_deque.h:772
- #6 0x143ee95 in scoped_ptr base/pending_task.h:50
- #7 0x143ee95 in base::MessageLoop::MessageLoop(base::MessageLoop::Type) base/message_loop/message_loop.cc:135
- #8 0xc58581 in JsonPrefStoreTest base/prefs/json_pref_store_unittest.cc:86
- #9 0xc58581 in JsonPrefStoreTest_RemoveClearsEmptyParent_Test base/prefs/json_pref_store_unittest.cc:309
- #10 0xc58581 in testing::internal::TestFactoryImpl\u003Cbase::JsonPrefStoreTest_RemoveClearsEmptyParent_Test>::CreateTest() testing/gtest/include/gtest/internal/gtest-internal.h:443
- #11 0x1610f10 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::TestFactoryBase, testing::Test *> testing/gtest/src/gtest.cc:2045
- #12 0x1610f10 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2228
- #13 0x1611cb6 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
- #14 0x16228ca in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
- #15 0x1621f00 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
- #16 0x1621f00 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
- #17 0x159c83c in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
- #18 0x159c83c in base::TestSuite::Run() base/test/test_suite.cc:206
- #19 0x157bb5c in (anonymous namespace)::RunTestSuite(int, char**) base/test/run_all_unittests.cc:25
- #20 0x1580e17 in Run base/callback.h:401
- #21 0x1580e17 in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:494
- #22 0x157b9c2 in main base/test/run_all_unittests.cc:37
- #23 0x7f1ca239f76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226
- (this is the BindState for the original reply callback being leaked)
- Indirect leak of 48 byte(s) in 1 object(s) allocated from:
- #0 0x4e064b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62
- #1 0x1415ecd in Bind\u003Cvoid (base::ImportantFileWriter::*)(bool), base::WeakPtr\u003Cbase::ImportantFileWriter> > base/bind.h:117
- #2 0x1415ecd in base::ImportantFileWriter::WriteNow(std::string const&) base/files/important_file_writer.cc:135
- #3 0x1416511 in base::ImportantFileWriter::DoScheduledWrite() base/files/important_file_writer.cc:162
- #4 0x155a90f in CommitPendingWrite base/prefs/json_pref_store.cc:279
- #5 0x155a90f in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:352
- #6 0x155ab1d in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:351
- #7 0xc4ae61 in Release base/memory/ref_counted.h:131
- #8 0xc4ae61 in ~scoped_refptr base/memory/ref_counted.h:289
- #9 0xc4ae61 in base::JsonPrefStoreTest_RemoveClearsEmptyParent_Test::TestBody() base/prefs/json_pref_store_unittest.cc:326
- #10 0x160ee78 in HandleExceptionsInMethodIfSupported\u003Ctesting::Test, void> testing/gtest/src/gtest.cc:2045
- #11 0x160ee78 in testing::Test::Run() testing/gtest/src/gtest.cc:2061
- #12 0x1610f29 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2237
- #13 0x1611cb6 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
- #14 0x16228ca in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
- #15 0x1621f00 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
- #16 0x1621f00 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
- #17 0x159c83c in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
- #18 0x159c83c in base::TestSuite::Run() base/test/test_suite.cc:206
- #19 0x157bb5c in (anonymous namespace)::RunTestSuite(int, char**) base/test/run_all_unittests.cc:25
- #20 0x1580e17 in Run base/callback.h:401
- #21 0x1580e17 in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:494
- #22 0x157b9c2 in main base/test/run_all_unittests.cc:37
- #23 0x7f1ca239f76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226
- (again leaking the reply's bind state)
- Indirect leak of 48 byte(s) in 1 object(s) allocated from:
- #0 0x4e064b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62
- #1 0x1411935 in Bind\u003Cvoid (*)(const base::Callback\u003Cbool ()> &, bool *), base::Callback\u003Cbool ()>, bool *> base/bind.h:168
- #2 0x1411935 in bool base::PostTaskAndReplyWithResult\u003Cbool, bool>(base::TaskRunner*, tracked_objects::Location const&, base::Callback\u003Cbool ()> const&, base::Callback\u003Cvoid (bool)> const&) base/task_runner_util.h:63
- #3 0x1416003 in base::ImportantFileWriter::WriteNow(std::string const&) base/files/important_file_writer.cc:130
- #4 0x1416511 in base::ImportantFileWriter::DoScheduledWrite() base/files/important_file_writer.cc:162
- #5 0x155a90f in CommitPendingWrite base/prefs/json_pref_store.cc:279
- #6 0x155a90f in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:352
- #7 0x155ab1d in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:351
- #8 0xc4ae61 in Release base/memory/ref_counted.h:131
- #9 0xc4ae61 in ~scoped_refptr base/memory/ref_counted.h:289
- #10 0xc4ae61 in base::JsonPrefStoreTest_RemoveClearsEmptyParent_Test::TestBody() base/prefs/json_pref_store_unittest.cc:326
- #11 0x160ee78 in HandleExceptionsInMethodIfSupported\u003Ctesting::Test, void> testing/gtest/src/gtest.cc:2045
- #12 0x160ee78 in testing::Test::Run() testing/gtest/src/gtest.cc:2061
- #13 0x1610f29 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2237
- #14 0x1611cb6 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
- #15 0x16228ca in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
- #16 0x1621f00 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
- #17 0x1621f00 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
- #18 0x159c83c in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
- #19 0x159c83c in base::TestSuite::Run() base/test/test_suite.cc:206
- #20 0x157bb5c in (anonymous namespace)::RunTestSuite(int, char**) base/test/run_all_unittests.cc:25
- #21 0x1580e17 in Run base/callback.h:401
- #22 0x1580e17 in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:494
- #23 0x157b9c2 in main base/test/run_all_unittests.cc:37
- #24 0x7f1ca239f76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226
- (again leaking the reply's bind state)
- Indirect leak of 48 byte(s) in 1 object(s) allocated from:
- #0 0x4e064b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62
- #1 0x1411a5c in Bind\u003Cvoid (*)(const base::Callback\u003Cvoid (bool)> &, bool *), base::Callback\u003Cvoid (bool)>, base::internal::OwnedWrapper\u003Cbool> > base/bind.h:168
- #2 0x1411a5c in bool base::PostTaskAndReplyWithResult\u003Cbool, bool>(base::TaskRunner*, tracked_objects::Location const&, base::Callback\u003Cbool ()> const&, base::Callback\u003Cvoid (bool)> const&) base/task_runner_util.h:65
- #3 0x1416003 in base::ImportantFileWriter::WriteNow(std::string const&) base/files/important_file_writer.cc:130
- #4 0x1416511 in base::ImportantFileWriter::DoScheduledWrite() base/files/important_file_writer.cc:162
- #5 0x155a90f in CommitPendingWrite base/prefs/json_pref_store.cc:279
- #6 0x155a90f in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:352
- #7 0x155ab1d in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:351
- #8 0xc4ae61 in Release base/memory/ref_counted.h:131
- #9 0xc4ae61 in ~scoped_refptr base/memory/ref_counted.h:289
- #10 0xc4ae61 in base::JsonPrefStoreTest_RemoveClearsEmptyParent_Test::TestBody() base/prefs/json_pref_store_unittest.cc:326
- #11 0x160ee78 in HandleExceptionsInMethodIfSupported\u003Ctesting::Test, void> testing/gtest/src/gtest.cc:2045
- #12 0x160ee78 in testing::Test::Run() testing/gtest/src/gtest.cc:2061
- #13 0x1610f29 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2237
- #14 0x1611cb6 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
- #15 0x16228ca in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
- #16 0x1621f00 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
- #17 0x1621f00 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
- #18 0x159c83c in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
- #19 0x159c83c in base::TestSuite::Run() base/test/test_suite.cc:206
- #20 0x157bb5c in (anonymous namespace)::RunTestSuite(int, char**) base/test/run_all_unittests.cc:25
- #21 0x1580e17 in Run base/callback.h:401
- #22 0x1580e17 in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:494
- #23 0x157b9c2 in main base/test/run_all_unittests.cc:37
- #24 0x7f1ca239f76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226
- (again leaking the reply's bind state)
- Indirect leak of 40 byte(s) in 1 object(s) allocated from:
- #0 0x4e064b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62
- #1 0x1415d20 in Bind\u003Cbool (*)(const base::FilePath &, const std::basic_string\u003Cchar> &), base::FilePath, std::basic_string\u003Cchar> > base/bind.h:168
- #2 0x1415d20 in base::ImportantFileWriter::WriteNow(std::string const&) base/files/important_file_writer.cc:134
- #3 0x1416511 in base::ImportantFileWriter::DoScheduledWrite() base/files/important_file_writer.cc:162
- #4 0x155a90f in CommitPendingWrite base/prefs/json_pref_store.cc:279
- #5 0x155a90f in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:352
- #6 0x155ab1d in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:351
- #7 0xc4ae61 in Release base/memory/ref_counted.h:131
- #8 0xc4ae61 in ~scoped_refptr base/memory/ref_counted.h:289
- #9 0xc4ae61 in base::JsonPrefStoreTest_RemoveClearsEmptyParent_Test::TestBody() base/prefs/json_pref_store_unittest.cc:326
- #10 0x160ee78 in HandleExceptionsInMethodIfSupported\u003Ctesting::Test, void> testing/gtest/src/gtest.cc:2045
- #11 0x160ee78 in testing::Test::Run() testing/gtest/src/gtest.cc:2061
- #12 0x1610f29 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2237
- #13 0x1611cb6 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
- #14 0x16228ca in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
- #15 0x1621f00 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
- #16 0x1621f00 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
- #17 0x159c83c in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
- #18 0x159c83c in base::TestSuite::Run() base/test/test_suite.cc:206
- #19 0x157bb5c in (anonymous namespace)::RunTestSuite(int, char**) base/test/run_all_unittests.cc:25
- #20 0x1580e17 in Run base/callback.h:401
- #21 0x1580e17 in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:494
- #22 0x157b9c2 in main base/test/run_all_unittests.cc:37
- #23 0x7f1ca239f76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226
- (again base::MessageLoop)
- Indirect leak of 32 byte(s) in 1 object(s) allocated from:
- #0 0x4e064b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62
- #1 0x143f962 in base::MessageLoop::Init() base/message_loop/message_loop.cc:381
- #2 0x143f49f in base::MessageLoop::MessageLoop(base::MessageLoop::Type) base/message_loop/message_loop.cc:136
- #3 0xc58581 in JsonPrefStoreTest base/prefs/json_pref_store_unittest.cc:86
- #4 0xc58581 in JsonPrefStoreTest_RemoveClearsEmptyParent_Test base/prefs/json_pref_store_unittest.cc:309
- #5 0xc58581 in testing::internal::TestFactoryImpl\u003Cbase::JsonPrefStoreTest_RemoveClearsEmptyParent_Test>::CreateTest() testing/gtest/include/gtest/internal/gtest-internal.h:443
- #6 0x1610f10 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::TestFactoryBase, testing::Test *> testing/gtest/src/gtest.cc:2045
- #7 0x1610f10 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2228
- #8 0x1611cb6 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
- #9 0x16228ca in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
- #10 0x1621f00 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
- #11 0x1621f00 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
- #12 0x159c83c in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
- #13 0x159c83c in base::TestSuite::Run() base/test/test_suite.cc:206
- #14 0x157bb5c in (anonymous namespace)::RunTestSuite(int, char**) base/test/run_all_unittests.cc:25
- #15 0x1580e17 in Run base/callback.h:401
- #16 0x1580e17 in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:494
- #17 0x157b9c2 in main base/test/run_all_unittests.cc:37
- #18 0x7f1ca239f76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226
- (weak ref inside leaked BindState)
- Indirect leak of 8 byte(s) in 1 object(s) allocated from:
- #0 0x4e064b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62
- #1 0x143eb03 in base::internal::WeakReferenceOwner::GetRef() const base/memory/weak_ptr.cc:55
- #2 0x1415e61 in GetWeakPtr base/memory/weak_ptr.h:270
- #3 0x1415e61 in base::ImportantFileWriter::WriteNow(std::string const&) base/files/important_file_writer.cc:136
- #4 0x1416511 in base::ImportantFileWriter::DoScheduledWrite() base/files/important_file_writer.cc:162
- #5 0x155a90f in CommitPendingWrite base/prefs/json_pref_store.cc:279
- #6 0x155a90f in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:352
- #7 0x155ab1d in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:351
- #8 0xc4ae61 in Release base/memory/ref_counted.h:131
- #9 0xc4ae61 in ~scoped_refptr base/memory/ref_counted.h:289
- #10 0xc4ae61 in base::JsonPrefStoreTest_RemoveClearsEmptyParent_Test::TestBody() base/prefs/json_pref_store_unittest.cc:326
- #11 0x160ee78 in HandleExceptionsInMethodIfSupported\u003Ctesting::Test, void> testing/gtest/src/gtest.cc:2045
- #12 0x160ee78 in testing::Test::Run() testing/gtest/src/gtest.cc:2061
- #13 0x1610f29 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2237
- #14 0x1611cb6 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
- #15 0x16228ca in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
- #16 0x1621f00 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
- #17 0x1621f00 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
- #18 0x159c83c in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
- #19 0x159c83c in base::TestSuite::Run() base/test/test_suite.cc:206
- #20 0x157bb5c in (anonymous namespace)::RunTestSuite(int, char**) base/test/run_all_unittests.cc:25
- #21 0x1580e17 in Run base/callback.h:401
- #22 0x1580e17 in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:494
- #23 0x157b9c2 in main base/test/run_all_unittests.cc:37
- #24 0x7f1ca239f76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226
- (adapters for PostTaskAndReplyWithResult with leaked reply)
- Indirect leak of 1 byte(s) in 1 object(s) allocated from:
- #0 0x4e064b in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:62
- #1 0x1411902 in bool base::PostTaskAndReplyWithResult\u003Cbool, bool>(base::TaskRunner*, tracked_objects::Location const&, base::Callback\u003Cbool ()> const&, base::Callback\u003Cvoid (bool)> const&) base/task_runner_util.h:60
- #2 0x1416003 in base::ImportantFileWriter::WriteNow(std::string const&) base/files/important_file_writer.cc:130
- #3 0x1416511 in base::ImportantFileWriter::DoScheduledWrite() base/files/important_file_writer.cc:162
- #4 0x155a90f in CommitPendingWrite base/prefs/json_pref_store.cc:279
- #5 0x155a90f in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:352
- #6 0x155ab1d in JsonPrefStore::~JsonPrefStore() base/prefs/json_pref_store.cc:351
- #7 0xc4ae61 in Release base/memory/ref_counted.h:131
- #8 0xc4ae61 in ~scoped_refptr base/memory/ref_counted.h:289
- #9 0xc4ae61 in base::JsonPrefStoreTest_RemoveClearsEmptyParent_Test::TestBody() base/prefs/json_pref_store_unittest.cc:326
- #10 0x160ee78 in HandleExceptionsInMethodIfSupported\u003Ctesting::Test, void> testing/gtest/src/gtest.cc:2045
- #11 0x160ee78 in testing::Test::Run() testing/gtest/src/gtest.cc:2061
- #12 0x1610f29 in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2237
- #13 0x1611cb6 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
- #14 0x16228ca in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
- #15 0x1621f00 in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
- #16 0x1621f00 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
- #17 0x159c83c in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
- #18 0x159c83c in base::TestSuite::Run() base/test/test_suite.cc:206
- #19 0x157bb5c in (anonymous namespace)::RunTestSuite(int, char**) base/test/run_all_unittests.cc:25
- #20 0x1580e17 in Run base/callback.h:401
- #21 0x1580e17 in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:494
- #22 0x157b9c2 in main base/test/run_all_unittests.cc:37
- #23 0x7f1ca239f76c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226
- SUMMARY: AddressSanitizer: 2135 byte(s) leaked in 13 allocation(s).
Advertisement
Add Comment
Please, Sign In to add comment