Bug 116035 - [Qt] Fix a crash under ~PingLoader when the QNAM on the page has been destroyed.
Summary: [Qt] Fix a crash under ~PingLoader when the QNAM on the page has been destroyed.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jocelyn Turcotte
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-13 08:25 PDT by Jocelyn Turcotte
Modified: 2013-05-15 09:30 PDT (History)
6 users (show)

See Also:


Attachments
Patch (4.51 KB, patch)
2013-05-13 08:32 PDT, Jocelyn Turcotte
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2 (1.25 MB, application/zip)
2013-05-13 18:47 PDT, Build Bot
no flags Details
Patch (6.57 KB, patch)
2013-05-14 05:34 PDT, Jocelyn Turcotte
no flags Details | Formatted Diff | Diff
Patch (8.09 KB, patch)
2013-05-15 08:31 PDT, Jocelyn Turcotte
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jocelyn Turcotte 2013-05-13 08:25:03 PDT
[Qt] Fix a crash under ~PingLoader when the QNAM on the page has been destroyed.
Comment 1 Jocelyn Turcotte 2013-05-13 08:32:19 PDT
Created attachment 201570 [details]
Patch
Comment 2 Build Bot 2013-05-13 18:47:53 PDT
Comment on attachment 201570 [details]
Patch

Attachment 201570 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/466417

New failing tests:
editing/unsupported-content/table-delete-003.html
editing/unsupported-content/list-type-before.html
editing/unsupported-content/table-type-before.html
editing/unsupported-content/list-delete-003.html
editing/unsupported-content/list-delete-001.html
editing/unsupported-content/list-type-after.html
editing/unsupported-content/table-delete-002.html
editing/unsupported-content/table-type-after.html
editing/unsupported-content/table-delete-001.html
Comment 3 Build Bot 2013-05-13 18:47:55 PDT
Created attachment 201663 [details]
Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-16  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.2
Comment 4 WebKit Commit Bot 2013-05-14 01:30:42 PDT
Comment on attachment 201570 [details]
Patch

Clearing flags on attachment: 201570

Committed r150057: <http://trac.webkit.org/changeset/150057>
Comment 5 WebKit Commit Bot 2013-05-14 01:30:44 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Jocelyn Turcotte 2013-05-14 05:34:33 PDT
Reopening to attach new patch.
Comment 7 Jocelyn Turcotte 2013-05-14 05:34:37 PDT
Created attachment 201703 [details]
Patch

I was able to reproduce the crash even after the last patch.
This one use a better approach and avoids the dangling pointer instead.
Comment 8 Jocelyn Turcotte 2013-05-15 08:31:44 PDT
Created attachment 201834 [details]
Patch

Don't disconnect replyDestroyed in resetConnections and call disconnect(receiver) directly in release instead.
Comment 9 Allan Sandfeld Jensen 2013-05-15 08:36:32 PDT
Comment on attachment 201834 [details]
Patch

LGTM
Comment 10 WebKit Commit Bot 2013-05-15 09:30:42 PDT
Comment on attachment 201834 [details]
Patch

Clearing flags on attachment: 201834

Committed r150120: <http://trac.webkit.org/changeset/150120>
Comment 11 WebKit Commit Bot 2013-05-15 09:30:44 PDT
All reviewed patches have been landed.  Closing bug.