Assertion failure: !isspace(*it), at js/src/shell/jsoptparse.cpp:98

RESOLVED DUPLICATE of bug 1248352

Status

()

Core
JavaScript Engine
RESOLVED DUPLICATE of bug 1248352
2 years ago
2 years ago

People

(Reporter: Spandan Veggalam, Unassigned)

Tracking

50 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160606114238

Steps to reproduce:

In the absence of file name js shell returns this assertion.

Shell options:
--fuzzing-safe -f
--ion-eager --ion-offthread-compile=off --fuzzing-safe -f
--ion-eager --ion-offthread-compile=off --non-writable-jitcode --ion-check-range-analysis --ion-extra-checks --no-sse3 --no-threads --fuzzing-safe -f 



Actual results:

Assertion failure: !isspace(*it), at js/src/shell/jsoptparse.cpp:98


Expected results:

Already this throws an error 
Error: Expected a value for option -f

Is it required to throw an assertion along with error?
Nicolas, would you know who to send this bug to? Thanks.
Flags: needinfo?(nicolas.b.pierron)
The assertion message does not correspond to either Gecko 47, nor Gecko 50.  Also, I cannot reproduce this assertion on the lastest version.

This assertion got changed as part of Bug 1248352, which I guess is the same issue that you are seeing here, so updating or cherry-picking this patch should fix your issue.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Flags: needinfo?(nicolas.b.pierron)
Resolution: --- → DUPLICATE
Duplicate of bug: 1248352
You need to log in before you can comment on or make changes to this bug.