Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 16091 by daniel.r.kegel: DestructionObserver leak in  
IPC::SyncChannel::SyncContext::OnChannelOpened
http://code.google.com/p/chromium/issues/detail?id=16091

Very common in ui tests.

One way to repeat:
sh tools/valgrind/chrome_tests.sh -t ui --gtest_filter=OmniboxTest.Measure

Valgrind complains:

16 bytes in 1 blocks are definitely lost in loss record 243 of 1,320
    at operator new(unsigned int) (vg_replace_malloc.c:212)
    by std::vector<MessageLoop::DestructionObserver*,
std::allocator<MessageLoop::DestructionObserver*>
> ::_M_insert_aux(__gnu_cxx::__normal_iterator<MessageLoop::DestructionObser
ver**, std::vector<MessageLoop::DestructionObserver*,
std::allocator<MessageLoop::DestructionObserver*> > >,
MessageLoop::DestructionObserver* const&) (new_allocator.h:92)
    by
MessageLoop::AddDestructionObserver(MessageLoop::DestructionObserver*)
(stl_vector.h:694)
    by base::WaitableEventWatcher::StartWatching(base::WaitableEvent*,
base::WaitableEventWatcher::Delegate*)
(waitable_event_watcher_posix.cc:173)
    by IPC::SyncChannel::SyncContext::OnChannelOpened()
(ipc_sync_channel.cc:303)


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to