Closed Bug 785749 Opened 10 years ago Closed 10 years ago

Assertion failure: v.isString(), at jsbool.cpp:198

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 785576

People

(Reporter: decoder, Unassigned)

Details

(Keywords: assertion, testcase, Whiteboard: [jsbugmon:update,ignore])

The following testcase asserts on mozilla-central revision f077de66e52d (run with -n -m -a):


var UBound = 0;
var status = '';
var statusitems = [];
addThis();
gczeal(2);
var arrUndef = [ , undefined, eval('var x = 0') ];
function addThis()
  statusitems[UBound] = status;
UBound++;
try {
  for (var i=0; i<UBound; i++)
  exitFunc ('test');
} catch(exc1) {}
evaluate('const libdir = "foo"');
evaluate("\
var appendToActual = function(s) {\
  gczeal = function() { };\
  schedulegc = function() { };\
  gcslice = function() { };\
  selectforgc = function() { };\
}\
");
evaluate("\
if ( statusitems[i]   ) \
var x;\
");
S-s due to gczeal involved. Trying a bisect now, but not sure if this is stable enough.
Whiteboard: [jsbugmon:update,bisect]
Whiteboard: [jsbugmon:update,bisect] → [jsbugmon:update]
JSBugMon: Bisection requested, result:
autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   103141:455ed4a415aa
user:        Eric Faust
date:        Wed Aug 22 22:05:21 2012 -0700
summary:     Bug 781855 - Fix incorrectly shadowing 'own' properties in the case of prototypal setters. (r=bhackett)
Ccing efaust and bhackett per comment 2.
Whiteboard: [jsbugmon:update] → [jsbugmon:update,ignore]
JSBugMon: The testcase found in this bug no longer reproduces (tried revision 8af2ff9c6018).
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Group: core-security
You need to log in before you can comment on or make changes to this bug.