Closed
Bug 824581
Opened 12 years ago
Closed 12 years ago
RemoteOpenFileChild::AsyncRemoteFileOpen crashes on Windows/Mac
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: bholley, Assigned: jduell.mcbugs)
References
Details
Attachments
(1 file, 3 obsolete files)
1.83 KB,
patch
|
jduell.mcbugs
:
review+
|
Details | Diff | Splinter Review |
Trying to do an OOP b2g desktop build seems fraught with peril, but this is the first thing that breaks. JDM suggested the patch.
Reporter | ||
Comment 1•12 years ago
|
||
Attachment #695570 -
Flags: review?(jduell.mcbugs)
Assignee | ||
Comment 2•12 years ago
|
||
Comment on attachment 695570 [details] [diff] [review]
Bug 824581 - Avoid a null deref in the ifdef. v1
Review of attachment 695570 [details] [diff] [review]:
-----------------------------------------------------------------
::: netwerk/ipc/RemoteOpenFileChild.cpp
@@ +114,2 @@
> mListener->OnRemoteFileOpenComplete(NS_OK);
> mListener = nullptr;
Yeah, this is a definite bug. +r if you change the code to just call aListener->OnRemoteFileOpenComplete and drop the lines that set/unset mListener.
Extra bonus points if you're willing to run this through try (I'm away from a setup that lets me push to try right now) with the xpcshell.ini line here
https://hg.mozilla.org/releases/mozilla-aurora/rev/e364c2c32501
changed to skip only OSX. (you can tell try to only run xpcshell tests). I suspect you've just fixed the reason we needed to skip that test on Windows. If so, please roll that change into this patch, too.
And please mark the new patch aurora? and b2g18?--we'll want it on those branches.
Thanks!
Attachment #695570 -
Flags: review?(jduell.mcbugs) → review+
Reporter | ||
Comment 3•12 years ago
|
||
Attachment #695793 -
Flags: review+
Reporter | ||
Comment 4•12 years ago
|
||
Reporter | ||
Comment 5•12 years ago
|
||
(In reply to Jason Duell (:jduell) from comment #2)
> Yeah, this is a definite bug. +r if you change the code to just call
> aListener->OnRemoteFileOpenComplete and drop the lines that set/unset
> mListener.
Done.
> Extra bonus points if you're willing to run this through try (I'm away from
> a setup that lets me push to try right now) with the xpcshell.ini line here
>
> https://hg.mozilla.org/releases/mozilla-aurora/rev/e364c2c32501
https://tbpl.mozilla.org/?tree=Try&rev=70fdd7190809
Reporter | ||
Comment 6•12 years ago
|
||
Comment on attachment 695570 [details] [diff] [review]
Bug 824581 - Avoid a null deref in the ifdef. v1
Flagging for approval per comment 2. This just fixes a dumb null-deref inside of an #ifdef. Risk free.
Attachment #695570 -
Flags: approval-mozilla-b2g18?
Attachment #695570 -
Flags: approval-mozilla-aurora?
Reporter | ||
Comment 7•12 years ago
|
||
Comment on attachment 695793 [details] [diff] [review]
Avoid a null deref in the ifdef. v2 r=jduell
Err, wrong patch. The other is obsolete.
Attachment #695793 -
Flags: approval-mozilla-b2g18?
Attachment #695793 -
Flags: approval-mozilla-aurora?
Reporter | ||
Updated•12 years ago
|
Attachment #695570 -
Attachment is obsolete: true
Attachment #695570 -
Flags: approval-mozilla-b2g18?
Attachment #695570 -
Flags: approval-mozilla-aurora?
Reporter | ||
Comment 8•12 years ago
|
||
Comment on attachment 695795 [details] [diff] [review]
Stop skipping tests on window. v1
Looks like the try is green. Lets get this checked in too.
Attachment #695795 -
Flags: review+
Reporter | ||
Updated•12 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 9•12 years ago
|
||
also removed nulling out mListener (we never set it)
Assignee: bobbyholley+bmo → jduell.mcbugs
Attachment #695793 -
Attachment is obsolete: true
Attachment #695795 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #695793 -
Flags: approval-mozilla-b2g18?
Attachment #695793 -
Flags: approval-mozilla-aurora?
Attachment #696770 -
Flags: review+
Assignee | ||
Comment 10•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/418baef1894a
https://hg.mozilla.org/releases/mozilla-aurora/rev/54034e3cc092
https://hg.mozilla.org/releases/mozilla-b2g18/rev/2c37129a8086
One-liner fix to patch that's already a+ for aurora/b2g18, so marked a=b2gbustage.
Comment 12•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in
before you can comment on or make changes to this bug.
Description
•