dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.07k stars 1.73k forks source link

DatePicker crashing the app in MAUI dotnet 8 #21226

Closed siddhant-maurya closed 7 months ago

siddhant-maurya commented 7 months ago

Description

I created a blank maui app with a date picker control and on running the app it crashes.

Steps to Reproduce

Create a Maui project with dotnet 8 In the Xaml page add a DatePicker control Build and run the app crashes with logs attached below

Link to public reproduction project repository

No response

Version with bug

8.0.3 GA

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 17.4

Did you find any workaround?

no

Relevant log output

ProviderAppMAUI(32645,0x202b13240) malloc: *** error for object 0x122da4e64: pointer being freed was not allocated
ProviderAppMAUI(32645,0x202b13240) malloc: *** set a breakpoint in malloc_error_break to debug

=================================================================
    Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

=================================================================
    Native stacktrace:
=================================================================
    0x10c981495 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : mono_dump_native_crash_info
    0x10c91fe2e - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : mono_handle_native_crash
    0x10cc78b58 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : sigabrt_signal_handler.cold.1
    0x10c980dd0 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : mono_runtime_setup_stat_profiler
    0x1214c937d - /usr/lib/system/libsystem_platform.dylib : _sigtramp
    0x12bfb7740 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib : cvm_data
    0x12116bd1c - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_c.dylib : abort
    0x1213e28b0 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_malloc.dylib : malloc_vreport
    0x1213e2ab2 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_malloc.dylib : malloc_report
    0x122c26d6f - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu6Locale10setToBogusEv
    0x122c2884a - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu6LocaleaSERKS0_
    0x122d94590 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZNO3icu6number26UnlocalizedNumberFormatter6localeERKNS_6LocaleE
    0x122d42eb7 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu13DecimalFormat5touchER10UErrorCode
    0x122d4352b - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu13DecimalFormatC1ERKNS_13UnicodeStringEPNS_20DecimalFormatSymbolsE18UNumberFormatStyleR10UErrorCode
    0x122db093f - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu12NumberFormat12makeInstanceERKNS_6LocaleE18UNumberFormatStyleaR10UErrorCode
    0x122db02ad - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZNK3icu14LocaleCacheKeyINS_18SharedNumberFormatEE12createObjectEPKvR10UErrorCode
    0x122cd68dc - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZNK3icu12UnifiedCache4_getERKNS_12CacheKeyBaseERPKNS_12SharedObjectEPKvR10UErrorCode
    0x122db0e78 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu12NumberFormat15setRoundingModeENS0_13ERoundingModeE
    0x122db03ad - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZNK3icu14LocaleCacheKeyINS_18SharedNumberFormatEE12createObjectEPKvR10UErrorCode
    0x122daff56 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu12NumberFormat14createInstanceERKNS_6LocaleE18UNumberFormatStyleR10UErrorCode
    0x122c33394 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu16SimpleDateFormat10initializeERKNS_6LocaleER10UErrorCode
    0x122c33ed3 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu16SimpleDateFormatC2ERKNS_6LocaleER10UErrorCode
    0x122c2d25a - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu10DateFormat6createENS0_6EStyleES1_RKNS_6LocaleE
    0x122c2d05e - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : udat_open
    0x110c56a8b - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __cficu_udat_open
    0x110b77508 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __ResetUDateFormat
    0x110b76e59 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CreateCFDateFormatter
    0x118d71093 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : -[NSDateFormatter _regenerateFormatter]
    0x118d72a26 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : -[NSDateFormatter dateFormat]
    0x130b83d84 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[_UIDatePickerCalendarTimeFormat initWithCalendar:locale:followsSystemHourCycle:forceDoubleDigitHours:displaysTimeZone:]
    0x130b83aec - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : +[_UIDatePickerCalendarTimeFormat formatWithCalendar:locale:followsSystemHourCycle:]
    0x13176c56b - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[_UIDatePickerIOSCompactView initWithFrame:]
    0x13123cbe8 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIDatePicker initWithFrame:]
    0x13194d791 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIView init]
    0x10c2ce099 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libxamarin-dotnet-debug.dylib : xamarin_dyn_objc_msgSend
    0x10c99605e - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : do_icall
    0x10c994897 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : do_icall_wrapper
    0x10c9855b6 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : mono_interp_exec_method
    0x10c982d23 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : interp_runtime_invoke
    0x10ca69758 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : mono_runtime_invoke_checked
    0x10ca6dc62 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : mono_runtime_invoke
    0x10c2c542f - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libxamarin-dotnet-debug.dylib : xamarin_invoke_trampoline
    0x10c2ccd39 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libxamarin-dotnet-debug.dylib : xamarin_arch_trampoline
    0x10c2cdf1a - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libxamarin-dotnet-debug.dylib : xamarin_x86_64_common_trampoline
    0x1308b7fee - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled]
    0x1308be0e6 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIViewController loadViewIfRequired]
    0x1307d9b2b - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UINavigationController _updateScrollViewFromViewController:toViewController:]
    0x1307d9e5f - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UINavigationController _startTransition:fromViewController:toViewController:]
    0x1307db035 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UINavigationController _startDeferredTransitionIfNeeded:]
    0x1307dc495 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UINavigationController __viewWillLayoutSubviews]
    0x1307b8de2 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UILayoutContainerView layoutSubviews]
    0x131987f3c - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
    0x11d230775 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/QuartzCore.framework/QuartzCore : _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE
    0x11d23c5a1 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/QuartzCore.framework/QuartzCore : _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE
    0x11d15bcf4 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/QuartzCore.framework/QuartzCore : _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd
    0x11d19682a - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/QuartzCore.framework/QuartzCore : _ZN2CA11Transaction6commitEv
    0x1312a5cbb - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : _UIApplicationFlushRunLoopCATransactionIfTooLate
    0x13137c58b - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : __processEventQueue
    0x131371d34 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : __eventFetcherSourceCallback
    0x110bc1ff3 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
    0x110bc1f35 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopDoSource0
    0x110bc1732 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopDoSources0
    0x110bbbe67 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopRun
    0x110bbb6ed - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : CFRunLoopRunSpecific
    0x127cb908f - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices : GSEventRunModal
    0x1312a76ee - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIApplication _run]
    0x1312ac16e - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : UIApplicationMain
    0x10c28850a - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libxamarin-dotnet-debug.dylib : xamarin_UIApplicationMain
    0x10c996105 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : do_icall
    0x10c994897 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : do_icall_wrapper
    0x10c9855b6 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : mono_interp_exec_method
    0x10c982d23 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : interp_runtime_invoke
    0x10ca69758 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : mono_runtime_invoke_checked
    0x10ca7109b - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : mono_runtime_exec_main_checked
    0x10c8d5492 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libmonosgen-2.0.dylib : mono_jit_exec
    0x10c2ccbea - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/libxamarin-dotnet-debug.dylib : xamarin_main
    0x1023a6774 - /Users/smaury27/Library/Developer/CoreSimulator/Devices/284D284F-9065-4A84-AE98-014B7B54CB9A/data/Containers/Bundle/Application/3598B14B-1F4C-43B8-9ED2-67DF828C1237/ProviderAppMAUI.app/ProviderAppMAUI : main
    0x10ad593e0 - Unknown
    0x202a6d386 - Unknown

=================================================================
    Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x12156a7a2):0x12156a792  ff ff c3 90 90 90 b8 48 01 00 02 49 89 ca 0f 05  .......H...I....
0x12156a7a2  73 08 48 89 c7 e9 d8 99 ff ff c3 90 90 90 b8 53  s.H............S
0x12156a7b2  00 00 02 49 89 ca 0f 05 73 08 48 89 c7 e9 c0 99  ...I....s.H.....
0x12156a7c2  ff ff c3 90 90 90 b8 83 01 00 02 49 89 ca 0f 05  ...........I....

=================================================================
    Managed Stacktrace:
=================================================================
      at <unknown> <0xffffffff>
      at ObjCRuntime.Messaging:IntPtr_objc_msgSend <0x00098>
      at UIKit.UIDatePicker:.ctor <0x000a0>
      at Microsoft.Maui.Platform.MauiDatePicker:.ctor <0x0007a>
      at Microsoft.Maui.Handlers.DatePickerHandler:CreatePlatformView <0x00010>
      at Microsoft.Maui.Handlers.ViewHandler`2:OnCreatePlatformView <0x0008a>
      at Microsoft.Maui.Handlers.ViewHandler:OnCreatePlatformElement <0x0001e>
      at Microsoft.Maui.Handlers.ElementHandler:CreatePlatformElement <0x0001e>
      at Microsoft.Maui.Handlers.ElementHandler:SetVirtualView <0x000de>
      at Microsoft.Maui.Handlers.ViewHandler`2:SetVirtualView <0x00020>
      at Microsoft.Maui.Handlers.ViewHandler`2:SetVirtualView <0x00030>
      at Microsoft.Maui.Controls.Element:SetHandler <0x00206>
      at Microsoft.Maui.Controls.Element:set_Handler <0x00020>
      at Microsoft.Maui.Controls.VisualElement:Microsoft.Maui.IElement.set_Handler <0x00064>
      at Microsoft.Maui.Platform.ElementExtensions:ToHandler <0x0031e>
      at Microsoft.Maui.Platform.ElementExtensions:ToPlatform <0x00026>
      at Microsoft.Maui.Handlers.LayoutHandler:SetVirtualView <0x00230>
      at Microsoft.Maui.Handlers.ViewHandler`2:SetVirtualView <0x00030>
      at Microsoft.Maui.Controls.Element:SetHandler <0x00206>
      at Microsoft.Maui.Controls.Element:set_Handler <0x00020>
      at Microsoft.Maui.Controls.VisualElement:Microsoft.Maui.IElement.set_Handler <0x00064>
      at Microsoft.Maui.Platform.ElementExtensions:ToHandler <0x0031e>
      at Microsoft.Maui.Platform.ElementExtensions:ToPlatform <0x00026>
      at Microsoft.Maui.Controls.Handlers.Compatibility.VisualElementRenderer`1:ProcessAutoPackage <0x00212>
      at Microsoft.Maui.Controls.Handlers.Compatibility.VisualElementRenderer`1:SetVirtualView <0x002b2>
      at Microsoft.Maui.Controls.Handlers.Compatibility.VisualElementRenderer`1:Microsoft.Maui.IElementHandler.SetVirtualView <0x000c8>
      at Microsoft.Maui.Controls.Element:SetHandler <0x00206>
      at Microsoft.Maui.Controls.Element:set_Handler <0x00020>
      at Microsoft.Maui.Controls.VisualElement:Microsoft.Maui.IElement.set_Handler <0x00064>
      at Microsoft.Maui.Platform.ElementExtensions:ToHandler <0x0031e>
      at Microsoft.Maui.Platform.ElementExtensions:ToPlatform <0x00026>
      at Microsoft.Maui.Handlers.LayoutHandler:SetVirtualView <0x00230>
      at Microsoft.Maui.Handlers.ViewHandler`2:SetVirtualView <0x00030>
      at Microsoft.Maui.Controls.Element:SetHandler <0x00206>
      at Microsoft.Maui.Controls.Element:set_Handler <0x00020>
      at Microsoft.Maui.Controls.VisualElement:Microsoft.Maui.IElement.set_Handler <0x00064>
      at Microsoft.Maui.Platform.ElementExtensions:ToHandler <0x0031e>
      at Microsoft.Maui.Platform.ElementExtensions:ToPlatform <0x00026>
      at Microsoft.Maui.Handlers.LayoutHandler:SetVirtualView <0x00230>
      at Microsoft.Maui.Handlers.ViewHandler`2:SetVirtualView <0x00030>
      at Microsoft.Maui.Controls.Element:SetHandler <0x00206>
      at Microsoft.Maui.Controls.Element:set_Handler <0x00020>
      at Microsoft.Maui.Controls.VisualElement:Microsoft.Maui.IElement.set_Handler <0x00064>
      at Microsoft.Maui.Platform.ElementExtensions:ToHandler <0x0031e>
      at Microsoft.Maui.Platform.ElementExtensions:ToPlatform <0x00026>
      at Microsoft.Maui.Handlers.LayoutHandler:SetVirtualView <0x00230>
      at Microsoft.Maui.Handlers.ViewHandler`2:SetVirtualView <0x00030>
      at Microsoft.Maui.Controls.Element:SetHandler <0x00206>
      at Microsoft.Maui.Controls.Element:set_Handler <0x00020>
      at Microsoft.Maui.Controls.VisualElement:Microsoft.Maui.IElement.set_Handler <0x00064>
      at Microsoft.Maui.Platform.ElementExtensions:ToHandler <0x0031e>
      at Microsoft.Maui.Platform.ElementExtensions:ToPlatform <0x00026>
      at Microsoft.Maui.Handlers.ContentViewHandler:UpdateContent <0x0017c>
      at Microsoft.Maui.Handlers.ContentViewHandler:MapContent <0x00016>
      at <>c__DisplayClass5_0:<Add>b__0 <0x00084>
      at Microsoft.Maui.PropertyMapper:UpdatePropertyCore <0x00082>
      at Microsoft.Maui.PropertyMapper:UpdateProperties <0x000c0>
      at Microsoft.Maui.Handlers.ElementHandler:SetVirtualView <0x0032e>
      at Microsoft.Maui.Handlers.ViewHandler`2:SetVirtualView <0x00020>
      at Microsoft.Maui.Handlers.ContentViewHandler:SetVirtualView <0x00020>
      at Microsoft.Maui.Handlers.ViewHandler`2:SetVirtualView <0x00030>
      at Microsoft.Maui.Controls.Element:SetHandler <0x00206>
      at Microsoft.Maui.Controls.Element:set_Handler <0x00020>
      at Microsoft.Maui.Controls.VisualElement:Microsoft.Maui.IElement.set_Handler <0x00064>
      at Microsoft.Maui.Platform.ElementExtensions:ToHandler <0x0031e>
      at Microsoft.Maui.Platform.ViewExtensions:ToHandler <0x00020>
      at Microsoft.Maui.Controls.Platform.Compatibility.ShellSectionRootRenderer:SetPageRenderer <0x00080>
      at Microsoft.Maui.Controls.Platform.Compatibility.ShellSectionRootRenderer:LoadRenderers <0x002b8>
      at Microsoft.Maui.Controls.Platform.Compatibility.ShellSectionRootRenderer:ViewDidLoad <0x002f6>
      at System.Object:runtime_invoke_direct_void__this__ <0x00130>
      at <unknown> <0x00000>
      at <unknown> <0xffffffff>
      at UIKit.UIApplication:xamarin_UIApplicationMain <0x000b8>
      at UIKit.UIApplication:UIApplicationMain <0x0006e>
      at UIKit.UIApplication:Main <0x0015a>
      at ProviderAppMAUI.Program:Main <0x0002c>
      at <Module>:runtime_invoke_direct_void_string[] <0x00118>
      at <unknown> <0x00000>
=================================================================
jaosnz-rep commented 7 months ago

Can repro this on Xcode 15.3 iOS 17.4, it works fine on Xcode15.2 iOS 17.2.

jfversluis commented 7 months ago

Due to #21057, closing this for now. If this continues to crash after we have official support for Xcode 15.3, please open a new issue.