[jira] [Commented] (CB-9769) Application modifying the autolayout engine from a background thread causes crash on keyboard focus

2017-02-28 Thread jcesarmobile (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15887573#comment-15887573
 ] 

jcesarmobile commented on CB-9769:
--

Yes, the issue is caused by some 3rd party keyboards. It has nothing to do with 
Cordova. It can make regular webviews crash too.

> Application modifying the autolayout engine from a background thread causes 
> crash on keyboard focus
> ---
>
> Key: CB-9769
> URL: https://issues.apache.org/jira/browse/CB-9769
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Ryan England
>  Labels: keyboard, triaged
>
> Hi there,
> We're getting issues when keyboard focus is given to a textbox within a form. 
> Upon clicking the form field, the entire app immediately crashes and the 
> following information is displayed in Xcode:
> 2015-10-08 18:47:49.092 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a4a1c  + 
> 36
>   5   UIKit   0x000189c6393c  + 
> 64
>   6   UIKit   0x000189c64454  + 
> 244
>   7   UIKit   0x000189c80f28  + 
> 108
>   8   UIKit   0x00018a38a77c  + 
> 268
>   9   UIKit   0x000189e61fb0  + 
> 176
>   10  UIKit   0x000189e51098  + 
> 52
>   11  UIKit   0x000189b5aff0  + 
> 644
>   12  QuartzCore  0x000189361f14  + 
> 148
>   13  QuartzCore  0x00018935cb20  + 
> 292
>   14  QuartzCore  0x00018935c9e0  + 
> 32
>   15  QuartzCore  0x00018935c07c  + 
> 252
>   16  QuartzCore  0x00018935bdd0  + 
> 516
>   17  QuartzCore  0x0001893aeb00  + 
> 592
>   18  IOKit   0x000185896018 
> IODispatchCalloutFromCFMessage + 372
>   19  CoreFoundation  0x0001845aa8e0  + 
> 180
>   20  CoreFoundation  0x0001845c0cdc  + 
> 56
>   21  CoreFoundation  0x0001845c0414  + 
> 436
>   22  CoreFoundation  0x0001845be16c  + 
> 1800
>   23  CoreFoundation  0x0001844ecdc0 
> CFRunLoopRunSpecific + 384
>   24  WebCore 0x000196a25aa0  + 
> 456
>   25  libsystem_pthread.dylib 0x00019a4fbb3c  + 
> 156
>   26  libsystem_pthread.dylib 0x00019a4fbaa0  + > 0
>   27  libsystem_pthread.dylib 0x00019a4f9030 thread_start 
> + 4
> )
> 2015-10-08 18:47:49.096 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a8f3c  + 
> 56
>   5   Foundation  0x0001854a4afc  + 
> 260
>   6   UIKit   0x000189c6393c  + 
> 64
>   7   UIKit   0x000189c64454  + 
> 244
>   8   UIKit   0x000189c80f28  + 
> 108
>   9   UIKit   0x00018a38a77c  + 
> 268
>   10  UIKit   0x000189e61fb0  + 
> 176
>   11  UIKit   0x000189e51098  + 
> 52
>   12  UIKit   0x000189b5aff0  + 
> 644
>   13  QuartzCore  0x000189361f14  + 
> 148
>   14  QuartzCore  0x00018935cb20  + 
> 292
>   15  QuartzCore  

[jira] [Commented] (CB-9769) Application modifying the autolayout engine from a background thread causes crash on keyboard focus

2017-02-27 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15887152#comment-15887152
 ] 

Shazron Abdullah commented on CB-9769:
--

If the plugin uses our bridge to write to JavaScript, all is fine -- if their 
native code does anything in a different thread when updating the UI, then we 
have no control over it.

> Application modifying the autolayout engine from a background thread causes 
> crash on keyboard focus
> ---
>
> Key: CB-9769
> URL: https://issues.apache.org/jira/browse/CB-9769
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Ryan England
>  Labels: keyboard, triaged
>
> Hi there,
> We're getting issues when keyboard focus is given to a textbox within a form. 
> Upon clicking the form field, the entire app immediately crashes and the 
> following information is displayed in Xcode:
> 2015-10-08 18:47:49.092 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a4a1c  + 
> 36
>   5   UIKit   0x000189c6393c  + 
> 64
>   6   UIKit   0x000189c64454  + 
> 244
>   7   UIKit   0x000189c80f28  + 
> 108
>   8   UIKit   0x00018a38a77c  + 
> 268
>   9   UIKit   0x000189e61fb0  + 
> 176
>   10  UIKit   0x000189e51098  + 
> 52
>   11  UIKit   0x000189b5aff0  + 
> 644
>   12  QuartzCore  0x000189361f14  + 
> 148
>   13  QuartzCore  0x00018935cb20  + 
> 292
>   14  QuartzCore  0x00018935c9e0  + 
> 32
>   15  QuartzCore  0x00018935c07c  + 
> 252
>   16  QuartzCore  0x00018935bdd0  + 
> 516
>   17  QuartzCore  0x0001893aeb00  + 
> 592
>   18  IOKit   0x000185896018 
> IODispatchCalloutFromCFMessage + 372
>   19  CoreFoundation  0x0001845aa8e0  + 
> 180
>   20  CoreFoundation  0x0001845c0cdc  + 
> 56
>   21  CoreFoundation  0x0001845c0414  + 
> 436
>   22  CoreFoundation  0x0001845be16c  + 
> 1800
>   23  CoreFoundation  0x0001844ecdc0 
> CFRunLoopRunSpecific + 384
>   24  WebCore 0x000196a25aa0  + 
> 456
>   25  libsystem_pthread.dylib 0x00019a4fbb3c  + 
> 156
>   26  libsystem_pthread.dylib 0x00019a4fbaa0  + > 0
>   27  libsystem_pthread.dylib 0x00019a4f9030 thread_start 
> + 4
> )
> 2015-10-08 18:47:49.096 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a8f3c  + 
> 56
>   5   Foundation  0x0001854a4afc  + 
> 260
>   6   UIKit   0x000189c6393c  + 
> 64
>   7   UIKit   0x000189c64454  + 
> 244
>   8   UIKit   0x000189c80f28  + 
> 108
>   9   UIKit   0x00018a38a77c  + 
> 268
>   10  UIKit   0x000189e61fb0  + 
> 176
>   11  UIKit   0x000189e51098  + 
> 52
>   12  UIKit   0x000189b5aff0  + 
> 644
>   13  QuartzCore  0x000189361f14  + 
> 148
>   14  QuartzCore  0x00018935cb20 

[jira] [Commented] (CB-9769) Application modifying the autolayout engine from a background thread causes crash on keyboard focus

2017-02-27 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15887150#comment-15887150
 ] 

Shazron Abdullah commented on CB-9769:
--

The issue is simple - you can't change the UI (ie UIKit, includes UIWebView) if 
its not done on the main thread. A plugin is attempting to modify the UI from a 
different thread. So it appears to be a plugin issue with the third party 
keyboard, which needs to be fixed.

> Application modifying the autolayout engine from a background thread causes 
> crash on keyboard focus
> ---
>
> Key: CB-9769
> URL: https://issues.apache.org/jira/browse/CB-9769
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Ryan England
>  Labels: keyboard, triaged
>
> Hi there,
> We're getting issues when keyboard focus is given to a textbox within a form. 
> Upon clicking the form field, the entire app immediately crashes and the 
> following information is displayed in Xcode:
> 2015-10-08 18:47:49.092 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a4a1c  + 
> 36
>   5   UIKit   0x000189c6393c  + 
> 64
>   6   UIKit   0x000189c64454  + 
> 244
>   7   UIKit   0x000189c80f28  + 
> 108
>   8   UIKit   0x00018a38a77c  + 
> 268
>   9   UIKit   0x000189e61fb0  + 
> 176
>   10  UIKit   0x000189e51098  + 
> 52
>   11  UIKit   0x000189b5aff0  + 
> 644
>   12  QuartzCore  0x000189361f14  + 
> 148
>   13  QuartzCore  0x00018935cb20  + 
> 292
>   14  QuartzCore  0x00018935c9e0  + 
> 32
>   15  QuartzCore  0x00018935c07c  + 
> 252
>   16  QuartzCore  0x00018935bdd0  + 
> 516
>   17  QuartzCore  0x0001893aeb00  + 
> 592
>   18  IOKit   0x000185896018 
> IODispatchCalloutFromCFMessage + 372
>   19  CoreFoundation  0x0001845aa8e0  + 
> 180
>   20  CoreFoundation  0x0001845c0cdc  + 
> 56
>   21  CoreFoundation  0x0001845c0414  + 
> 436
>   22  CoreFoundation  0x0001845be16c  + 
> 1800
>   23  CoreFoundation  0x0001844ecdc0 
> CFRunLoopRunSpecific + 384
>   24  WebCore 0x000196a25aa0  + 
> 456
>   25  libsystem_pthread.dylib 0x00019a4fbb3c  + 
> 156
>   26  libsystem_pthread.dylib 0x00019a4fbaa0  + > 0
>   27  libsystem_pthread.dylib 0x00019a4f9030 thread_start 
> + 4
> )
> 2015-10-08 18:47:49.096 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a8f3c  + 
> 56
>   5   Foundation  0x0001854a4afc  + 
> 260
>   6   UIKit   0x000189c6393c  + 
> 64
>   7   UIKit   0x000189c64454  + 
> 244
>   8   UIKit   0x000189c80f28  + 
> 108
>   9   UIKit   0x00018a38a77c  + 
> 268
>   10  UIKit   0x000189e61fb0  + 
> 176
>   11  UIKit   0x000189e51098  + 
> 52
>   12  UIKit   0x000189b5aff0  + 
> 644
>   13  QuartzCore  

[jira] [Commented] (CB-9769) Application modifying the autolayout engine from a background thread causes crash on keyboard focus

2015-12-31 Thread Robert Saiter (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15076065#comment-15076065
 ] 

Robert Saiter commented on CB-9769:
---

Just noticed this issue reported in NewRelic "accessing 
_cachedSystemAnimationFence requires the main thread"... will try to disable 
3rd party keyboards as a workaround.  

> Application modifying the autolayout engine from a background thread causes 
> crash on keyboard focus
> ---
>
> Key: CB-9769
> URL: https://issues.apache.org/jira/browse/CB-9769
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Ryan England
>
> Hi there,
> We're getting issues when keyboard focus is given to a textbox within a form. 
> Upon clicking the form field, the entire app immediately crashes and the 
> following information is displayed in Xcode:
> 2015-10-08 18:47:49.092 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a4a1c  + 
> 36
>   5   UIKit   0x000189c6393c  + 
> 64
>   6   UIKit   0x000189c64454  + 
> 244
>   7   UIKit   0x000189c80f28  + 
> 108
>   8   UIKit   0x00018a38a77c  + 
> 268
>   9   UIKit   0x000189e61fb0  + 
> 176
>   10  UIKit   0x000189e51098  + 
> 52
>   11  UIKit   0x000189b5aff0  + 
> 644
>   12  QuartzCore  0x000189361f14  + 
> 148
>   13  QuartzCore  0x00018935cb20  + 
> 292
>   14  QuartzCore  0x00018935c9e0  + 
> 32
>   15  QuartzCore  0x00018935c07c  + 
> 252
>   16  QuartzCore  0x00018935bdd0  + 
> 516
>   17  QuartzCore  0x0001893aeb00  + 
> 592
>   18  IOKit   0x000185896018 
> IODispatchCalloutFromCFMessage + 372
>   19  CoreFoundation  0x0001845aa8e0  + 
> 180
>   20  CoreFoundation  0x0001845c0cdc  + 
> 56
>   21  CoreFoundation  0x0001845c0414  + 
> 436
>   22  CoreFoundation  0x0001845be16c  + 
> 1800
>   23  CoreFoundation  0x0001844ecdc0 
> CFRunLoopRunSpecific + 384
>   24  WebCore 0x000196a25aa0  + 
> 456
>   25  libsystem_pthread.dylib 0x00019a4fbb3c  + 
> 156
>   26  libsystem_pthread.dylib 0x00019a4fbaa0  + > 0
>   27  libsystem_pthread.dylib 0x00019a4f9030 thread_start 
> + 4
> )
> 2015-10-08 18:47:49.096 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a8f3c  + 
> 56
>   5   Foundation  0x0001854a4afc  + 
> 260
>   6   UIKit   0x000189c6393c  + 
> 64
>   7   UIKit   0x000189c64454  + 
> 244
>   8   UIKit   0x000189c80f28  + 
> 108
>   9   UIKit   0x00018a38a77c  + 
> 268
>   10  UIKit   0x000189e61fb0  + 
> 176
>   11  UIKit   0x000189e51098  + 
> 52
>   12  UIKit   0x000189b5aff0  + 
> 644
>   13  QuartzCore  0x000189361f14  + 
> 148
>   14  QuartzCore  0x00018935cb20  + 
> 292
>   15  QuartzCore  0x00018935c9e0  + 
> 

[jira] [Commented] (CB-9769) Application modifying the autolayout engine from a background thread causes crash on keyboard focus

2015-12-29 Thread Alan Neveu (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15073945#comment-15073945
 ] 

Alan Neveu commented on CB-9769:


We have the same problem, but simply restricting the keyboard is not an 
acceptable solution due to international users and also people who just want to 
use something like the Swype keyboard on their iPhone/iPad. [~jcesarmobile] Are 
you able to reproduce if you try using the Swype keyboard? One user has told us 
that it seems to be the "Allow Full Access" permission in Swype that causes the 
crash to happen. If they remove that permission it does not crash, but of 
course that disables the Swype keyboard itself. Any help?

> Application modifying the autolayout engine from a background thread causes 
> crash on keyboard focus
> ---
>
> Key: CB-9769
> URL: https://issues.apache.org/jira/browse/CB-9769
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Ryan England
>
> Hi there,
> We're getting issues when keyboard focus is given to a textbox within a form. 
> Upon clicking the form field, the entire app immediately crashes and the 
> following information is displayed in Xcode:
> 2015-10-08 18:47:49.092 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a4a1c  + 
> 36
>   5   UIKit   0x000189c6393c  + 
> 64
>   6   UIKit   0x000189c64454  + 
> 244
>   7   UIKit   0x000189c80f28  + 
> 108
>   8   UIKit   0x00018a38a77c  + 
> 268
>   9   UIKit   0x000189e61fb0  + 
> 176
>   10  UIKit   0x000189e51098  + 
> 52
>   11  UIKit   0x000189b5aff0  + 
> 644
>   12  QuartzCore  0x000189361f14  + 
> 148
>   13  QuartzCore  0x00018935cb20  + 
> 292
>   14  QuartzCore  0x00018935c9e0  + 
> 32
>   15  QuartzCore  0x00018935c07c  + 
> 252
>   16  QuartzCore  0x00018935bdd0  + 
> 516
>   17  QuartzCore  0x0001893aeb00  + 
> 592
>   18  IOKit   0x000185896018 
> IODispatchCalloutFromCFMessage + 372
>   19  CoreFoundation  0x0001845aa8e0  + 
> 180
>   20  CoreFoundation  0x0001845c0cdc  + 
> 56
>   21  CoreFoundation  0x0001845c0414  + 
> 436
>   22  CoreFoundation  0x0001845be16c  + 
> 1800
>   23  CoreFoundation  0x0001844ecdc0 
> CFRunLoopRunSpecific + 384
>   24  WebCore 0x000196a25aa0  + 
> 456
>   25  libsystem_pthread.dylib 0x00019a4fbb3c  + 
> 156
>   26  libsystem_pthread.dylib 0x00019a4fbaa0  + > 0
>   27  libsystem_pthread.dylib 0x00019a4f9030 thread_start 
> + 4
> )
> 2015-10-08 18:47:49.096 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a8f3c  + 
> 56
>   5   Foundation  0x0001854a4afc  + 
> 260
>   6   UIKit   0x000189c6393c  + 
> 64
>   7   UIKit   0x000189c64454  + 
> 244
>   8   UIKit   0x000189c80f28  + 
> 108
>   9   UIKit   0x00018a38a77c  + 
> 268
>   10  UIKit   0x000189e61fb0  + 
> 176
>   11  UIKit 

[jira] [Commented] (CB-9769) Application modifying the autolayout engine from a background thread causes crash on keyboard focus

2015-11-25 Thread Ettienne (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15027267#comment-15027267
 ] 

Ettienne commented on CB-9769:
--

Also having the same issue and I installed Kurt.F solution and it works 
perfectly for now, as a work around. - 
https://github.com/kurtisf/cordova-plugin-restrict-keyboard

> Application modifying the autolayout engine from a background thread causes 
> crash on keyboard focus
> ---
>
> Key: CB-9769
> URL: https://issues.apache.org/jira/browse/CB-9769
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Ryan England
>
> Hi there,
> We're getting issues when keyboard focus is given to a textbox within a form. 
> Upon clicking the form field, the entire app immediately crashes and the 
> following information is displayed in Xcode:
> 2015-10-08 18:47:49.092 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a4a1c  + 
> 36
>   5   UIKit   0x000189c6393c  + 
> 64
>   6   UIKit   0x000189c64454  + 
> 244
>   7   UIKit   0x000189c80f28  + 
> 108
>   8   UIKit   0x00018a38a77c  + 
> 268
>   9   UIKit   0x000189e61fb0  + 
> 176
>   10  UIKit   0x000189e51098  + 
> 52
>   11  UIKit   0x000189b5aff0  + 
> 644
>   12  QuartzCore  0x000189361f14  + 
> 148
>   13  QuartzCore  0x00018935cb20  + 
> 292
>   14  QuartzCore  0x00018935c9e0  + 
> 32
>   15  QuartzCore  0x00018935c07c  + 
> 252
>   16  QuartzCore  0x00018935bdd0  + 
> 516
>   17  QuartzCore  0x0001893aeb00  + 
> 592
>   18  IOKit   0x000185896018 
> IODispatchCalloutFromCFMessage + 372
>   19  CoreFoundation  0x0001845aa8e0  + 
> 180
>   20  CoreFoundation  0x0001845c0cdc  + 
> 56
>   21  CoreFoundation  0x0001845c0414  + 
> 436
>   22  CoreFoundation  0x0001845be16c  + 
> 1800
>   23  CoreFoundation  0x0001844ecdc0 
> CFRunLoopRunSpecific + 384
>   24  WebCore 0x000196a25aa0  + 
> 456
>   25  libsystem_pthread.dylib 0x00019a4fbb3c  + 
> 156
>   26  libsystem_pthread.dylib 0x00019a4fbaa0  + > 0
>   27  libsystem_pthread.dylib 0x00019a4f9030 thread_start 
> + 4
> )
> 2015-10-08 18:47:49.096 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a8f3c  + 
> 56
>   5   Foundation  0x0001854a4afc  + 
> 260
>   6   UIKit   0x000189c6393c  + 
> 64
>   7   UIKit   0x000189c64454  + 
> 244
>   8   UIKit   0x000189c80f28  + 
> 108
>   9   UIKit   0x00018a38a77c  + 
> 268
>   10  UIKit   0x000189e61fb0  + 
> 176
>   11  UIKit   0x000189e51098  + 
> 52
>   12  UIKit   0x000189b5aff0  + 
> 644
>   13  QuartzCore  0x000189361f14  + 
> 148
>   14  QuartzCore  0x00018935cb20  + 
> 292
>   15  QuartzCore  0x00018935c9e0  + 
> 32
>   

[jira] [Commented] (CB-9769) Application modifying the autolayout engine from a background thread causes crash on keyboard focus

2015-10-26 Thread Xing Li (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14975699#comment-14975699
 ] 

Xing Li commented on CB-9769:
-

Hi jcesarmobile,

I am not the original issue owner, but I have the same problem.

Informations: iOS9, iPhone(I tried both iPhone5s and iPhone6 plus), ionic 
framework

I received this error when using 3rd party keyboard, it's Sogou 
Input(https://itunes.apple.com/cn/app/sou-gou-shu-ru-fa-quan-hao/id917670924?mt=8),
 a 3rd party Chinese keyboard for iOS.

Both text field and textarea will cause this error in my situation.

All things work fine on iOS8, but it is another story on iOS9.

Some refs maybe helpful:
1. https://github.com/driftyco/ionic/issues/4402 (mentioned in the original 
post)
2. 
http://stackoverflow.com/questions/32744781/ios-9-ionic-cordova-app-crashes-on-iphone-works-on-ipad/

Of course there is a workaround solution 
https://github.com/kurtisf/cordova-plugin-restrict-keyboard to restrict an iOS 
app to only use the standard keyboard to prevent crashes on iOS 9, but I don't 
think it is a great idea for me, because there are so many iOS users using 3rd 
party keyboard in China.

Sorry for my poor English, thanks a lot!

> Application modifying the autolayout engine from a background thread causes 
> crash on keyboard focus
> ---
>
> Key: CB-9769
> URL: https://issues.apache.org/jira/browse/CB-9769
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Ryan England
>
> Hi there,
> We're getting issues when keyboard focus is given to a textbox within a form. 
> Upon clicking the form field, the entire app immediately crashes and the 
> following information is displayed in Xcode:
> 2015-10-08 18:47:49.092 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a4a1c  + 
> 36
>   5   UIKit   0x000189c6393c  + 
> 64
>   6   UIKit   0x000189c64454  + 
> 244
>   7   UIKit   0x000189c80f28  + 
> 108
>   8   UIKit   0x00018a38a77c  + 
> 268
>   9   UIKit   0x000189e61fb0  + 
> 176
>   10  UIKit   0x000189e51098  + 
> 52
>   11  UIKit   0x000189b5aff0  + 
> 644
>   12  QuartzCore  0x000189361f14  + 
> 148
>   13  QuartzCore  0x00018935cb20  + 
> 292
>   14  QuartzCore  0x00018935c9e0  + 
> 32
>   15  QuartzCore  0x00018935c07c  + 
> 252
>   16  QuartzCore  0x00018935bdd0  + 
> 516
>   17  QuartzCore  0x0001893aeb00  + 
> 592
>   18  IOKit   0x000185896018 
> IODispatchCalloutFromCFMessage + 372
>   19  CoreFoundation  0x0001845aa8e0  + 
> 180
>   20  CoreFoundation  0x0001845c0cdc  + 
> 56
>   21  CoreFoundation  0x0001845c0414  + 
> 436
>   22  CoreFoundation  0x0001845be16c  + 
> 1800
>   23  CoreFoundation  0x0001844ecdc0 
> CFRunLoopRunSpecific + 384
>   24  WebCore 0x000196a25aa0  + 
> 456
>   25  libsystem_pthread.dylib 0x00019a4fbb3c  + 
> 156
>   26  libsystem_pthread.dylib 0x00019a4fbaa0  + > 0
>   27  libsystem_pthread.dylib 0x00019a4f9030 thread_start 
> + 4
> )
> 2015-10-08 18:47:49.096 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  

[jira] [Commented] (CB-9769) Application modifying the autolayout engine from a background thread causes crash on keyboard focus

2015-10-22 Thread jcesarmobile (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14969195#comment-14969195
 ] 

jcesarmobile commented on CB-9769:
--

are you using any 3rd party keyboard when you receive this error?

Can you explain or provide code for "textbox within a form"? it's a regular 
input type text? textarea?

> Application modifying the autolayout engine from a background thread causes 
> crash on keyboard focus
> ---
>
> Key: CB-9769
> URL: https://issues.apache.org/jira/browse/CB-9769
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Ryan England
>
> Hi there,
> We're getting issues when keyboard focus is given to a textbox within a form. 
> Upon clicking the form field, the entire app immediately crashes and the 
> following information is displayed in Xcode:
> 2015-10-08 18:47:49.092 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a4a1c  + 
> 36
>   5   UIKit   0x000189c6393c  + 
> 64
>   6   UIKit   0x000189c64454  + 
> 244
>   7   UIKit   0x000189c80f28  + 
> 108
>   8   UIKit   0x00018a38a77c  + 
> 268
>   9   UIKit   0x000189e61fb0  + 
> 176
>   10  UIKit   0x000189e51098  + 
> 52
>   11  UIKit   0x000189b5aff0  + 
> 644
>   12  QuartzCore  0x000189361f14  + 
> 148
>   13  QuartzCore  0x00018935cb20  + 
> 292
>   14  QuartzCore  0x00018935c9e0  + 
> 32
>   15  QuartzCore  0x00018935c07c  + 
> 252
>   16  QuartzCore  0x00018935bdd0  + 
> 516
>   17  QuartzCore  0x0001893aeb00  + 
> 592
>   18  IOKit   0x000185896018 
> IODispatchCalloutFromCFMessage + 372
>   19  CoreFoundation  0x0001845aa8e0  + 
> 180
>   20  CoreFoundation  0x0001845c0cdc  + 
> 56
>   21  CoreFoundation  0x0001845c0414  + 
> 436
>   22  CoreFoundation  0x0001845be16c  + 
> 1800
>   23  CoreFoundation  0x0001844ecdc0 
> CFRunLoopRunSpecific + 384
>   24  WebCore 0x000196a25aa0  + 
> 456
>   25  libsystem_pthread.dylib 0x00019a4fbb3c  + 
> 156
>   26  libsystem_pthread.dylib 0x00019a4fbaa0  + > 0
>   27  libsystem_pthread.dylib 0x00019a4f9030 thread_start 
> + 4
> )
> 2015-10-08 18:47:49.096 BudiPay[527:113011] 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  0x000184608f74  + 
> 148
>   1   libobjc.A.dylib 0x000199af7f80 
> objc_exception_throw + 56
>   2   CoreFoundation  0x000184608ea4  + > 0
>   3   Foundation  0x0001856225d8  + 
> 88
>   4   Foundation  0x0001854a8f3c  + 
> 56
>   5   Foundation  0x0001854a4afc  + 
> 260
>   6   UIKit   0x000189c6393c  + 
> 64
>   7   UIKit   0x000189c64454  + 
> 244
>   8   UIKit   0x000189c80f28  + 
> 108
>   9   UIKit   0x00018a38a77c  + 
> 268
>   10  UIKit   0x000189e61fb0  + 
> 176
>   11  UIKit   0x000189e51098  + 
> 52
>   12  UIKit   0x000189b5aff0  + 
> 644
>   13  QuartzCore  0x000189361f14  + 
> 148
>   14  QuartzCore  0x00018935cb20  + 
> 292
>   15  QuartzCore  0x00018935c9e0  + 
> 32
>