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)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 477133

People

(Reporter: cpeyer, Assigned: jodyer)

References

Details

Attachments

(1 file)

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
Attached file Stacktrace for bug.
Verified bug avmshell d1534.
Flags: in-testsuite?
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
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
Blocks: 413522
Possibly related to bug 477133.
Back to Jeff for triage - is this properly an ASC bug?
Priority: P3 → --
Target Milestone: flash10.1 → ---
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Flags: in-testsuite?
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.

Attachment

General

Creator:
Created:
Updated:
Size: