Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87A24D8EB for ; Tue, 11 Dec 2012 22:35:22 +0000 (UTC) Received: (qmail 68752 invoked by uid 500); 11 Dec 2012 22:35:21 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 68716 invoked by uid 500); 11 Dec 2012 22:35:21 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 68706 invoked by uid 99); 11 Dec 2012 22:35:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2012 22:35:21 +0000 Date: Tue, 11 Dec 2012 22:35:21 +0000 (UTC) From: "Tyler Hansen (JIRA)" To: flex-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLEX-33295) Flash player will go into an infinite loop on certain cases of trying to wrap text. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Tyler Hansen created FLEX-33295: ----------------------------------- Summary: Flash player will go into an infinite loop on certain= cases of trying to wrap text. Key: FLEX-33295 URL: https://issues.apache.org/jira/browse/FLEX-33295 Project: Apache Flex Issue Type: Bug Components: Spark: TextArea Affects Versions: Adobe Flex SDK 4.6 (Release) Environment: Win 7x64, Win 8x64 Flash Player 11.4, Flash Player 11.5 Mac OS works fine. Reporter: Tyler Hansen Setting text on a spark textarea depending on how the word wrap lays, will = crash flashplayer on windows only with this error: Error: Error #1502: A script has executed for longer than the default timeo= ut period of 15 seconds. =09at flashx.textLayout.elements::FlowElement/getAbsoluteStart()[C:\Vellum\= branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\elem= ents\FlowElement.as:888] =09at flashx.textLayout.compose::TextFlowLine/get location()[C:\Vellum\bran= ches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\= TextFlowLine.as:351] =09at flashx.textLayout.compose::TextFlowLine/get spaceBefore()[C:\Vellum\b= ranches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compo= se\TextFlowLine.as:504] =09at flashx.textLayout.compose::BaseCompose/fitLineToParcel()[C:\Vellum\br= anches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compos= e\BaseCompose.as:1613] =09at flashx.textLayout.compose::ComposeState/composeNextLine()[C:\Vellum\b= ranches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compo= se\ComposeState.as:399] =09at flashx.textLayout.compose::BaseCompose/composeParagraphElementIntoLin= es()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\= textLayout\compose\BaseCompose.as:791] =09at flashx.textLayout.compose::BaseCompose/composeParagraphElement()[C:\V= ellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayou= t\compose\BaseCompose.as:688] =09at flashx.textLayout.compose::ComposeState/composeParagraphElement()[C:\= Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayo= ut\compose\ComposeState.as:316] =09at flashx.textLayout.compose::BaseCompose/composeBlockElement()[C:\Vellu= m\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\co= mpose\BaseCompose.as:358] =09at flashx.textLayout.compose::BaseCompose/composeInternal()[C:\Vellum\br= anches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compos= e\BaseCompose.as:673] =09at flashx.textLayout.compose::ComposeState/composeInternal()[C:\Vellum\b= ranches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compo= se\ComposeState.as:143] =09at flashx.textLayout.compose::BaseCompose/composeTextFlow()[C:\Vellum\br= anches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compos= e\BaseCompose.as:458] =09at flashx.textLayout.compose::ComposeState/composeTextFlow()[C:\Vellum\b= ranches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compo= se\ComposeState.as:106] =09at flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/t= extLayout/internal/2008::callTheComposer()[C:\Vellum\branches\v2\2.0\dev\ou= tput\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowCompos= er.as:676] =09at flashx.textLayout.compose::StandardFlowComposer/internalCompose()[C:\= Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayo= ut\compose\StandardFlowComposer.as:760] =09at flashx.textLayout.compose::StandardFlowComposer/updateToController()[= C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textL= ayout\compose\StandardFlowComposer.as:556] =09at flashx.textLayout.compose::StandardFlowComposer/updateAllControllers(= )[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\tex= tLayout\compose\StandardFlowComposer.as:517] =09at flashx.textLayout.container::TextContainerManager/updateContainer()[C= :\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLa= yout\container\TextContainerManager.as:1343] =09at spark.components::RichEditableText/updateDisplayList()[E:\dev\4.y\fra= meworks\projects\spark\src\spark\components\RichEditableText.as:2974] =09at mx.core::UIComponent/validateDisplayList()[E:\dev\4.y\frameworks\proj= ects\framework\src\mx\core\UIComponent.as:8999] =09at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.y\framework= s\projects\framework\src\mx\managers\LayoutManager.as:736] =09at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.y\framewo= rks\projects\framework\src\mx\managers\LayoutManager.as:819] =09at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.y= \frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180] I have been able to recreate this with a real use client case, as well as s= ome lorem ipsum text of the same length(but not every time since the lorem = ipsum text is randomly generated). Removing the first two words in the tex= t fixes the issue, however still remains when removing the same amount of c= haracters at the end of the text instead. This leads me to believe this is= a random text wrapping issue. We tried testing on a mac and everything ran as expected, it appears to be = a windows only issue. Here is some simple code to reproduce the issue: =09 =09=09