Open Bug 1407977 Opened 7 years ago Updated 2 years ago

Crash with lots of failed "@mozilla.org/network/cache-service;1" instance

Categories

(Core :: XPCOM, defect)

56 Branch
Unspecified
Windows
defect

Tracking

()

Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- wontfix
firefox58 --- wontfix
firefox59 --- wontfix
firefox60 --- wontfix
firefox61 --- wontfix
firefox62 --- fix-optional

People

(Reporter: Oriol, Unassigned)

References

Details

(Keywords: crash, regression)

Open browser console and enter this code:

  for (let i=0; i<1500; ++i) {
    try { Cc["@mozilla.org/network/cache-service;1"].createInstance(Ci.nsIXMLHttpRequest); } catch(err){ }
  }

Firefox crashes.

I have some crash reports in about:crashes, but they are not submitted when clicked. So I don't know the crash signature.
Seems a Windows problem, on Linux I only get "too much recursion".
OS: Unspecified → Windows
nsIXMLHttpRequest was removed in bug 792808, so use something else like

  for (let i=0; i<1500; ++i) {
    try { Cc["@mozilla.org/network/cache-service;1"].createInstance(Ci.nsIDOMBlob); } catch(err){ }
  }

Regression window: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=7a493733bf3ca4a25795e4289bea17011843a04a&tochange=bd9af2730ced5dabe8a3c542778b3e8feddb938a

The crash report says it's an EXCEPTION_STACK_OVERFLOW
Blocks: 1380096
Has Regression Range: --- → yes
Has STR: --- → yes
Keywords: regression
Version: unspecified → 56 Branch
See Also: → 1543827
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.