Bug 41094 - Crash in -[Xamarin_Forms_Platform_iOS_PickerRenderer_PickerSource pickerView:titleForRow:forComponent:]
Summary: Crash in -[Xamarin_Forms_Platform_iOS_PickerRenderer_PickerSource pickerView:...
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.2.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Rui Marinho
Depends on:
Reported: 2016-05-16 00:36 UTC by aed
Modified: 2017-06-19 18:30 UTC (History)
4 users (show)

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:

Description aed 2016-05-16 00:36:01 UTC
Thread 0 SIGABRT Crash in -[Xamarin_Forms_Platform_iOS_PickerRenderer_PickerSource pickerView:titleForRow:forComponent:]
0 libsystem_kernel.dylib __pthread_kill (in libsystem_kernel.dylib) + 8
1 libsystem_c.dylib abort (in libsystem_c.dylib) + 140
2 myapp.iOS print_exception (in ff16e5fd68e13eb9a9033e79613b50d1) (runtime.m:782)
3 myapp.iOS mono_invoke_unhandled_exception_hook (in ff16e5fd68e13eb9a9033e79613b50d1) (mini-exceptions.c:2615)
4 myapp.iOS mono_handle_exception_internal (in ff16e5fd68e13eb9a9033e79613b50d1) (mini-exceptions.c:1574)
5 myapp.iOS mono_handle_exception (in ff16e5fd68e13eb9a9033e79613b50d1) + 40
6 myapp.iOS handle_signal_exception (in ff16e5fd68e13eb9a9033e79613b50d1) (exceptions-arm64.c:525)
7 myapp.iOS wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr (in ff16e5fd68e13eb9a9033e79613b50d1) + 244
8 myapp.iOS wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr (in ff16e5fd68e13eb9a9033e79613b50d1) + 244
9 myapp.iOS mono_jit_runtime_invoke (in ff16e5fd68e13eb9a9033e79613b50d1) (mini-runtime.c:2335)
10 myapp.iOS mono_runtime_invoke (in ff16e5fd68e13eb9a9033e79613b50d1) (object.c:2783)
11 myapp.iOS native_to_managed_trampoline_63 (in ff16e5fd68e13eb9a9033e79613b50d1) (registrar.m:2423)
12 myapp.iOS -[Xamarin_Forms_Platform_iOS_PickerRenderer_PickerSource pickerView:titleForRow:forComponent:] (in ff16e5fd68e13eb9a9033e79613b50d1) (registrar.m:8231)
13 UIKit -[UIPickerView _delegateTitleForRow:forComponent:] (in UIKit) + 96
14 UIKit -[UIPickerView tableView:cellForRowAtIndexPath:] (in UIKit) + 832
15 UIKit -[UIPickerColumnView tableView:cellForRowAtIndexPath:] (in UIKit) + 104
16 UIKit -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] (in UIKit) + 692
17 UIKit -[UITableView _createPreparedCellForGlobalRow:willDisplay:] (in UIKit) + 80
18 UIKit -[UITableView _updateVisibleCellsNow:isRecursive:] (in UIKit) + 2824
19 UIKit -[UITableView _performWithCachedTraitCollection:] (in UIKit) + 104
20 UIKit -[UITableView layoutSubviews] (in UIKit) + 176
21 UIKit __35-[UIPickerTableView layoutSubviews]_block_invoke (in UIKit) + 92
22 UIKit +[UIView(Animation) performWithoutAnimation:] (in UIKit) + 80
23 UIKit -[UIPickerTableView layoutSubviews] (in UIKit) + 148
24 UIKit -[UIView(CALayerDelegate) layoutSublayersOfLayer:] (in UIKit) + 656
25 QuartzCore -[CALayer layoutSublayers] (in QuartzCore) + 148
26 QuartzCore CA::Layer::layout_if_needed() (in QuartzCore) + 292
27 QuartzCore CA::Layer::layout_and_display_if_needed() (in QuartzCore) + 32
28 QuartzCore CA::Context::commit_transaction() (in QuartzCore) + 252
29 QuartzCore CA::Transaction::commit() (in QuartzCore) + 512
30 QuartzCore CA::Display::DisplayLink::dispatch_items() (in QuartzCore) + 592
31 IOKit IODispatchCalloutFromCFMessage (in IOKit) + 372
32 CoreFoundation __CFMachPortPerform (in CoreFoundation) + 180
33 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ (in CoreFoundation) + 56
34 CoreFoundation __CFRunLoopDoSource1 (in CoreFoundation) + 436
35 CoreFoundation __CFRunLoopRun (in CoreFoundation) + 1800
36 CoreFoundation CFRunLoopRunSpecific (in CoreFoundation) + 384
37 GraphicsServices GSEventRunModal (in GraphicsServices) + 180
38 UIKit UIApplicationMain (in UIKit) + 204
Comment 1 Rui Marinho 2016-08-04 15:05:10 UTC
Thank you for taking the time to submit the bug. We tried to reproduce the issue you reported but were unable given the description. If you could please attach a reproduction to the bug by starting with a clean Xamarin.Forms project and adding just the code necessary to demonstrate the issue, we would very much appreciate it.

For your convenience, we have created some reproduction best practices viewable here: https://gist.github.com/jassmith/92405c300e54a01dcc6d 

Warm regards
Xamarin Forms Team
Comment 2 Samantha Houts [MSFT] 2017-06-19 18:30:21 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!