Issue 101632 in chromium: browser shutdown taking long time - net::TCPClientSocketWin::DoConnect

8 views
Skip to first unread message

chro...@googlecode.com

unread,
Oct 26, 2011, 2:15:47 AM10/26/11
to chromi...@chromium.org
Status: Untriaged
Owner: ----
CC: will...@chromium.org, j...@chromium.org, ero...@chromium.org,
w...@chromium.org, cben...@chromium.org
Labels: Type-Bug Pri-2 Area-Internals Internals-Network

New issue 101632 by rtenn...@chromium.org: browser shutdown taking long
time - net::TCPClientSocketWin::DoConnect
http://code.google.com/p/chromium/issues/detail?id=101632

Product: Chrome
Stack Signature: base::debug::BreakDebugger()-17023CB
New Signature Label: base::debug::BreakDebugger()
New Signature Hash: ff7670b0_5824d9cd_3e880d30_c0928332_00e62fb3

Report link: http://go/crash/reportdetail?reportid=1b99f017eef18e56

Meta information:
Product Name: Chrome
Product Version: 15.0.874.102
Report ID: 1b99f017eef18e56
Report Time: 2011/10/22 16:24:08, Sat
Uptime: 2348 sec
Cumulative Uptime: 0 sec
OS Name: Windows NT
OS Version: 6.1.7601 Service Pack 1
CPU Architecture: x86
CPU Info: GenuineIntel family 6 model 23 stepping 6


Thread 8

0x775270b4 [ntdll.dll + 0x000470b4] KiFastSystemCallRet
0x77525863 [ntdll.dll + 0x00045863] ZwDeviceIoControlFile
0x750f6173 [mswsock.dll + 0x00006173] SockDoConnectReal
0x750f5fab [mswsock.dll + 0x00005fab] SockDoConnect
0x750f5da3 [mswsock.dll + 0x00005da3] WSPConnect
0x76d66c2e [ws2_32.dll + 0x00006c2e] connect
0x0292bd8c [chrome.dll - tcp_client_socket_win.cc:488
net::TCPClientSocketWin::DoConnect()
0x0292bb46 [chrome.dll - tcp_client_socket_win.cc:425
net::TCPClientSocketWin::DoConnectLoop(int)
0x0292ba8d [chrome.dll - tcp_client_socket_win.cc:403
net::TCPClientSocketWin::Connect(CallbackRunner<Tuple1<int> > *)
0x029611ef [chrome.dll - transport_client_socket_pool.cc:223
net::TransportConnectJob::DoTransportConnect()
0x02961130 [chrome.dll - transport_client_socket_pool.cc:191
net::TransportConnectJob::DoLoop(int)
0x029617dc [chrome.dll - transport_client_socket_pool.cc:357
net::TransportConnectJob::ConnectInternal()
0x02916dbc [chrome.dll - client_socket_pool_base.cc:99
net::ConnectJob::Connect()
0x02917590 [chrome.dll - client_socket_pool_base.cc:348
net::internal::ClientSocketPoolBaseHelper::RequestSocketInternal(std::basic_string<char,std::char_traits<char>,std::allocator<char>
> const &,net::internal::ClientSocketPoolBaseHelper::Request const *)
0x0291730e [chrome.dll - client_socket_pool_base.cc:243
net::internal::ClientSocketPoolBaseHelper::RequestSocket(std::basic_string<char,std::char_traits<char>,std::allocator<char>
> const &,net::internal::ClientSocketPoolBaseHelper::Request const *)
0x02961a33 [chrome.dll - transport_client_socket_pool.cc:418
net::TransportClientSocketPool::RequestSocket(std::basic_string<char,std::char_traits<char>,std::allocator<char>
> const &,void const *,net::RequestPriority,net::ClientSocketHandle
*,CallbackRunner<Tuple1<int> > *,net::BoundNetLog const &)
0x0291e8e0 [chrome.dll - client_socket_handle.h:206
net::ClientSocketHandle::Init<net::SOCKSSocketParams,net::SOCKSClientSocketPool>(std::basic_string<char,std::char_traits<char>,std::allocator<char>
> const &,scoped_refptr<net::SOCKSSocketParams> const
&,net::RequestPriority,CallbackRunner<Tuple1<int> >
*,net::SOCKSClientSocketPool *,net::BoundNetLog const &)
0x02960203 [chrome.dll - ssl_client_socket_pool.cc:213
net::SSLConnectJob::DoTransportConnect()
0x029600be [chrome.dll - ssl_client_socket_pool.cc:150
net::SSLConnectJob::DoLoop(int)
0x029608db [chrome.dll - ssl_client_socket_pool.cc:406
net::SSLConnectJob::ConnectInternal()
0x02916dbc [chrome.dll - client_socket_pool_base.cc:99
net::ConnectJob::Connect()
0x02917590 [chrome.dll - client_socket_pool_base.cc:348
net::internal::ClientSocketPoolBaseHelper::RequestSocketInternal(std::basic_string<char,std::char_traits<char>,std::allocator<char>
> const &,net::internal::ClientSocketPoolBaseHelper::Request const *)
0x02917443 [chrome.dll - client_socket_pool_base.cc:279
net::internal::ClientSocketPoolBaseHelper::RequestSockets(std::basic_string<char,std::char_traits<char>,std::allocator<char>
> const &,net::internal::ClientSocketPoolBaseHelper::Request const &,int)
0x02960c39 [chrome.dll - ssl_client_socket_pool.cc:518
net::SSLClientSocketPool::RequestSockets(std::basic_string<char,std::char_traits<char>,std::allocator<char>
> const &,void const *,int,net::BoundNetLog const &)
0x0291cea9 [chrome.dll - client_socket_pool_manager.cc:201
net::`anonymous namespace'::InitSocketPoolHelper(GURL const
&,net::HttpRequestHeaders const
&,int,net::RequestPriority,net::HttpNetworkSession *,net::ProxyInfo const
&,bool,bool,net::SSLConfig const &,net::SSLConfig const
&,bool,net::BoundNetLog const &,int,net::ClientSocketHandle
*,CallbackRunner<Tuple1<int> > *)
0x02977f31 [chrome.dll - http_stream_factory_impl_job.cc:626
net::HttpStreamFactoryImpl::Job::DoInitConnection()
0x0297797f [chrome.dll - http_stream_factory_impl_job.cc:441
net::HttpStreamFactoryImpl::Job::DoLoop(int)
0x029776e1 [chrome.dll - http_stream_factory_impl_job.cc:319
net::HttpStreamFactoryImpl::Job::RunLoop(int)
0x02874fb5 [chrome.dll - callback_old.h:119
CallbackImpl<appcache::AppCacheStorage::ResponseInfoLoadTask,void (
appcache::AppCacheStorage::ResponseInfoLoadTask::*)(int),Tuple1<int>
>::RunWithParams(Tuple1<int> const &)
0x028fb702 [chrome.dll - proxy_service.cc:399
net::ProxyService::PacRequest::QueryComplete(int)
...... (2 stack frames dropped.)
0x028fc644 [chrome.dll - proxy_service.cc:967
net::ProxyService::OnProxyConfigChanged(net::ProxyConfig const
&,net::ProxyConfigService::ConfigAvailability)
0x021019be [chrome.dll - pref_proxy_config_service.cc:239
PrefProxyConfigService::OnProxyConfigChanged(net::ProxyConfig const
&,net::ProxyConfigService::ConfigAvailability)
0x02974638 [chrome.dll - polling_proxy_config_service.cc:124
net::PollingProxyConfigService::Core::GetConfigCompleted(net::ProxyConfig
const &)
0x023f993e [chrome.dll - task.h:349
RunnableMethod<quota_internals::QuotaInternalsProxy,void (
quota_internals::QuotaInternalsProxy::*)(std::vector<quota_internals::PerOriginStorageInfo,std::allocator<quota_internals::PerOriginStorageInfo>
> const
&),Tuple1<std::vector<quota_internals::PerOriginStorageInfo,std::allocator<quota_internals::PerOriginStorageInfo>
> > >::Run()
0x01f19d94 [chrome.dll - task.cc:56
base::subtle::TaskClosureAdapter::Run()
0x01f0b45c [chrome.dll - message_loop.cc:476
MessageLoop::RunTask(MessageLoop::PendingTask const &)
0x01f0b4c8 [chrome.dll - message_loop.cc:492
MessageLoop::DeferOrRunPendingTask(MessageLoop::PendingTask const &)
0x01f0b843 [chrome.dll - message_loop.cc:682 MessageLoop::DoWork()
0x01f27d84 [chrome.dll - message_pump_win.cc:477
base::MessagePumpForIO::DoRunLoop()
0x01f277f9 [chrome.dll - message_pump_win.cc:51
base::MessagePumpWin::RunWithDispatcher(base::MessagePump::Delegate
*,base::MessagePumpWin::Dispatcher *)
0x01f276d1 [chrome.dll - message_pump_win.h:80
base::MessagePumpWin::Run(base::MessagePump::Delegate *)
0x01f0b3af [chrome.dll - message_loop.cc:443 MessageLoop::RunInternal()
0x01f0b334 [chrome.dll - message_loop.cc:416 MessageLoop::RunHandler()
0x01f0b2c6 [chrome.dll - message_loop.cc:340 MessageLoop::Run()
0x01f192bd [chrome.dll - thread.cc:128 base::Thread::Run(MessageLoop *)
0x01f193b1 [chrome.dll - thread.cc:163 base::Thread::ThreadMain()
0x01f112cf [chrome.dll - platform_thread_win.cc:42 base::`anonymous
namespace'::ThreadFunc(void *)
0x7703ed6b [kernel32.dll + 0x0004ed6b] BaseThreadInitThunk
0x775437f4 [ntdll.dll + 0x000637f4] __RtlUserThreadStart
0x775437c7 [ntdll.dll + 0x000637c7] _RtlUserThreadStart

The above crash could be a false positive. User seems to have shutdown the
browser, but could IO thread be hung in DoConnect?

Will close the issue if it is benign. thanks,

chro...@googlecode.com

unread,
Jan 17, 2012, 1:33:59 PM1/17/12
to chromi...@chromium.org

Comment #3 on issue 101632 by dhar...@google.com: browser shutdown taking
long time - net::TCPClientSocketWin::DoConnect
http://code.google.com/p/chromium/issues/detail?id=101632

any updates?

chro...@googlecode.com

unread,
Aug 23, 2012, 5:12:56 PM8/23/12
to chromi...@chromium.org

Comment #8 on issue 101632 by cben...@chromium.org: browser shutdown
taking long time - net::TCPClientSocketWin::DoConnect
http://code.google.com/p/chromium/issues/detail?id=101632

Is this still an issue? I'm inclined to mark WontFix due to comments about
possible "false positive" in initial report, and that this has been kicked
down the milestones for a while.

chro...@googlecode.com

unread,
Aug 28, 2012, 2:48:24 PM8/28/12
to chromi...@chromium.org
Updates:
Owner: rtenn...@chromium.org
Labels: -Mstone-22

Comment #9 on issue 101632 by rtenn...@chromium.org: browser shutdown
taking long time - net::TCPClientSocketWin::DoConnect
http://code.google.com/p/chromium/issues/detail?id=101632

In the following crash (due to jank) in 23.0.1243.2, ThreadWatcher noticed
IO thread as being slow (the user machine is too busy to service messages
on IO thread).

https://crash.corp.google.com/reportdetail?reportid=71664ffb7c567f45

The following crash happens during shutdown. UI thread
(chrome_browser_net::Predictor::SaveStateForNextStartupAndTrim is waiting
to save the predictor state
(SaveDnsPrefetchStateForNextStartupAndTrimOnIOThread) on IO thread.

eroman explains the problem in
http://code.google.com/p/chromium/issues/detail?id=78451#c23

https://crash.corp.google.com/reportdetail?reportid=2bc1bff3bc967e66

Removed the milestone marker.


chro...@googlecode.com

unread,
Nov 19, 2015, 11:03:09 AM11/19/15
to chromi...@chromium.org
Updates:
Labels: -Restrict-View-Google

Comment #14 on issue 101632 by rsl...@chromium.org: browser shutdown
taking long time - net::TCPClientSocketWin::DoConnect
https://code.google.com/p/chromium/issues/detail?id=101632

(No comment was entered for this change.)

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages