Status

()

VERIFIED WONTFIX
4 years ago
4 years ago

People

(Reporter: spandan.veggalam, Unassigned)

Tracking

Trunk
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
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
(Reporter)

Comment 1

4 years ago
I found this crash in Spidermonkey 1.8.5 version
Out of memory exceptions are not catchable.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → INVALID
(Reporter)

Comment 3

4 years ago
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.
(Reporter)

Comment 5

4 years ago
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
Last Resolved: 4 years ago4 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.