Closed Bug 50042 Opened 24 years ago Closed 24 years ago

toSource dumps core

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 44009

People

(Reporter: mike+mozilla, Assigned: rogerl)

Details

js> o = {}  
[object Object]
js> o.foo = o
[object Object]
js> o.toSource()
Assertion failure: !outermost, at jsobj.c:488
zsh: abort (core dumped)  js
cc'ing Brendan; is this a duplicate of bug 44009 ? 
Yay for small source, source control, small testcase and fast machine and source
control.  Binary search implicates this checkin:

http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/js/src&command=DIFF_FRAMESET&file=jsobj.c&rev1=3.23&rev2=3.24&root=/cvsroot

... of 10/06/1999 02:09.
Brendan, care to take a peek?  Looks like the offending checkin put an extra ( )
around toSource() output.

*** This bug has been marked as a duplicate of 44009 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verifying duplicate -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.