[jira] [Commented] (CB-7577) Cordova Crashes on IOS8 when Using input type=file
[ https://issues.apache.org/jira/browse/CB-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14156310#comment-14156310 ] Alex Ivaylov commented on CB-7577: -- Hi, I had the same problem. It is iOS - not cordova. It is now fixed in iOS 8.0.2. Cordova Crashes on IOS8 when Using input type=file Key: CB-7577 URL: https://issues.apache.org/jira/browse/CB-7577 Project: Apache Cordova Issue Type: Sub-task Components: iOS Affects Versions: 3.5.0, 3.6.0 Environment: ios8 Reporter: Sven Brunner Priority: Critical The app crashes when using an 'input type=file /' after asking if you want to record an Photo/Video or get the file from media. Console says the following: {code} Error: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Trying to dismiss UIAlertController UIAlertController: 0x12eddb820 with unknown presenter.' *** First throw call stack: (0x18553a084 0x195e2c0e4 0x185539fc4 0x18a085fac 0x189cb0724 0x189cea7b8 0x189ce9e58 0x189cbd660 0x189f5bd6c 0x189cbbbc8 0x1854f2324 0x1854f15c8 0x1854ef678 0x18541d664 0x18e51b5a4 0x189d22984 0x1000c64f4 0x19649aa08) Sep 18 10:39:13 iPad ReportCrash[577] Error: task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CB-7694) Cordova crashes with UIPopoverPresentationController exception in web forms
Alex Ivaylov created CB-7694: Summary: Cordova crashes with UIPopoverPresentationController exception in web forms Key: CB-7694 URL: https://issues.apache.org/jira/browse/CB-7694 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 3.6.0 Environment: iOS 8.0.2, xCode 6.0.1 Reporter: Alex Ivaylov I have this issue on both Cordova 3.5 and 3.6. I have a web form that uses jQuery mobile. It is a mixture of text fields, selects and a date field (the www folder is attached below). The app randomly crashes when moving between the controls and I can not figure out how to replicate the bug. I just go around all the controls and in a random moment I get the exception shown below. 2014-10-02 11:25:34.619 testApp[4456:277182] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'UIPopoverPresentationController (UIPopoverPresentationController: 0x7afe3170) should have a non-nil sourceView or barButtonItem set before the presentation occurs.' *** First throw call stack: ( 0 CoreFoundation 0x0030fdf6 __exceptionPreprocess + 182 1 libobjc.A.dylib 0x02449a97 objc_exception_throw + 44 2 UIKit 0x00eeaa37 -[UIPopoverPresentationController presentationTransitionWillBegin] + 3086 3 UIKit 0x007f1f75 __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 1666 4 UIKit 0x007f0554 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 226 5 UIKit 0x0082421b __40+[UIViewController _scheduleTransition:]_block_invoke + 18 6 UIKit 0x006ea62e ___afterCACommitHandler_block_invoke + 15 7 UIKit 0x006ea5d9 _applyBlockToCFArrayCopiedToStack + 415 8 UIKit 0x006ea3ee _afterCACommitHandler + 545 9 CoreFoundation 0x00232fbe __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30 10 CoreFoundation 0x00232f00 __CFRunLoopDoObservers + 400 11 CoreFoundation 0x0022893a __CFRunLoopRun + 1226 12 CoreFoundation 0x002281ab CFRunLoopRunSpecific + 443 13 CoreFoundation 0x00227fdb CFRunLoopRunInMode + 123 14 GraphicsServices0x03aca24f GSEventRunModal + 192 15 GraphicsServices0x03aca08c GSEventRun + 104 16 UIKit 0x006c0e16 UIApplicationMain + 1526 17 testApp 0x000ec7bc main + 92 18 libdyld.dylib 0x02b29ac9 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb) Here are the files: 1. A video showing the bug: http://alex.scot/cordova/cordova1.mov 2. Text file with the commands used to create the project and the exception: http://alex.scot/cordova/cordova1.txt 3. The www folder of the iOS platform in Cordova: http://alex.scot/cordova/www.zip thank you for looking into this, Alex -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CB-7694) Cordova crashes with UIPopoverPresentationController exception in web forms
[ https://issues.apache.org/jira/browse/CB-7694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Ivaylov updated CB-7694: - Affects Version/s: 3.5.0 Cordova crashes with UIPopoverPresentationController exception in web forms --- Key: CB-7694 URL: https://issues.apache.org/jira/browse/CB-7694 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 3.5.0, 3.6.0 Environment: iOS 8.0.2, xCode 6.0.1 Reporter: Alex Ivaylov I have this issue on both Cordova 3.5 and 3.6. I have a web form that uses jQuery mobile. It is a mixture of text fields, selects and a date field (the www folder is attached below). The app randomly crashes when moving between the controls and I can not figure out how to replicate the bug. I just go around all the controls and in a random moment I get the exception shown below. 2014-10-02 11:25:34.619 testApp[4456:277182] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'UIPopoverPresentationController (UIPopoverPresentationController: 0x7afe3170) should have a non-nil sourceView or barButtonItem set before the presentation occurs.' *** First throw call stack: ( 0 CoreFoundation 0x0030fdf6 __exceptionPreprocess + 182 1 libobjc.A.dylib 0x02449a97 objc_exception_throw + 44 2 UIKit 0x00eeaa37 -[UIPopoverPresentationController presentationTransitionWillBegin] + 3086 3 UIKit 0x007f1f75 __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 1666 4 UIKit 0x007f0554 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 226 5 UIKit 0x0082421b __40+[UIViewController _scheduleTransition:]_block_invoke + 18 6 UIKit 0x006ea62e ___afterCACommitHandler_block_invoke + 15 7 UIKit 0x006ea5d9 _applyBlockToCFArrayCopiedToStack + 415 8 UIKit 0x006ea3ee _afterCACommitHandler + 545 9 CoreFoundation 0x00232fbe __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30 10 CoreFoundation 0x00232f00 __CFRunLoopDoObservers + 400 11 CoreFoundation 0x0022893a __CFRunLoopRun + 1226 12 CoreFoundation 0x002281ab CFRunLoopRunSpecific + 443 13 CoreFoundation 0x00227fdb CFRunLoopRunInMode + 123 14 GraphicsServices0x03aca24f GSEventRunModal + 192 15 GraphicsServices0x03aca08c GSEventRun + 104 16 UIKit 0x006c0e16 UIApplicationMain + 1526 17 testApp 0x000ec7bc main + 92 18 libdyld.dylib 0x02b29ac9 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb) Here are the files: 1. A video showing the bug: http://alex.scot/cordova/cordova1.mov 2. Text file with the commands used to create the project and the exception: http://alex.scot/cordova/cordova1.txt 3. The www folder of the iOS platform in Cordova: http://alex.scot/cordova/www.zip thank you for looking into this, Alex -- This message was sent by Atlassian JIRA (v6.3.4#6332)