Closed Bug 1132451 Opened 10 years ago Closed 10 years ago

out of memory

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

VERIFIED WONTFIX

People

(Reporter: spandan.veggalam, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20150125221831 Steps to reproduce: Run this code in js-1.8.5 shell test ( ) ; function test ( ) { try{ for ( test = 0 ; ; test++ ) gc += " v " ; } catch(ex) { } } Actual results: Out of memory Expected results: This is expected to be caught
I found this crash in Spidermonkey 1.8.5 version
Out of memory exceptions are not catchable.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
This is not replicated in other new versions. They are well handled. In other new versions running without catch results below errors: Spidermonkey 17: InternalError: allocation size overflow Spidermonkey 24: InternalError: allocation size overflow Spidermonkey 31: InternalError: allocation size overflow
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Spidermonkey 1.8.5 is extremely old and no longer supported. Spidermonkey 17 is also no longer supported. I'm not sure about 24, since 31 still has the RC status, but a lot has changed since then.
Yeah, I have written a fuzzer. As jsfunfuzz along with other fuzzers test spidermonkey 24*7 I am targetting old versions. JS 1_8_5 because it is one of the initial stable versions implements ECMAScript5.
This does look like a bug in 1.8.5. However, that release hasn't been supported and maintained for years, so the issue won't be fixed.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → WONTFIX
Spidermonkey 1.8.5 (introduced in Firefox 4.0) is not supported anymore. Please use latest one which is SpiderMonkey 31 https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.