"Assertion failure: JSVAL_IS_STRING(v)" within js_DecompileFunction

RESOLVED FIXED in mozilla1.9.2

Status

()

P1
critical
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: jruderman, Assigned: brendan)

Tracking

(Blocks: 1 bug, {assertion, regression, testcase})

Trunk
mozilla1.9.2
assertion, regression, testcase
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 attachment)

(Reporter)

Description

9 years ago
"" + (function() { var x; (function(b){x})(); })

Assertion failure: JSVAL_IS_STRING(v), at ../jsapi.h:197
autoBisect shows this is probably related to bug 516827:

The first bad revision is:
changeset:   33797:60ec3940a434
user:        Brendan Eich
date:        Sun Oct 18 17:41:24 2009 -0700
summary:     Don't build a stack frame to execute empty scripts (516827, r=igor).
Blocks: 516827
Keywords: regression
(Assignee)

Comment 2

9 years ago
Created attachment 407308 [details] [diff] [review]
fix
Assignee: general → brendan
Status: NEW → ASSIGNED
Attachment #407308 - Flags: review?(igor)
(Assignee)

Updated

9 years ago
OS: Mac OS X → All
Priority: -- → P1
Hardware: x86 → All
Target Milestone: --- → mozilla1.9.2

Updated

9 years ago
Attachment #407308 - Flags: review?(igor) → review+
(Assignee)

Comment 3

9 years ago
http://hg.mozilla.org/tracemonkey/rev/b7cd6baf3064

/be
Whiteboard: fixed-in-tracemonkey
(Assignee)

Updated

9 years ago
Flags: in-testsuite?

Comment 4

9 years ago
http://hg.mozilla.org/mozilla-central/rev/b7cd6baf3064
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.