You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Cyrill Zadra (JIRA)" <ji...@apache.org> on 2013/04/13 04:26:16 UTC
[jira] [Resolved] (FLEX-27585) Spark DataGrid skin produces Stack
overflow in release build
[ https://issues.apache.org/jira/browse/FLEX-27585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cyrill Zadra resolved FLEX-27585.
---------------------------------
Resolution: Cannot Reproduce
Fix Version/s: Apache Flex 4.10.0
Could not reproduce.. Tried against Apache Flex 4.9.1.
> Spark DataGrid skin produces Stack overflow in release build
> ------------------------------------------------------------
>
> Key: FLEX-27585
> URL: https://issues.apache.org/jira/browse/FLEX-27585
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: DataGrid
> Affects Versions: Adobe Flex SDK 4.5 (Release)
> Environment: Affected OS(s): Windows
> Affected OS(s): Windows 7
> Language Found: English
> Reporter: Adobe JIRA
> Assignee: Cyrill Zadra
> Fix For: Apache Flex 4.10.0
>
> Attachments: FLEX-27585.zip
>
>
> Steps to reproduce:
> 1. Create a new Web Flex project
> 2. Drag a spark DataGrid to the work area
> 3. Create a new skin using the generated default and add to grid
> 4. Comment out lines 121-122
> /*const color:uint = dataGrid.getStyle("caretColor");
> caretIndicatorFill.color = color;*/
> 5. Export a release build and run in browser.
> Actual Results:
> Works when running from the workspace but breaks when using release build.
> VerifyError: Error #1023: Stack overflow occurred.
> at spark.components.gridClasses::GridLayout/intializeGridVisualElement()
> at spark.components.gridClasses::GridLayout/layoutIndicator()
> at spark.components.gridClasses::GridLayout/layoutCaretIndicator()
> at spark.components.gridClasses::GridLayout/updateDisplayList()
> at spark.components.supportClasses::GroupBase/updateDisplayList()
> at spark.components::Group/updateDisplayList()
> at spark.components::Grid/updateDisplayList()
> at mx.core::UIComponent/validateDisplayList()
> at spark.components::Group/validateDisplayList()
> at mx.managers::LayoutManager/validateDisplayList()
> at mx.managers::LayoutManager/doPhasedInstantiation()
> at mx.managers::LayoutManager/doPhasedInstantiationCallback()
> Expected Results:
> Should work in release build also.
>
> Workaround (if any):
> Always add a value to caretIndicatorFill.color or remove the interface implementation from the Rect. Seems like any change in the method body like simple statement can resolve this issue.
> Digging deeper it seems to be a compiler bug, when settings -optimize=false the problem goes away but the file size is doubled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira