Open Bug 431926 Opened 16 years ago Updated 2 years ago

Quickly reloading/interrupting page loads of addons.mozilla.org throws JS OOM exception: NS_ERROR_OUT_OF_MEMORY

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: stephend, Unassigned)

References

()

Details

Build ID: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9pre) Gecko/2008050209 Minefield/3.0pre

Summary: Quickly reloading/interrupting page loads of addons.mozilla.org throws JS OOM exception: NS_ERROR_OUT_OF_MEMORY

Steps to Reproduce:

1. Load https://addons.mozilla.org/en-US/firefox/
2. Click the Refresh/Reload button rapidly (interrupt the page-load requests with new ones)

Expected Results:

Page keeps attempting to load

Actual Results:

1. You get "stopped" in the status bar, and:
2. Error: uncaught exception: [Exception... "Out of Memory"  nsresult: "0x8007000e (NS_ERROR_OUT_OF_MEMORY)"  location: "JS frame :: https://addons.mozilla.org/js/__utm.js :: _uInfo :: line 142"  data: no]
Right before that exception, I see the following in my debug build:

WARNING: NS_ENSURE_TRUE(doc) failed: file /Users/mozilla/fx-dbg/mozilla/content/html/content/src/nsHTMLImageElement.cpp, line 167
###!!! ASSERTION: Failed to create the object: 'Error', file /Users/mozilla/fx-dbg/mozilla/dom/src/base/nsDOMClassInfo.cpp, line 4782
Blocks: 431938
(In reply to comment #1)
> ###!!! ASSERTION: Failed to create the object: 'Error', file
> /Users/mozilla/fx-dbg/mozilla/dom/src/base/nsDOMClassInfo.cpp, line 4782
> 

Filed bug 431938 for this Assertion.
would someone please breakpoint  JS_ReportOutOfMemory and get a C stack trace?
if possible, please build a JS stack trace too (DumpJSStack may work if you're lucky, otherwise do it by hand, there are bugs that explain how to do both, if you can't figure them out, ask a bot or on irc).
Flags: blocking1.9.1?
Not going to block on this.
Flags: blocking1.9.1? → blocking1.9.1-
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.