Closed
Bug 481969
Opened 16 years ago
Closed 15 years ago
unreachable code generates verify error #1030, Stack depth unbalanced
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 477133
People
(Reporter: cpeyer, Assigned: jodyer)
References
Details
Attachments
(1 file)
4.13 KB,
text/plain
|
Details |
Steps to reproduce:
Compile and execute this code
var array:Array = ["test1"];
var i:int = 0;
if (i == 0)
{
trace("test ", array[i, array[i]]);
}
Actual Results:
compile without errors, but the swf becomes corrupted and cause a runtime error (verify error #1030, Stack depth unbalanced)
Expected Results:
should get the same result than when you remove the if: error #1069, property not found
This bug transferred from: http://bugs.adobe.com/jira/browse/ASC-3674
Reporter | ||
Comment 1•16 years ago
|
||
Reporter | ||
Comment 2•16 years ago
|
||
Verified bug avmshell d1534.
Flags: in-testsuite?
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Comment 3•16 years ago
|
||
This bug must be misnamed, there are no unmatched square brackets here. What we're seeing is technically an ASC bug (generates code that does not verify), though if we're generous it's the verifier being overly strict.
Assigning to Jeff Dyer to fix verifier or ASC.
Assignee: nobody → jodyer
Flags: flashplayer-qrb? → flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → flash10.x
Summary: unmatched square brackets in a flow control structure causes verify error #1030, Stack depth unbalanced → unreachable code generates verify error #1030, Stack depth unbalanced
Possibly related to bug 477133.
Comment 6•15 years ago
|
||
Back to Jeff for triage - is this properly an ASC bug?
Priority: P3 → --
Target Milestone: flash10.1 → ---
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
Flags: in-testsuite?
Comment 8•15 years ago
|
||
This isn't an unreachable code issue. Note that the test is tautologically true, and anyhow this is caused by ASC doing poor data flow around the conditional.
You need to log in
before you can comment on or make changes to this bug.
Description
•