Closed Bug 590664 Opened 14 years ago Closed 14 years ago

JM: jsreftest browser debug assert on js1_8/regress/regress-384412.js

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dmandelin, Assigned: dmandelin)

References

Details

Attachments

(1 file)

Showed up on the tinderbox with the last merge:

Assertion failure: IsSaneThisObject(args.thisv().toObject()), at /builds/moz2_slave/jaegermonkey-linux-debug/build/js/src/jsinterp.cpp:609
NEXT ERROR TEST-UNEXPECTED-FAIL | file:///home/cltbld/talos-slave/jaegermonkey_fedora-debug_test-jsreftest/build/jsreftest/tests/jsreftest.html?test=js1_8/regress/regress-384412.js | Exited with code 1 during test run
Assignee: general → dmandelin
Attached patch PatchSplinter Review
The patched line of code is in a new function. With eager-this, it should set NULL instead. Otherwise, we are trying to use a call object as 'this', which is deemed not sane. Because it's not.
Attachment #469230 - Flags: review?(cdleary)
Comment on attachment 469230 [details] [diff] [review]
Patch

Looks right. That thisv value is useless on the TM side, since |this| gets re-computed when it sees a js_CallClass object anyway (in ComputeThisFromArgv)...
Attachment #469230 - Flags: review?(cdleary) → review+
http://hg.mozilla.org/projects/jaegermonkey/rev/0b49b8491cfe
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: