Closed Bug 852523 Opened 13 years ago Closed 13 years ago

setting IONFLAGS to an invalid value is treated as 'all'

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: kael, Unassigned)

Details

I accidentally set IONFLAGS=aborts instead of IONFLAGS=abort, and the result was that it ended up treated as IONFLAGS=all, and js shell spent 10 minutes chugging and generating ~2gb of control flow graph and json data before I killed it. Not the worst thing in the world, but I'd suggest that an unrecognized value should either always produce the equivalent of IONFLAGS=help, or unrecognized values should be ignored and if the only values in IONFLAGS are unrecognized, it's treated as if you didn't set it at all.
Actually, now I'm confused. The source code says the channel is named 'abort' but IONFLAGS=help says it's named 'aborts'. I will have to figure out what actually happened here. :/ Probably invalid.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.