WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
12704
REGRESSION: Assert and crash after dragging image into window with onunload handlers
https://bugs.webkit.org/show_bug.cgi?id=12704
Summary
REGRESSION: Assert and crash after dragging image into window with onunload h...
Tom Brown
Reported
2007-02-08 15:29:56 PST
This crash is partially reproducible and *feels* like a race condition. Sometimes the test-case reduction crashes the browser, but other times it doesn't. The test-case reduction does the following: 1) Main window script opens new window. 2) Drag image from new window into main window. 3) Main window document onUnload event fires as image is loaded. 4) Main window onUnload handler closes new window. 5) Main window and new window send notification of closure to server. 6) The dragged image appears briefly as the document in the main window. 7) *Crash*
Attachments
A backtrace of the crash
(18.91 KB, text/plain)
2007-02-08 15:31 PST
,
Tom Brown
no flags
Details
Test case reduction
(3.84 KB, application/octet-stream)
2007-02-08 15:32 PST
,
Tom Brown
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Tom Brown
Comment 1
2007-02-08 15:31:03 PST
Created
attachment 13069
[details]
A backtrace of the crash
Tom Brown
Comment 2
2007-02-08 15:32:46 PST
Created
attachment 13070
[details]
Test case reduction 1) Open "main.html" in the browser. 2) Click the button. 3) Drag the image from the new window to the main window. 4) *Crash*
Matt Lilek
Comment 3
2007-02-08 16:31:42 PST
r19510
debug build gives me the following assert: ASSERTION FAILED: page (/Users/matt/Code/WebKit/WebKit/WebView/WebHTMLView.mm:2951 -[WebHTMLView draggedImage:endedAt:operation:])
Maciej Stachowiak
Comment 4
2007-02-10 19:14:17 PST
<
rdar://problem/4990047
>
mitz
Comment 5
2007-02-14 13:34:47 PST
Fixed in <
http://trac.webkit.org/projects/webkit/changeset/19614
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug