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

New issue 7144 by erik...@chromium.org: occasional leak in IPC::SyncChannel  
in unit_tests
http://code.google.com/p/chromium/issues/detail?id=7144

unit_tests under purify has an occasional leak related to IPC::SyncChannel
that has gotten more frequent recently.  It's unclear exactly which unit
tests are to blame since the stacks aren't in the main thread (but perhaps
it's related to one of the new renderer tests?).  Here are a sample of some
of the errors:

Memory Leak: (72 bytes, 3 blocks) ?
newrunnablemet...@vcontext@channelpr...@ipc@@p8...@aexxz@@YAPAVCancelableTa
sk@@pavcont...@channelproxy@IPC@@p8...@aexxz@Z [unit_tests.exe]
Alloc Location
    ...
    base/task.h:334  ?
newrunnablemet...@vcontext@channelpr...@ipc@@p8...@aexxz@@YAPAVCancelableTa
sk@@pavcont...@channelproxy@IPC@@p8...@aexxz@Z
    chrome/common/ipc_channel_proxy.cc:257  IPC::ChannelProxy::Close(void)
    chrome/common/ipc_channel_proxy.h:91
IPC::ChannelProxy::~ChannelProxy(void)
    chrome/common/ipc_sync_channel.cc:371
IPC::SyncChannel::~SyncChannel(void)
    chrome/release/unit_tests.exe  IPC::SyncChannel::`vector deleting
destructor'(UINT)
    base/scoped_ptr.h:81  scoped_ptr::reset(SyncChannel::IPC *)
    chrome/renderer/render_thread.cc:140  RenderThread::CleanUp(void)
    base/thread.cc:157  base::Thread::ThreadMain(void)
    base/platform_thread_win.cc:26  ThreadFunc(void *)

Memory Leak: (444 bytes, 3 blocks) IPC::SyncChannel::SyncChannel(class
std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class
std::allocator<wchar_t> > const &,enum SyncChannel::Channel::Mode,class
SyncChannel::Mode::Listener *,class
SyncChannel::ChannelProxy::MessageFilter *,class MessageLoop *,bool,class
base::WaitableEvent *) [unit_tests.exe]
Alloc Location
    ...
    chrome/common/ipc_sync_channel.cc:360
IPC::SyncChannel::SyncChannel(class std::basic_string const &,enum
SyncChannel::Channel::Mode,class SyncChannel::Mode::Listener *,class
SyncChannel::ChannelProxy::MessageFilter *,class MessageLoop *,bool,class
base::WaitableEvent *)
    chrome/renderer/render_thread.cc:118  RenderThread::Init(void)
    base/thread.cc:148  base::Thread::ThreadMain(void)
    base/platform_thread_win.cc:26  ThreadFunc(void *)

Memory Leak: (72 bytes, 3 blocks) ?
newrunnablemet...@vcontext@channelpr...@ipc@@p8...@aexxz@@YAPAVCancelableTa
sk@@pavcont...@channelproxy@IPC@@p8...@aexxz@Z [unit_tests.exe]
Alloc Location
    ...
    base/task.h:334  ?
newrunnablemet...@vcontext@channelpr...@ipc@@p8...@aexxz@@YAPAVCancelableTa
sk@@pavcont...@channelproxy@IPC@@p8...@aexxz@Z
    chrome/common/ipc_channel_proxy.cc:246  IPC::ChannelProxy::Init(class
std::basic_string const &,enum IPC::Channel::Mode,class MessageLoop *,bool)
    chrome/common/ipc_channel_proxy.cc:215
IPC::ChannelProxy::ChannelProxy(class std::basic_string const &,enum
ChannelProxy::Channel::Mode,class MessageLoop *,class
ChannelProxy::ChannelProxy::Context *,bool)
    chrome/common/ipc_sync_channel.cc:360
IPC::SyncChannel::SyncChannel(class std::basic_string const &,enum
SyncChannel::Channel::Mode,class SyncChannel::Mode::Listener *,class
SyncChannel::ChannelProxy::MessageFilter *,class MessageLoop *,bool,class
base::WaitableEvent *)
    chrome/renderer/render_thread.cc:118  RenderThread::Init(void)
    base/thread.cc:148  base::Thread::ThreadMain(void)
    base/platform_thread_win.cc:26  ThreadFunc(void *)

Memory Leak: (24 bytes, 3 blocks)
IPC::ChannelProxy::Context::CreateChannel(class
std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class
std::allocator<wchar_t> > const &,enum IPC::Channel::Mode const &)
[unit_tests.exe]
Alloc Location
    ...
    chrome/common/ipc_channel_proxy.cc:38
IPC::ChannelProxy::Context::CreateChannel(class std::basic_string const
&,enum IPC::Channel::Mode const &)
    chrome/common/ipc_channel_proxy.cc:225  IPC::ChannelProxy::Init(class
std::basic_string const &,enum IPC::Channel::Mode,class MessageLoop *,bool)
    chrome/common/ipc_channel_proxy.cc:215
IPC::ChannelProxy::ChannelProxy(class std::basic_string const &,enum
ChannelProxy::Channel::Mode,class MessageLoop *,class
ChannelProxy::ChannelProxy::Context *,bool)
    chrome/common/ipc_sync_channel.cc:360
IPC::SyncChannel::SyncChannel(class std::basic_string const &,enum
SyncChannel::Channel::Mode,class SyncChannel::Mode::Listener *,class
SyncChannel::ChannelProxy::MessageFilter *,class MessageLoop *,bool,class
base::WaitableEvent *)
    chrome/renderer/render_thread.cc:118  RenderThread::Init(void)
    base/thread.cc:148  base::Thread::ThreadMain(void)
    base/platform_thread_win.cc:26  ThreadFunc(void *)


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