New issue
Advanced search Search tips

Issue 901404 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 843040
Owner: ----
Closed: Nov 2
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Chrome hang when dragging files from open file dialog to drag and drop element

Reported by gwil...@pnimedia.com, Nov 2

Issue description

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

Steps to reproduce the problem:
1. Visit https://jsfiddle.net/hu5wv0zx/ or use the simple repro case on your own file system I have included below.
2. Click the Choose File button to launch the open file dialog.
3. Drag a file from the open file dialog to the drop zone (bounded by orange border).
4. Click cancel button to close the open file dialog.
5. Chrome hangs. It's not 100%, you may have to try a few times or wait a while. It can be tricky to trigger sometimes but other times it happens every time.

What is the expected behavior?
Chrome exhibits normal drag and drop behaviour without hanging or prevents drag and drop from the open file dialog.

What went wrong?
Chrome occasionally hangs. Windows Event Viewer shows an Application Hang event for chrome.exe. Binary data on the event contains "Cross-thread Deadlock".

Crashed report ID: no, doesn't look like it generates a crash report since you have to kill the browser task

How much crashed? Whole browser

Is it a problem with a plugin? No 

Did this work before? N/A 

Chrome version: 70.0.3538.77 (Official Build) (64-bit)  Channel: stable
OS Version: 10.0
Flash Version: n/a

I added these details to a prior bug report as it seems to be exactly the same behaviour. Been waiting a few days with no acknowledgement though and based on the CC: field think it's stuck in purgatory somehow so I'm opening this to bring attention to the report. Please merge the issues.
 https://crbug.com/843040 

I've run Chrome with logging enabled while reproducing this hang and the garbage collection kicks in with this log line when the hang occurs. I haven't run with logging with this very simple test case but can do so if you'd like to see the full log. Can also provide a process DMP upon request.
[38156:31456:1018/081155.054:VERBOSE1:thread_state.cc(1565)] [state:00007FFF53BBBDE0] CollectGarbage: time: 1ms stack: NoHeapPointersOnStack marking: AtomicMarking sweeping: LazySweeping reason: IdleGC

Very Simple Repro Case
======================
<!DOCTYPE html>
<html>
<body>
	<input type="file"/>
	<div style="width:1024px;height:768px;border:2px solid orange" ondrop="function(){}" ondragover="function(){}">
	dragon drop
	</div>
</body>
</html>
 
Mergedinto: 843040
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment