Closed Bug 644951 Opened 14 years ago Closed 14 years ago

Fix for hang in AOT apps.

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

Other
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: dsingh, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 Build Identifier: Seems that AOT (Device Release ipa-test, ipa-debug) builds are very sensitive to AbcParser structure. Changes to this structure (like adding new fields at the beginning, changing the order of first two fields etc) results in a hang for some apps (specifically in one's calling overridden methods, at the point of call). Moving the added bitfields to the end of the structure fixes the issue. It could be that some place in the code has made hardcoded assumptions about the Abcparser structure. But we haven't been able to find the exact cause. But this needs to be fixed ASAP as is blocking QE certification. We have raised another bug investigate the root cause. Reproducible: Always Steps to Reproduce: 1.Happens every time with apps having overridden methods. hang occurs while calling an overridden method. 2. Happens on ios / ARM platform only. Actual Results: App hangs Expected Results: No hang
Attached patch proposed patchSplinter Review
Attachment #521774 - Flags: review?(stejohns)
Comment on attachment 521774 [details] [diff] [review] proposed patch This is probably an improvement anyway -- any class that has DATA SECTION BEGIN/END comments should not have any fields outside that section; this patch moves the floatSupport flags into the data section.
Comment on attachment 521774 [details] [diff] [review] proposed patch given the urgency, I'll hold my nose and R+, but this is a major hack festival -- we really need to figure out how this change could possibly be affecting anything, as it smells like another latent bug somewhere that we're just getting lucky with...
Attachment #521774 - Flags: review?(stejohns) → review+
(In reply to comment #3) > Comment on attachment 521774 [details] [diff] [review] > proposed patch > > given the urgency, I'll hold my nose and R+, but this is a major hack festival > -- we really need to figure out how this change could possibly be affecting > anything, as it smells like another latent bug somewhere that we're just > getting lucky with... IMO: A patch should never, ever be approved because it is simply "urgent". If it needs to ship because it masks an important bug then so be it, but then it needs to be either on the ship branch and not in mainline, or it needs to be under the control of a suitable ifdefs and comments that say what's going on.
This patch isn't going to go into TR; it's for the Wasabi branch.
Taking the bug / patch back as this is not supposed to go into Main or TR. Marking the bug resolved, invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: