Bug 158134 - Certain NetworkResourceLoader callbacks can deref a null m_networkLoad
Summary: Certain NetworkResourceLoader callbacks can deref a null m_networkLoad
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-05-26 16:14 PDT by Brady Eidson
Modified: 2016-06-01 09:35 PDT (History)
5 users (show)

See Also:


Attachments
Patch (2.00 KB, patch)
2016-05-26 16:16 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff
Patch (2.53 KB, patch)
2016-05-26 16:38 PDT, Brady Eidson
achristensen: review+
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ews126 for ios-simulator-wk2 (801.64 KB, application/zip)
2016-05-26 17:21 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews104 for mac-yosemite-wk2 (799.60 KB, application/zip)
2016-05-26 17:33 PDT, Build Bot
no flags Details
Patch v1 (1.90 KB, patch)
2016-05-26 19:12 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2016-05-26 16:14:21 PDT
NetworkResourceLoader::continueWillSendRequest can deref a null m_networkLoad

We have no idea how to reproduce this, but we do know its happening.
Comment 1 Brady Eidson 2016-05-26 16:15:01 PDT
<rdar://problem/24156657>
Comment 2 Brady Eidson 2016-05-26 16:16:35 PDT
Created attachment 279922 [details]
Patch
Comment 3 Brady Eidson 2016-05-26 16:34:49 PDT
Retitling to:
Certain NetworkResourceLoader callbacks can deref a null m_networkLoad

Also found in rdar: <rdar://problem/25289012>
Comment 4 Brady Eidson 2016-05-26 16:38:53 PDT
Created attachment 279924 [details]
Patch
Comment 5 Build Bot 2016-05-26 17:21:35 PDT
Comment on attachment 279924 [details]
Patch

Attachment 279924 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: http://webkit-queues.webkit.org/results/1388205

New failing tests:
http/tests/cache/disk-cache/disk-cache-302-status-code.html
http/tests/cache/disk-cache/disk-cache-redirect.html
http/tests/cache/redirect-referer.html
http/tests/cache/disk-cache/redirect-chain-limits.html
Comment 6 Build Bot 2016-05-26 17:21:37 PDT
Created attachment 279928 [details]
Archive of layout-test-results from ews126 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews126  Port: ios-simulator-wk2  Platform: Mac OS X 10.11.4
Comment 7 Build Bot 2016-05-26 17:33:15 PDT
Comment on attachment 279924 [details]
Patch

Attachment 279924 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/1388273

New failing tests:
http/tests/cache/disk-cache/disk-cache-302-status-code.html
http/tests/cache/disk-cache/disk-cache-redirect.html
http/tests/cache/redirect-referer.html
http/tests/cache/disk-cache/redirect-chain-limits.html
Comment 8 Build Bot 2016-05-26 17:33:17 PDT
Created attachment 279929 [details]
Archive of layout-test-results from ews104 for mac-yosemite-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104  Port: mac-yosemite-wk2  Platform: Mac OS X 10.10.5
Comment 9 Brady Eidson 2016-05-26 19:10:54 PDT
It's obvious why the layout test failures cropped up. Fixing.
Comment 10 Brady Eidson 2016-05-26 19:12:33 PDT
Created attachment 279934 [details]
Patch v1
Comment 11 WebKit Commit Bot 2016-05-26 20:18:10 PDT
Comment on attachment 279934 [details]
Patch v1

Clearing flags on attachment: 279934

Committed r201444: <http://trac.webkit.org/changeset/201444>