New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 739327 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 667820
Owner: ----
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Chrome Browser Hangs and is unkillable.

Reported by asad78...@googlemail.com, Jul 5 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce the problem:
Chrome Browser Hangs. Usually after trying to load a page

What is the expected behavior?

What went wrong?
The browser process seems to hang for ~5 minutes at a time randomly. When it starts to hang. It'll hang repeatedly for about an hour.

It is unkillable in task manager. Analyse Wait Chains show svchost.exe corresponding to Dnscache.

I have a attached a mini-dump whilst chrome was hung.

Did this work before? N/A 

Chrome version: 59.0.3071.115  Channel: stable
OS Version: 10.0
Flash Version: 

Thinking it was my windows installation. I have also reset windows and the problem still persists.
 
chrome.dmp
3.9 MB Download
Labels: Needs-Triage-M59
Cc: brajkumar@chromium.org
Labels: Needs-Feedback
Reporter@ Could you please confirm is there any crash ID's generated under chrome://crashes for this issue? If yes, please provide for further investigation. 

Are you able to reproduce this issue on incognito mode as well? Once recheck this issue by creating a new profile under chrome://settings with no apps or extensions in your browser if issue still persists let us know.

Thanks!

Comment 3 by woxxom@gmail.com, Jul 6 2017

Judging by the call stack (posted below) in the attached dump file, the problem is incited by GPU-related code so I'd be probably helpful if the reporter attached chrome://gpu page contents.

>	ntdll.dll!NtWaitForMultipleObjects()	Unknown
 	KERNELBASE.dll!WaitForMultipleObjectsEx()	Unknown
 	KERNELBASE.dll!WaitForMultipleObjects()	Unknown
 	chrome.dll!base::WaitableEvent::WaitMany(base::WaitableEvent * * events, unsigned __int64 count) Line 156	C++
 	chrome.dll!mojo::WaitSet::State::Wait(base::WaitableEvent * * ready_event, unsigned __int64 * num_ready_handles, mojo::Handle * ready_handles, unsigned int * ready_results, MojoHandleSignalsState *) Line 206	C++
 	chrome.dll!mojo::SyncHandleRegistry::Wait(const bool * * should_stop, unsigned __int64 count) Line 96	C++
 	chrome.dll!IPC::SyncChannel::WaitForReply(mojo::SyncHandleRegistry * registry, IPC::SyncChannel::SyncContext * context, bool pump_messages) Line 653	C++
 	chrome.dll!IPC::SyncChannel::Send(IPC::Message * message) Line 614	C++
 	chrome.dll!gpu::GpuChannelHost::Send(IPC::Message * msg) Line 121	C++
 	chrome.dll!gpu::CommandBufferProxyImpl::Send(IPC::Message * msg) Line 741	C++
 	chrome.dll!gpu::CommandBufferProxyImpl::WaitForGetOffsetInRange(int start, int end) Line 400	C++
 	chrome.dll!gpu::CommandBufferHelper::WaitForGetOffsetInRange(int start, int end) Line 169	C++
 	chrome.dll!gpu::CommandBufferHelper::Finish() Line 223	C++
 	chrome.dll!gpu::gles2::GLES2Implementation::WaitForCmd() Line 471	C++
 	chrome.dll!gpu::gles2::GLES2Implementation::FreeEverything() Line 362	C++
 	chrome.dll!gpu::gles2::GLES2Implementation::Flush() Line 1400	C++
 	chrome.dll!gpu::gles2::GLES2Implementation::SetAggressivelyFreeResources(bool aggressively_free_resources) Line 428	C++
 	chrome.dll!cc::ContextCacheController::OnIdle(unsigned int idle_generation) Line 167	C++
 	chrome.dll!base::debug::TaskAnnotator::RunTask(const char * queue_function, base::PendingTask * pending_task) Line 59	C++
 	chrome.dll!base::MessageLoop::RunTask(base::PendingTask * pending_task) Line 424	C++
 	chrome.dll!base::MessageLoop::DeferOrRunPendingTask(base::PendingTask pending_task) Line 437	C++
 	chrome.dll!base::MessageLoop::DoDelayedWork(base::TimeTicks * next_delayed_work_time) Line 566	C++
 	chrome.dll!base::MessagePumpForUI::DoRunLoop() Line 177	C++
 	chrome.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate * delegate) Line 58	C++
 	chrome.dll!base::RunLoop::Run() Line 38	C++
 	chrome.dll!ChromeBrowserMainParts::MainMessageLoopRun(int * result_code) Line 1979	C++
 	chrome.dll!content::BrowserMainRunnerImpl::Run() Line 140	C++
 	chrome.dll!content::BrowserMain(const content::MainFunctionParams & parameters) Line 46	C++
 	chrome.dll!content::ContentMainRunnerImpl::Run() Line 740	C++
 	chrome.dll!service_manager::Main(const service_manager::MainParams & params) Line 179	C++
 	chrome.dll!ChromeMain(HINSTANCE__ * instance, sandbox::SandboxInterfaceInfo * sandbox_info, __int64 exe_entry_point_ticks) Line 123	C++
 	chrome.exe!MainDllLoader::Launch(HINSTANCE__ * instance, base::TimeTicks exe_entry_point_ticks) Line 204	C++
 	chrome.exe!wWinMain(HINSTANCE__ * instance, HINSTANCE__ * prev, wchar_t * __formal, int __formal) Line 272	C++
 	chrome.exe!__scrt_common_main_seh() Line 253	C++
 	kernel32.dll!BaseThreadInitThunk()	Unknown
 	ntdll.dll!RtlUserThreadStart()	Unknown

Answering questions first

chrome://crashes empty
I have had the issue reoccur on a new profile with no extensions installed
chrome://gpu attached

I have reason to suspect it is Windows 10 networking problem.

The last few times that it occurred. Toggling Flight Mode (Wifi Button) On and Off immediately resolves the issue. Which coincides with Analyze wait chains showing a depending on DnsCache.

Would a mini dump of svchost and chrome together be helpful next time it is hung?
gpu.htm
155 KB View Download
Project Member

Comment 5 by sheriffbot@chromium.org, Jul 12 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "brajkumar@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 6 by woxxom@gmail.com, Jul 12 2017

Since the callstack above is definitely GPU-related, I suggest pursuing this angle a bit more.
The GPU log says your graphics driver is 20.19.15.4531, which is a beta release apparently.
Try using the latest official one: https://downloadcenter.intel.com/download/26229/
Or maybe the previous one (Intel graphics drivers were quite buggy in the past).
Labels: Needs-Feedback
@asad78611: Can you confirm, Is your issue resolved as per comment #4.

Thanks!!
Using Driver version: 10.18.15.4248 which was obtained through update drivers through windows update.

I've had the issue reoccur just recently, I created a full crash dump this time. The unkillable thread's backtrace was:

0:012> kp
 # Child-SP          RetAddr           Call Site
00 000000e7`fc1fec78 00007ffd`8f47cca1 ntdll!NtClose+0x14
01 000000e7`fc1fec80 00007ffd`8f47ca96 mswsock!SockCloseSocket+0x151
02 000000e7`fc1fed40 00007ffd`919f9e36 mswsock!WSPCloseSocket+0x86
03 000000e7`fc1fed70 00007ffd`5cb184e1 ws2_32!closesocket+0x116
04 000000e7`fc1fedc0 00007ffd`5cbd2fa6 chrome!net::UDPSocketWin::Close(void)+0x99 [c:\b\c\b\win64_pgo\src\net\socket\udp_socket_win.cc @ 311] 
05 000000e7`fc1fee40 00007ffd`5cbbe5fd chrome!net::QuicChromiumClientSession::OnConnectionClosed(net::QuicErrorCode error = QUIC_NETWORK_IDLE_TIMEOUT (0n25), class std::basic_string<char,std::char_traits<char>,std::allocator<char> > * error_details = 0x000000e7`fc1ff098 "No recent network activity.", net::ConnectionCloseSource source = FROM_SELF (0n1))+0x766 [c:\b\c\b\win64_pgo\src\net\quic\chromium\quic_chromium_client_session.cc @ 1030] 
06 000000e7`fc1ff010 00007ffd`5cbbe4e7 chrome!net::QuicConnection::TearDownLocalConnectionState(net::QuicErrorCode error = QUIC_NETWORK_IDLE_TIMEOUT (0n25), class std::basic_string<char,std::char_traits<char>,std::allocator<char> > * error_details = 0x000000e7`fc1ff098 "No recent network activity.", net::ConnectionCloseSource source = FROM_SELF (0n1))+0x41 [c:\b\c\b\win64_pgo\src\net\quic\core\quic_connection.cc @ 1923] 
07 000000e7`fc1ff040 00007ffd`5cbb94d8 chrome!net::QuicConnection::CloseConnection(net::QuicErrorCode error = QUIC_NETWORK_IDLE_TIMEOUT (0n25), class std::basic_string<char,std::char_traits<char>,std::allocator<char> > * error_details = 0x000000e7`fc1ff098 "No recent network activity.", net::ConnectionCloseBehavior connection_close_behavior = 0n32768 (No matching enumerant))+0x6f [c:\b\c\b\win64_pgo\src\net\quic\core\quic_connection.cc @ 1893] 
08 (Inline Function) --------`-------- chrome!net::QuicConnection::CheckForTimeout+0x81 [c:\b\c\b\win64_pgo\src\net\quic\core\quic_connection.cc @ 2033] 
09 000000e7`fc1ff070 00007ffd`5cbc6b4d chrome!net::`anonymous namespace'::TimeoutAlarmDelegate::OnAlarm(void)+0xa0 [c:\b\c\b\win64_pgo\src\net\quic\core\quic_connection.cc @ 130] 
0a (Inline Function) --------`-------- chrome!net::QuicAlarm::Fire+0x1a [c:\b\c\b\win64_pgo\src\net\quic\core\quic_alarm.cc @ 58] 
0b 000000e7`fc1ff0d0 00007ffd`5c1a76aa chrome!net::`anonymous namespace'::QuicChromeAlarm::OnAlarm(void)+0x51 [c:\b\c\b\win64_pgo\src\net\quic\chromium\quic_chromium_alarm_factory.cc @ 77] 
0c (Inline Function) --------`-------- chrome!base::internal::FunctorTraits<void +0x11 [c:\b\c\b\win64_pgo\src\base\bind_internal.h @ 214] 
0d (Inline Function) --------`-------- chrome!base::internal::InvokeHelper<1,void>::MakeItSo+0x36 [c:\b\c\b\win64_pgo\src\base\bind_internal.h @ 305] 
0e (Inline Function) --------`-------- chrome!base::internal::Invoker<base::internal::BindState<void +0x36 [c:\b\c\b\win64_pgo\src\base\bind_internal.h @ 361] 
0f 000000e7`fc1ff100 00007ffd`5cad2db0 chrome!base::internal::Invoker<base::internal::BindState<void (class base::internal::BindStateBase * base = 0x00000000`00000064)+0x3a [c:\b\c\b\win64_pgo\src\base\bind_internal.h @ 343] 
10 (Inline Function) --------`-------- chrome!base::Callback<void __cdecl+0x12 [c:\b\c\b\win64_pgo\src\base\callback.h @ 91] 
11 000000e7`fc1ff130 00007ffd`5ca84b86 chrome!base::debug::TaskAnnotator::RunTask(char * queue_function = 0x00007ffd`5e67c250 "MessageLoop::PostTask", struct base::PendingTask * pending_task = 0x000000e7`fc1ff4c8)+0x1b0 [c:\b\c\b\win64_pgo\src\base\debug\task_annotator.cc @ 59] 
12 000000e7`fc1ff2e0 00007ffd`5ca84d80 chrome!base::MessageLoop::RunTask(struct base::PendingTask * pending_task = 0x000000e7`fc1ff4c8)+0x1f6 [c:\b\c\b\win64_pgo\src\base\message_loop\message_loop.cc @ 424] 
13 000000e7`fc1ff440 00007ffd`5ca8592c chrome!base::MessageLoop::DeferOrRunPendingTask(struct base::PendingTask * pending_task = 0x000000e7`fc1ff4c8)+0x50 [c:\b\c\b\win64_pgo\src\base\message_loop\message_loop.cc @ 437] 
14 000000e7`fc1ff470 00007ffd`5cad3a83 chrome!base::MessageLoop::DoDelayedWork(class base::TimeTicks * next_delayed_work_time = 0x00000240`53dd8188)+0x19c [c:\b\c\b\win64_pgo\src\base\message_loop\message_loop.cc @ 566] 
15 000000e7`fc1ff580 00007ffd`5cad2fa4 chrome!base::MessagePumpForIO::DoRunLoop(void)+0xc3 [c:\b\c\b\win64_pgo\src\base\message_loop\message_pump_win.cc @ 485] 
16 000000e7`fc1ff5f0 00007ffd`5caacbc0 chrome!base::MessagePumpWin::Run(class base::MessagePump::Delegate * delegate = <Value unavailable error>)+0x54 [c:\b\c\b\win64_pgo\src\base\message_loop\message_pump_win.cc @ 58] 
17 (Inline Function) --------`-------- chrome!base::MessageLoop::RunHandler+0x21 [c:\b\c\b\win64_pgo\src\base\message_loop\message_loop.cc @ 387] 
18 000000e7`fc1ff640 00007ffd`5c43aa35 chrome!base::RunLoop::Run(void)+0xc0 [c:\b\c\b\win64_pgo\src\base\run_loop.cc @ 38] 
19 000000e7`fc1ff6f0 00007ffd`5c43aae8 chrome!content::BrowserThreadImpl::IOThreadRun(class base::RunLoop * run_loop = 0x000000e7`fc1ff788)+0x25 [c:\b\c\b\win64_pgo\src\content\browser\browser_thread_impl.cc @ 279] 
1a 000000e7`fc1ff730 00007ffd`5ca837dd chrome!content::BrowserThreadImpl::Run(class base::RunLoop * run_loop = 0x000000e7`fc1ff788)+0x70 [c:\b\c\b\win64_pgo\src\content\browser\browser_thread_impl.cc @ 313] 
1b 000000e7`fc1ff760 00007ffd`5ca4f6d0 chrome!base::Thread::ThreadMain(void)+0x1ed [c:\b\c\b\win64_pgo\src\base\threading\thread.cc @ 336] 
1c 000000e7`fc1ff840 00007ffd`913b2774 chrome!base::`anonymous namespace'::ThreadFunc(void * params = 0x00000240`53da4930)+0xf0 [c:\b\c\b\win64_pgo\src\base\threading\platform_thread_win.cc @ 91] 
1d 000000e7`fc1ff8a0 00007ffd`937c0d51 kernel32!BaseThreadInitThunk+0x14
1e 000000e7`fc1ff8d0 00000000`00000000 ntdll!RtlUserThreadStart+0x21

Once again once I toggled wifi, the issue immediately resolved.
Project Member

Comment 9 by sheriffbot@chromium.org, Jul 16 2017

Cc: sandeepkumars@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "sandeepkumars@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: Internals>GPU
Can someone from Internals>GPU team please look into this issue.

Thanks!!

Comment 11 by enne@chromium.org, Jul 21 2017

Components: -Internals>GPU Internals>Network
Given the wifi comment and the dnscache comment this seems like a net issue and not a gpu issue.
Mergedinto: 667820
Status: Duplicate (was: Unconfirmed)
The symptoms are similar to that of  Issue 667820 .
This is likely a wifi driver problem.
Original Reporter: Can you share information about what exact version of Windows 10 you're running, and what WiFi card you have? Is it an Intel part? If so, can you share the driver version? If it's an Intel part, can you upgrade the driver to the latest version available from Intel here: https://www.intel.com/content/www/us/en/support/network-and-i-o/wireless-networking/000005600.html ?

(Thanks for your help with this! I encountered this frustrating hang myself on my new Lenovo T460S with the Intel driver from WindowsUpdate, and updating the driver completely solved the problem.)

Windows 10 Version 1703 (OS Build 15063.483)

HP Envy TS 15 Notebook PC
Model: 15-J184SA
SKU: J1Y24EA#ABU

Intel Wireless-N 7260HMW BN

Driver details from devmgmt.msc
Driver Provider: Intel
Driver Date: 05/04/2017 
Driver Version: 18.33.7.2
Netwbw02.sys 18.33.7.2
Netwfw02.dat Unknown
vwifibus.sys 10.0.15063.0 (WinBuild.160101.0800)
Installed 31/05/2017

Running Intel Driver Update Utility	2.8.2.2 from above link:
Showed same version as above along with Intel PROSet v19.70.0
Driver not updated.

Details in devmgmt same after reboot.

Also chrome hung immediately after reboot whilst trying to navigate here. (Had to toggle wifi to solve)

Also of note:


Histogram: Net.UDPSocketWinClose recorded 27 samples, mean = 3169.3 (flags = 0x41)
0      ------------------------------------------------------------------------O (25 = 92.6%)
1      ... 
5017   -O                                                                        (1 = 3.7%) {92.6%}
5961   ... 
10000  -O                                                                        (1 = 3.7%) {96.3%}
Thanks! 

Unfortunately, yes, that looks like the latest driver for the 7260 (I have the 8260, and haven't hit this problem on Win10 build 16251 and driver version 19.50.1.6. My Desktop running 16232 and a AC7265 is working okay with driver version 19.20.3.4.

There's a long thread on this issue here: https://communities.intel.com/thread/113634

Rolling back to an earlier driver as suggested in the thread may help; I also wonder if maybe turning off QUIC in Chrome (see chrome://flags/#enable-quic ) might make the problematic scenario less likely to be encountered.


Sign in to add a comment