[ 
https://issues.apache.org/jira/browse/CB-11335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-11335:
----------------------------------
    Description: 
This application is modifying the autolayout engine from a background thread, 
which can lead to engine corruption and weird crashes.  This will cause an 
exception in a future release.
{code}
 Stack:(
        0   CoreFoundation                      0x000000010d9b9d85 
__exceptionPreprocess + 165
        1   libobjc.A.dylib                     0x000000010d42ddeb 
objc_exception_throw + 48
        2   CoreFoundation                      0x000000010d9b9cbd 
+[NSException raise:format:] + 205
        3   Foundation                          0x000000010cad9b6b 
_AssertAutolayoutOnMainThreadOnly + 79
        4   Foundation                          0x000000010c939357 -[NSISEngine 
withBehaviors:performModifications:] + 31
        5   UIKit                               0x000000010bc6cadb 
-[UIView(AdditionalLayoutSupport) 
_withAutomaticEngineOptimizationDisabledIfEngineExists:] + 58
        6   UIKit                               0x000000010bc6d61e 
-[UIView(AdditionalLayoutSupport) updateConstraintsIfNeeded] + 254
        7   UIKit                               0x000000010bc6e333 
-[UIView(AdditionalLayoutSupport) _updateConstraintsAtEngineLevelIfNeeded] + 272
        8   UIKit                               0x000000010b422a96 
-[UIView(Hierarchy) _updateConstraintsAsNecessaryAndApplyLayoutFromEngine] + 159
        9   UIKit                               0x000000010b432980 
-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 703
        10  QuartzCore                          0x000000010a593c00 -[CALayer 
layoutSublayers] + 146
        11  QuartzCore                          0x000000010a58808e 
_ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366
        12  QuartzCore                          0x000000010a587f0c 
_ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
        13  QuartzCore                          0x000000010a57c3c9 
_ZN2CA7Context18commit_transactionEPNS_11TransactionE + 277
        14  QuartzCore                          0x000000010a5aa086 
_ZN2CA11Transaction6commitEv + 486
        15  QuartzCore                          0x000000010a5aa378 
_ZN2CA11Transaction14release_threadEPv + 224
        16  libsystem_pthread.dylib             0x000000010e45a387 
_pthread_tsd_cleanup + 470
        17  libsystem_pthread.dylib             0x000000010e459f63 
_pthread_exit + 117
        18  libsystem_pthread.dylib             0x000000010e45ac0e pthread_exit 
+ 30
        19  Foundation                          0x000000010c96df1e 
__NSFinalizeThreadData + 0
        20  Foundation                          0x000000010c9ee13f 
__NSThread__start__ + 1218
        21  libsystem_pthread.dylib             0x000000010e45899d 
_pthread_body + 131
        22  libsystem_pthread.dylib             0x000000010e45891a 
_pthread_body + 0
        23  libsystem_pthread.dylib             0x000000010e456351 thread_start 
+ 13
)
{code}


  was:
This application is modifying the autolayout engine from a background thread, 
which can lead to engine corruption and weird crashes.  This will cause an 
exception in a future release.
 Stack:(
        0   CoreFoundation                      0x000000010d9b9d85 
__exceptionPreprocess + 165
        1   libobjc.A.dylib                     0x000000010d42ddeb 
objc_exception_throw + 48
        2   CoreFoundation                      0x000000010d9b9cbd 
+[NSException raise:format:] + 205
        3   Foundation                          0x000000010cad9b6b 
_AssertAutolayoutOnMainThreadOnly + 79
        4   Foundation                          0x000000010c939357 -[NSISEngine 
withBehaviors:performModifications:] + 31
        5   UIKit                               0x000000010bc6cadb 
-[UIView(AdditionalLayoutSupport) 
_withAutomaticEngineOptimizationDisabledIfEngineExists:] + 58
        6   UIKit                               0x000000010bc6d61e 
-[UIView(AdditionalLayoutSupport) updateConstraintsIfNeeded] + 254
        7   UIKit                               0x000000010bc6e333 
-[UIView(AdditionalLayoutSupport) _updateConstraintsAtEngineLevelIfNeeded] + 272
        8   UIKit                               0x000000010b422a96 
-[UIView(Hierarchy) _updateConstraintsAsNecessaryAndApplyLayoutFromEngine] + 159
        9   UIKit                               0x000000010b432980 
-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 703
        10  QuartzCore                          0x000000010a593c00 -[CALayer 
layoutSublayers] + 146
        11  QuartzCore                          0x000000010a58808e 
_ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366
        12  QuartzCore                          0x000000010a587f0c 
_ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
        13  QuartzCore                          0x000000010a57c3c9 
_ZN2CA7Context18commit_transactionEPNS_11TransactionE + 277
        14  QuartzCore                          0x000000010a5aa086 
_ZN2CA11Transaction6commitEv + 486
        15  QuartzCore                          0x000000010a5aa378 
_ZN2CA11Transaction14release_threadEPv + 224
        16  libsystem_pthread.dylib             0x000000010e45a387 
_pthread_tsd_cleanup + 470
        17  libsystem_pthread.dylib             0x000000010e459f63 
_pthread_exit + 117
        18  libsystem_pthread.dylib             0x000000010e45ac0e pthread_exit 
+ 30
        19  Foundation                          0x000000010c96df1e 
__NSFinalizeThreadData + 0
        20  Foundation                          0x000000010c9ee13f 
__NSThread__start__ + 1218
        21  libsystem_pthread.dylib             0x000000010e45899d 
_pthread_body + 131
        22  libsystem_pthread.dylib             0x000000010e45891a 
_pthread_body + 0
        23  libsystem_pthread.dylib             0x000000010e456351 thread_start 
+ 13
)




> This application is modifying the autolayout engine from a background thread, 
> which can lead to engine corruption and weird crashes.  This will cause an 
> exception in a future release
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-11335
>                 URL: https://issues.apache.org/jira/browse/CB-11335
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Gauri Shankar
>            Priority: Critical
>
> This application is modifying the autolayout engine from a background thread, 
> which can lead to engine corruption and weird crashes.  This will cause an 
> exception in a future release.
> {code}
>  Stack:(
>       0   CoreFoundation                      0x000000010d9b9d85 
> __exceptionPreprocess + 165
>       1   libobjc.A.dylib                     0x000000010d42ddeb 
> objc_exception_throw + 48
>       2   CoreFoundation                      0x000000010d9b9cbd 
> +[NSException raise:format:] + 205
>       3   Foundation                          0x000000010cad9b6b 
> _AssertAutolayoutOnMainThreadOnly + 79
>       4   Foundation                          0x000000010c939357 -[NSISEngine 
> withBehaviors:performModifications:] + 31
>       5   UIKit                               0x000000010bc6cadb 
> -[UIView(AdditionalLayoutSupport) 
> _withAutomaticEngineOptimizationDisabledIfEngineExists:] + 58
>       6   UIKit                               0x000000010bc6d61e 
> -[UIView(AdditionalLayoutSupport) updateConstraintsIfNeeded] + 254
>       7   UIKit                               0x000000010bc6e333 
> -[UIView(AdditionalLayoutSupport) _updateConstraintsAtEngineLevelIfNeeded] + 
> 272
>       8   UIKit                               0x000000010b422a96 
> -[UIView(Hierarchy) _updateConstraintsAsNecessaryAndApplyLayoutFromEngine] + 
> 159
>       9   UIKit                               0x000000010b432980 
> -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 703
>       10  QuartzCore                          0x000000010a593c00 -[CALayer 
> layoutSublayers] + 146
>       11  QuartzCore                          0x000000010a58808e 
> _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366
>       12  QuartzCore                          0x000000010a587f0c 
> _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
>       13  QuartzCore                          0x000000010a57c3c9 
> _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 277
>       14  QuartzCore                          0x000000010a5aa086 
> _ZN2CA11Transaction6commitEv + 486
>       15  QuartzCore                          0x000000010a5aa378 
> _ZN2CA11Transaction14release_threadEPv + 224
>       16  libsystem_pthread.dylib             0x000000010e45a387 
> _pthread_tsd_cleanup + 470
>       17  libsystem_pthread.dylib             0x000000010e459f63 
> _pthread_exit + 117
>       18  libsystem_pthread.dylib             0x000000010e45ac0e pthread_exit 
> + 30
>       19  Foundation                          0x000000010c96df1e 
> __NSFinalizeThreadData + 0
>       20  Foundation                          0x000000010c9ee13f 
> __NSThread__start__ + 1218
>       21  libsystem_pthread.dylib             0x000000010e45899d 
> _pthread_body + 131
>       22  libsystem_pthread.dylib             0x000000010e45891a 
> _pthread_body + 0
>       23  libsystem_pthread.dylib             0x000000010e456351 thread_start 
> + 13
> )
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to