Closed Bug 1180886 Opened 9 years ago Closed 9 years ago

crash in mozilla::ipc::SerializeInputStream(nsIInputStream*, mozilla::ipc::InputStreamParams&, nsTArray<T>&)

Categories

(Core :: Networking, defect)

x86
Windows NT
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Tracking Status
e10s m8+ ---
firefox42 --- affected

People

(Reporter: jimm, Assigned: mrbkap)

References

Details

(Keywords: crash, topcrash)

Crash Data

Attachments

(1 file, 2 obsolete files)

Do we have any URLs for these? This might be covered by bug 1167730.
The few stacks I looked at all had FetchEvent in them.  My guess is that someone is uploading a body and did Request.clone() or something.  (Although I guess other stacks don't have FetchEvent.)

I have plans to implement bug 1093357, but just need to figure out how to prioritize that vs other service worker bugs.
Assignee: nobody → mrbkap
Keywords: topcrash
Of the most recent crashes, all of them seem to go through either FetchEvent or ResetInterception (the only caller of which is FetchEventRunnable). bkelley thought that we disabled onfetch (please correct me if I'm wrong), but downloading Developer Edition and launching it with an empty profile gives me both dom.serviceWorkers.interception.enabled and dom.serviceWorkers.enabled as true by default. This suggests doing something like disabling fetch if e10s is enabled on Aurora.
Attached patch Untested patch (obsolete) — Splinter Review
This might help. I'm going to push to try to see if this breaks anything. bkelley, does this seem reasonable to you?
Attachment #8645255 - Flags: feedback?(bkelly)
Comment on attachment 8645255 [details] [diff] [review]
Untested patch

Review of attachment 8645255 [details] [diff] [review]:
-----------------------------------------------------------------

Uh.  This would basically just turn off fetch event in e10s regardless of the dom.serviceWorkers.interception.enabled pref.

We should just disable the pref in aurora.  Make this #if defined(NIGHTLY_BUILD):

  https://dxr.mozilla.org/mozilla-central/source/browser/app/profile/firefox.js#1949

Ehsan, do you agree? (I was not aware we enabled fetch event for aurora again...)
Attachment #8645255 - Flags: feedback?(ehsan)
Attachment #8645255 - Flags: feedback?(bkelly)
Attachment #8645255 - Flags: feedback-
Comment on attachment 8645255 [details] [diff] [review]
Untested patch

I think Ehsan is out this week, so I'll just be more decisive.

Blake, please just make that pref NIGHTLY_BUILD only.  I'll modify this bug to be leave-open and have it block us shipping service workers v1.
Attachment #8645255 - Flags: feedback?(ehsan)
Comment on attachment 8645870 [details] [diff] [review]
As requested

Review of attachment 8645870 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks for doing this Blake.  r=me with comments addressed.

::: browser/app/profile/firefox.js
@@ +1971,1 @@
>  pref("dom.serviceWorkers.interception.enabled", true);

nit: Can you move this out of the #ifndef RELEASE_BUILD?  Seems unnecessarily complex to nest the conditions.

Also, it seems we need to do this for android in mobile.js.  See:

  https://dxr.mozilla.org/mozilla-central/source/mobile/android/app/mobile.js#932
Attachment #8645870 - Flags: review?(bkelly) → review+
Attached patch Full patchSplinter Review
Attachment #8645870 - Attachment is obsolete: true
Attachment #8645937 - Flags: superreview+
The "full patch" causes tests to fail. I'll hopefully have time to patch them up tomorrow.
Its likely we are fixing these tonight because they broke on the merge to beta.  See bug 1192996, etc.
I think this should now be fixed by a merge from last week that had a patch from Nikhil that did exactly this. Looking at the reports from comment 0, I think I'm right, so I'm marking this FIXED. Jim, could you double-check?
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(jmathies)
Resolution: --- → FIXED
yep, looks fixed. I don't see anything in 42.0a2.
Flags: needinfo?(jmathies)
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: