Closed Bug 421621 Opened 14 years ago Closed 13 years ago

"Assertion failure: (sprop)->slot != SPROP_INVALID_SLOT || !SPROP_HAS_STUB_SETTER(sprop)" with setter, export/import

Categories

(Core :: JavaScript Engine, defect)

x86
All
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: assertion, testcase)

var th = this;
this.__defineSetter__('x', function () {});
export *;
import th.*;
x;

Assertion failure: (sprop)->slot != SPROP_INVALID_SLOT || !SPROP_HAS_STUB_SETTER(sprop), at jsinterp.c:5022

Seems harmless in opt.
Bug 447713 removed import/export from spidermonkey. Shall we close this bug?
Fixed by fix for bug 447713. Please do likewise for the others.

/be
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
reopening and moving to the 1.8 branch. if we don't care, we can wontfix it.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Version: Trunk → 1.8 Branch
actually 1.8.1 and 1.9.0 are affected.
Version: 1.8 Branch → 1.9.0 Branch
/cvsroot/mozilla/js/tests/js1_5/extensions/regress-421621.js,v  <--  regress-421621.js
initial revision: 1.1

excluded from 1.9.1
/cvsroot/mozilla/js/tests/spidermonkey-n-1.9.1.tests,v  <--  spidermonkey-n-1.9.1.tests
new revision: 1.4; previous revision: 1.3

http://hg.mozilla.org/mozilla-central/rev/b04c04268a94
Flags: in-testsuite+
Flags: in-litmus-
Confirming that this testcase seems to work as expected in TM tip, but still occurs in 1.9.0.x branch.
Severity: major → critical
Summary: "Assertion failure: (sprop)->slot != SPROP_INVALID_SLOT || !SPROP_HAS_STUB_SETTER(sprop)" with setter, export/import → [1.9.0.x branch] "Assertion failure: (sprop)->slot != SPROP_INVALID_SLOT || !SPROP_HAS_STUB_SETTER(sprop)" with setter, export/import
(In reply to comment #2)
> Fixed by fix for bug 447713. Please do likewise for the others.
> 
> /be

Resolving Fixed is a good idea, since it works as expected now in TM tip.
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
moving to trunk where this is "fixed".
OS: Mac OS X → All
Summary: [1.9.0.x branch] "Assertion failure: (sprop)->slot != SPROP_INVALID_SLOT || !SPROP_HAS_STUB_SETTER(sprop)" with setter, export/import → "Assertion failure: (sprop)->slot != SPROP_INVALID_SLOT || !SPROP_HAS_STUB_SETTER(sprop)" with setter, export/import
Version: 1.9.0 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.