Bug 22853 - Crash on TakePhotoAsync on iOS8. with version 0.7.1
Summary: Crash on TakePhotoAsync on iOS8. with version 0.7.1
Status: RESOLVED INVALID
Alias: None
Product: Mobile API (Preview)
Classification: Xamarin
Component: Xamarin.iOS ()
Version: Preview 0.6.3
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Eric Maupin
URL:
Depends on:
Blocks:
 
Reported: 2014-09-10 23:10 UTC by Felix Collins
Modified: 2014-09-10 23:54 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description Felix Collins 2014-09-10 23:10:20 UTC
This works fine on iOS7 but on iOS8 this....


Incident Identifier: FB17679F-425C-4D7B-9673-0438ED190C92
CrashReporter Key:   c70ac756c5a87da6457468ea5e56958d525b5798
Hardware Model:      iPad2,1
Process:             TouchContainer [328]
Path:                /private/var/mobile/Containers/Bundle/Application/9FEE21E5-55E0-4B98-941E-1168749D1617/TouchContainer.app/TouchContainer
Identifier:          com.visionslive.mobile1
Version:             4.5 (4.5)
Code Type:           ARM (Native)
Parent Process:      launchd [1]

Date/Time:           2014-09-11 14:39:29.282 +1200
Launch Time:         2014-09-11 14:38:09.452 +1200
OS Version:          iOS 8.0 (12A365)
Report Version:      105

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000002c
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x3ab05dfc __pthread_kill + 8
1   libsystem_pthread.dylib       	0x3ab85d0e pthread_kill + 58
2   libsystem_c.dylib             	0x3aaa5934 abort + 72
3   TouchContainer                	0x00bd5b3a mono_handle_native_sigsegv (mini-exceptions.c:2360)
4   TouchContainer                	0x00bdef72 mono_sigsegv_signal_handler (mini.c:6868)
5   libsystem_platform.dylib      	0x3ab800a0 _sigtramp + 40
6   UIKit                         	0x30212304 _UIViewTopDownSubtreeTraversal + 260
7   UIKit                         	0x30212304 _UIViewTopDownSubtreeTraversal + 260
8   UIKit                         	0x305ab842 -[UIView(UIConstraintBasedLayout_EngineDelegate) _invalidateSystemLayoutSizeFittingSizeAtEngineDelegateLevel] + 118
9   UIKit                         	0x300429c0 -[UIView(AdditionalLayoutSupport) _setNeedsUpdateConstraintsNeedingLayout:] + 68
10  UIKit                         	0x305aa4e2 -[UIView(AdditionalLayoutSupport) _setSubviewWantsAutolayoutTripWantsAutolayout:] + 206
11  UIKit                         	0x2ff88588 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1352
12  UIKit                         	0x2ff88032 -[UIView(Hierarchy) addSubview:] + 26
13  UIKit                         	0x3024b2a2 __56-[UIPresentationController _transplantView:toSuperview:]_block_invoke + 242
14  UIKit                         	0x3024af8c -[UIPresentationController _performBlockWithoutTriggeringResponderEvents:] + 96
15  UIKit                         	0x3024b1a6 -[UIPresentationController _transplantView:toSuperview:] + 78
16  UIKit                         	0x3024e474 __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 768
17  UIKit                         	0x3024d358 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 148
18  UIKit                         	0x2fffb916 _applyBlockToCFArrayCopiedToStack + 306
19  UIKit                         	0x2ff777da _afterCACommitHandler + 454
20  CoreFoundation                	0x2caca842 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
21  CoreFoundation                	0x2cac7f24 __CFRunLoopDoObservers + 272
22  CoreFoundation                	0x2cac8326 __CFRunLoopRun + 910
23  CoreFoundation                	0x2ca15dac CFRunLoopRunSpecific + 472
24  CoreFoundation                	0x2ca15bbe CFRunLoopRunInMode + 102
25  GraphicsServices              	0x33d4904c GSEventRunModal + 132
26  UIKit                         	0x2ffe0efc UIApplicationMain + 1436
27  TouchContainer                	0x001d81ec wrapper_managed_to_native_MonoTouch_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 268
28  TouchContainer                	0x0018533c MonoTouch_UIKit_UIApplication_Main_string___intptr_intptr (UIApplication.cs:122)
29  TouchContainer                	0x001852fc MonoTouch_UIKit_UIApplication_Main_string___string_string (UIApplication.cs:88)
30  TouchContainer                	0x000ad800 Touch_Container_Application_Main_string__ (MainClass.cs:84)
31  TouchContainer                	0x0036e9b4 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 196
32  TouchContainer                	0x00be115c mono_jit_runtime_invoke (mini.c:6730)
33  TouchContainer                	0x00c2059a mono_runtime_invoke (object.c:2831)
34  TouchContainer                	0x00c242a2 mono_runtime_exec_main (object.c:4088)
35  TouchContainer                	0x00c240ea mono_runtime_run_main (object.c:3714)
36  TouchContainer                	0x00bcea74 mono_jit_exec (driver.g.c:1009)
37  TouchContainer                	0x00c59894 monotouch_main (monotouch-main.m:469)
38  TouchContainer                	0x00bb0da0 main (main.armv7.m:65)
39  TouchContainer                	0x000a9024 start + 36
Comment 1 Felix Collins 2014-09-10 23:54:40 UTC
Seems like my problem was that I was presenting the picker while an action sheet was still displayed (from the clicked event). Apple must have changed things in iOS8 to be sensitive to this.