Closed
Bug 1296467
Opened 10 years ago
Closed 10 years ago
Null pointer crash in prefetcher
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
People
(Reporter: billm, Assigned: billm)
Details
Attachments
(1 file)
|
1.88 KB,
patch
|
Details | Diff | Splinter Review |
This is kind of a follow-on to bug 598790. This crash happens to me in a local opt build when I browse nytimes.com. It doesn't happen in a nightly though. I'm not sure why.
Anyway, I don't see any reason why prefetching can't be canceled before OnStartRequest. This adds a null check on mChannel, which is nulled out by CancelChannel. I wasn't entirely sure what to do about mShouldFireLoadEvent. The safest thing seems to be to fire it as far as I can tell.
Attachment #8782664 -
Flags: review?(mcmanus)
Comment 1•10 years ago
|
||
Comment on attachment 8782664 [details] [diff] [review]
patch
Review of attachment 8782664 [details] [diff] [review]:
-----------------------------------------------------------------
thanks bill. Dragana has been over there most recently.
Attachment #8782664 -
Flags: review?(mcmanus) → review?(dd.mozilla)
Comment 2•10 years ago
|
||
You have hit one of this crashes cause by bug 1268962. The patch was backed out and fixed again (in the same bug).
Thanks.
Updated•10 years ago
|
Attachment #8782664 -
Flags: review?(dd.mozilla)
Comment 3•10 years ago
|
||
Fixed per
>(Wes Kocher (:KWierso) from bug #1268962 comment #53)
> https://hg.mozilla.org/mozilla-central/rev/0ec6e52818ae
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•