Status: Untriaged
Owner: ----
Labels: Type-Bug Pri-2 OS-Linux Area-BrowserBackend Size-Medium Valgrind

New issue 16095 by [email protected]: Task leak in  
MessageLoop::DeletePendingTasks
http://code.google.com/p/chromium/issues/detail?id=16095

Very common in ui tests.  To reproduce, do something like
   sh tools/valgrind/chrome_tests.sh -t ui --gtest_filter=OmniboxTest.Measure

Related to issue 10755, but dodges the workaround there?

Valgrind complains

60 (40 direct, 20 indirect) bytes in 2 blocks are definitely lost in loss  
record 709 of 1,324
    at  operator new(unsigned int) (vg_replace_malloc.c:212)
    by  std::vector<MessageLoop::PendingTask,  
std::allocator<MessageLoop::PendingTask>
> ::_M_insert_aux(__gnu_cxx::__normal_iterator<MessageLoop::PendingTask*,
std::vector<MessageLoop::PendingTask,  
std::allocator<MessageLoop::PendingTask> > >,
MessageLoop::PendingTask const&) (new_allocator.h:92)
    by  MessageLoop::AddToDelayedWorkQueue(MessageLoop::PendingTask const&)
(stl_vector.h:694)
    by  MessageLoop::DoWork() (message_loop.cc:422)


--
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