Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When Entry control get focus app crash #21051

Closed
JoacimWall opened this issue Mar 6, 2024 · 22 comments
Closed

When Entry control get focus app crash #21051

JoacimWall opened this issue Mar 6, 2024 · 22 comments
Labels
area-controls-entry Entry platform/iOS 🍎 s/needs-info Issue needs more info from the author t/bug Something isn't working

Comments

@JoacimWall
Copy link

JoacimWall commented Mar 6, 2024

Description

After install of IOS 17.4 in simulator and new maui project with a Entry control crash when you tapp inside the entry control .

Steps to Reproduce

  1. create a new MAUI app.
  2. add a Entry to the mainPage
  3. start the app on a iOS simulator with 17.4
  4. Tap inside the entry and the app crashes.
  5. start app on iOS simulator with 17.2 works or real device with 17.4 works

Link to public reproduction project repository

Not needed just a new stadard project nedded

Version with bug

8.0.7 SR2

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

Xamarin.iOS Version: 16.4.0.23, Simulator version 17.4

Did you find any workaround?

no

Relevant log output

2024-03-06 14:08:59.760871+0100 TestEntryFocus[53519:3114638] dynamic_cast error 2: One or more of the following type_info's has hidden visibility or is defined in more than one translation unit. They should all have public visibility. N3icu6number4impl20AffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE, N3icu6number4impl30PropertiesAffixPatternProviderE.
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointCheckpoint()' to /Users/runner/work/1/s/HotReload/Source/Xamarin.HotReload.Agent/HotReloadAgent.cs:418 [0x00000].
2024-03-06 14:08:59.798297+0100 TestEntryFocus[53519:3114638] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=53519
2024-03-06 14:08:59.807134+0100 TestEntryFocus[53519:3114638] SecTaskCopyDebugDescription: TestEntryFocus[53519]/0#-1 LF=0
2024-03-06 14:08:59.895184+0100 TestEntryFocus[53519:3114638] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=53519
2024-03-06 14:08:59.895522+0100 TestEntryFocus[53519:3114638] SecTaskCopyDebugDescription: TestEntryFocus[53519]/0#-1 LF=0
2024-03-06 14:08:59.895694+0100 TestEntryFocus[53519:3114638] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=53519
2024-03-06 14:08:59.895809+0100 TestEntryFocus[53519:3114638] SecTaskCopyDebugDescription: TestEntryFocus[53519]/0#-1 LF=0
2024-03-06 14:09:00.195841+0100 TestEntryFocus[53519:3114638] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
Thread started:  #2
Thread started:  #3
Thread started:  #4
Loaded assembly: /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/System.Runtime.Serialization.Json.dll [External]
Loaded assembly: /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/System.Private.DataContractSerialization.dll [External]
Loaded assembly: /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/System.Runtime.Serialization.Xml.dll [External]
Loaded assembly: /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/System.Runtime.Serialization.Primitives.dll [External]
2024-03-06 14:09:01.069047+0100 TestEntryFocus[53519:3114819] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=53519
2024-03-06 14:09:01.069219+0100 TestEntryFocus[53519:3114819] SecTaskCopyDebugDescription: TestEntryFocus[53519]/0#-1 LF=0
2024-03-06 14:09:01.392882+0100 TestEntryFocus[53519:3114638] [TableView] Warning once only: UITableView was told to layout its visible cells and other contents without being in the view hierarchy (the table view or one of its superviews has not been added to a window). This may cause bugs by forcing views inside the table view to load and perform layout without accurate information (e.g. table view bounds, trait collection, layout margins, safe area insets, etc), and will also cause unnecessary performance overhead due to extra layout passes. Make a symbolic breakpoint at UITableViewAlertForLayoutOutsideViewHierarchy to catch this in the debugger and see what caused this to occur, so you can avoid this action altogether if possible, or defer it until the table view has been added to a window. Table view: <_UIMoreListTableView: 0x7f7c03ed9200; frame = (0 0; 0 0); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x6000003cbf00>; backgroundColor = <UIDynamicSystemColor: 0x6000018d2880; name = tableBackgroundColor>; layer = <CALayer: 0x6000008631a0>; contentOffset: {0, 0}; contentSize: {0, 0}; adjustedContentInset: {0, 0, 0, 0}; dataSource: <UIMoreListController: 0x7f7c03786630>>
2024-03-06 14:09:01.699027+0100 TestEntryFocus[53519:3114638] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=53519
2024-03-06 14:09:01.699387+0100 TestEntryFocus[53519:3114638] SecTaskCopyDebugDescription: TestEntryFocus[53519]/0#-1 LF=0
Thread started: .NET Timer #5
2024-03-06 14:09:03.497725+0100 TestEntryFocus[53519:3114638] [TraitCollection] Class CKBrowserSwitcherViewController overrides the -traitCollection getter, which is not supported. If you're trying to override traits, you must use the appropriate API.
2024-03-06 14:09:03.980813+0100 TestEntryFocus[53519:3114638] void * _Nullable NSMapGet(NSMapTable * _Nonnull, const void * _Nullable): map table argument is NULL
2024-03-06 14:09:04.029120+0100 TestEntryFocus[53519:3114638] [unspecified] container_query_get_single_result: error = 2→(98) NOT_CODESIGNED
2024-03-06 14:09:04.029498+0100 TestEntryFocus[53519:3114638] [unspecified] container_system_group_path_for_identifier: error = ((container_error_t)98) NOT_CODESIGNED
2024-03-06 14:09:04.029578+0100 TestEntryFocus[53519:3114638] [MC] Error getting system group container for systemgroup.com.apple.configurationprofiles: 98
2024-03-06 14:09:04.029996+0100 TestEntryFocus[53519:3114638] [MC] Failed to get profile system group container path. Overriding with expected path: /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
Thread started: <Thread Pool> #6
Thread started: .NET TP Gate #7
Thread started: <Thread Pool> #8
TestEntryFocus(53519,0x20521d240) malloc: *** error for object 0x125465e64: pointer being freed was not allocated
TestEntryFocus(53519,0x20521d240) 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:
=================================================================
	0x10f081495 - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/libmonosgen-2.0.dylib : mono_dump_native_crash_info
	0x10f01fe2e - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/libmonosgen-2.0.dylib : mono_handle_native_crash
	0x10f378b58 - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/libmonosgen-2.0.dylib : sigabrt_signal_handler.cold.1
	0x10f080dd0 - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/libmonosgen-2.0.dylib : mono_runtime_setup_stat_profiler
	0x123c9f37d - /usr/lib/system/libsystem_platform.dylib : _sigtramp
	0x0 - Unknown
	0x1237e8d1c - /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
	0x123bf08b0 - /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
	0x123bf0ab2 - /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
	0x1252e7d6f - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu6Locale10setToBogusEv
	0x1252e984a - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu6LocaleaSERKS0_
	0x125455590 - /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
	0x125403eb7 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu13DecimalFormat5touchER10UErrorCode
	0x12540452b - /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
	0x12547193f - /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
	0x1254712ad - /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
	0x1253978dc - /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
	0x125471e78 - /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
	0x1254713ad - /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
	0x125470f56 - /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
	0x1252e8e8f - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : unum_open
	0x11b09b5ba - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation10_LocaleICUC5StateV9formatter3for10identifier13numberSymbolsSpySvSgGSgSo18UNumberFormatStyleV_SSSDys6UInt32VSSGSgtF
	0x11b0a95f0 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation10_LocaleICUC16decimalSeparatorSSSgvgAeC5StateVzYbXEfU_Tm
	0x11b0bcb1e - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation10_LocaleICUC16decimalSeparatorSSSgvgAeC5StateVzYbXEfU_TA
	0x11b0ae728 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation10_LocaleICUCAA01_B8ProtocolA2aDP12languageCodeSSSgvgTWTm
	0x11b11eb10 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation14_NSSwiftLocaleC16decimalSeparatorSSvgTo
	0x11b11c97b - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation14_NSSwiftLocaleC6object6forKeyypSgSo08NSLocaleF0a_tF
	0x11b11d729 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation14_NSSwiftLocaleC6object6forKeyypSgSo08NSLocaleF0a_tFTo
	0x1333a18a2 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : UIKeyboardInputModeGetDecimalSeparator
	0x1334a2832 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar updateInputModeLocalizedKeysForKeyplane:]
	0x1334a19af - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar updateLocalizedKeysOnKeyplane:]
	0x1334a3659 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar updateLocalizedKeysForKeyplane:updateAllKeyplanes:]
	0x1334ab596 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar setKeyplaneName:]
	0x18199261d - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/AccessibilityBundles/UIKit.axbundle/UIKit : -[UIKeyboardLayoutStarAccessibility setKeyplaneName:]
	0x1334b44e2 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar setToInitialKeyplane]
	0x1334b4367 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar showKeyboardWithInputMode:renderConfig:inputTraits:screenTraits:splitTraits:reload:]
	0x1334b447c - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar showKeyboardWithInputTraits:screenTraits:splitTraits:]
	0x1335ecfc7 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardImpl finishLayoutChangeWithArguments:]
	0x1335eda1e - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardImpl updateLayout]
	0x1335db75b - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardImpl _setupDelegate:delegateSame:hardwareKeyboardStateChanged:endingInputSessionIdentifier:force:delayEndInputSession:]
	0x1335d8633 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardImpl setDelegate:force:delayEndInputSession:]
	0x13308ce35 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardSceneDelegate _reloadInputViewsForKeyWindowSceneResponder:force:fromBecomeFirstResponder:]
	0x13308b76a - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardSceneDelegate _reloadInputViewsForResponder:force:fromBecomeFirstResponder:]
	0x1338ec22a - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIResponder(UIResponderInputViewAdditions) _reloadInputViewsFromFirstResponder:]
	0x1338e5258 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIResponder becomeFirstResponder]
	0x181a331a7 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/AccessibilityBundles/UIKit.axbundle/UIKit : -[UITextInputUIResponderAccessibility becomeFirstResponder]
	0x133f77696 - /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(Hierarchy) becomeFirstResponder]
	0x133ce7558 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UITextField becomeFirstResponder]
	0x133c95c58 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) setFirstResponderIfNecessaryActivatingSelection:]
	0x133c63d63 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UITextSelectionInteraction _checkForRepeatedTap:gestureLocationOut:]
	0x133c651dc - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UITextSelectionInteraction _handleMultiTapGesture:]
	0x1338b4824 - /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 sendAction:to:from:forEvent:]
	0x133116938 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UITextMultiTapRecognizer onStateUpdate:]
	0x133220875 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIGestureRecognizerTarget _sendActionWithGestureRecognizer:]
	0x13322a43a - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : _UIGestureRecognizerSendTargetActions
	0x13322722a - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : _UIGestureRecognizerSendActions
	0x1332265d7 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIGestureRecognizer _updateGestureForActiveEvents]
	0x133213b9d - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : _UIGestureEnvironmentUpdate
	0x1332127d9 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIGestureEnvironment _updateForEvent:window:]
	0x1338fa396 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIWindow sendEvent:]
	0x1338cf28e - /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 sendEvent:]
	0x18194a2b5 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/AccessibilityBundles/UIKit.axbundle/UIKit : -[UIApplicationAccessibility sendEvent:]
	0x13398002b - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : __dispatchPreprocessedEventFromEventQueue
	0x133983154 - /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
	0x133978d34 - /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
	0x111601ff3 - /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__
	0x111601f35 - /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
	0x111601732 - /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
	0x1115fbe67 - /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
	0x1115fb6ed - /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
	0x126e1308f - /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
	0x1338ae6ee - /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]
	0x1338b316e - /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
	0x10e8f850a - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/libxamarin-dotnet-debug.dylib : xamarin_UIApplicationMain
	0x10f096105 - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/libmonosgen-2.0.dylib : do_icall
	0x10f094897 - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/libmonosgen-2.0.dylib : do_icall_wrapper
	0x10f0855b6 - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/libmonosgen-2.0.dylib : mono_interp_exec_method
	0x10f082d23 - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/libmonosgen-2.0.dylib : interp_runtime_invoke
	0x10f169758 - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/libmonosgen-2.0.dylib : mono_runtime_invoke_checked
	0x10f17109b - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/libmonosgen-2.0.dylib : mono_runtime_exec_main_checked
	0x10efd5492 - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/libmonosgen-2.0.dylib : mono_jit_exec
	0x10e93cbea - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/libxamarin-dotnet-debug.dylib : xamarin_main
	0x104aafa14 - /Users/joacimwall/Library/Developer/CoreSimulator/Devices/949B7228-EE75-4DDF-8E95-07B6517354B2/data/Containers/Bundle/Application/E9A3E958-C6DE-4F91-BC39-4CE6C26925C4/TestEntryFocus.app/TestEntryFocus : main
	0x10d44f3e0 - Unknown
	0x205177386 - Unknown

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

=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at UIKit.UIApplication:xamarin_UIApplicationMain <0x000b8>
	  at UIKit.UIApplication:UIApplicationMain <0x0006e>
	  at UIKit.UIApplication:Main <0x0015a>
	  at TestEntryFocus.Program:Main <0x0002c>
	  at <Module>:runtime_invoke_direct_void_string[] <0x00118>
	  at <unknown> <0x00000>
@JoacimWall JoacimWall added the t/bug Something isn't working label Mar 6, 2024
@jsuarezruiz
Copy link
Contributor

Just adding an Entry in any Layout?, are not using a different parent?. Can see UITableView (ListView, TabletView) in the logs.

@jsuarezruiz jsuarezruiz added the s/needs-info Issue needs more info from the author label Mar 6, 2024
@jfversluis
Copy link
Member

jfversluis commented Mar 6, 2024

Confirmed this is happening but I also see this happening in a .NET for iOS project without .NET MAUI. Going to try Xcode now.

Update: Xcode directly with Obj-C seems to work so based off this I would think its something on the .NET for iOS level. Asking that team to have a look at this issue!

@jfversluis
Copy link
Member

OK asked around, seems that you're hitting this specific issue. But more importantly, Xcode 15.3 is not (yet) supported right now. Added a pinned issue for that here.

When that is added, this issue should go away. So at this time, nothing to do for us here!

@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2024
@Dastenis
Copy link

I have the same issue

@IngenieroInformatico28
Copy link

Hello. I'm trying to understand what the fix is for the IOS simulator crashing when the entry control is focused.

@JoacimWall
Copy link
Author

Hello. I'm trying to understand what the fix is for the IOS simulator crashing when the entry control is focused.

The fix is to use a simulator that's iOS 17.2 or below. you can install different version of the simulator from Xcode.
//Joacim

@IngenieroInformatico28
Copy link

@JoacimWall I installed iOS 17.0 and the issue still persists.

@JoacimWall
Copy link
Author

@JoacimWall I installed iOS 17.0 and the issue still persists.

Hi
After that my company forced update my Xcode to 15.3 I started to get this errors on simulators having 17.4 but not on 17.2. so I can't say why it's not working for you.
One way can be to install a older version of Xcode you can easy manage different version of Xcode with the Xcode's program below.

https://www.xcodes.app

@leonedev
Copy link

Same issue here, crashes just in iOS everytime an Entry is focused

@IngenieroInformatico28
Copy link

@JoacimWall Using iOS 17.2 actually solved the crashing of the simulators. Thanks alot man!

@leonedev Try this solution.

@leonedev
Copy link

@IngenieroInformatico28 Yes I forgot to reply, it works as usual with 17.2 simulator, thanks!

@FabriBertani
Copy link

Since I don't have a physical iPhone with iOS 17 right now, Does anyone have an idea if this issue is happening on physical devices with iOS 17.4 too?

@flipper09112
Copy link

@FabriBertani for me in phisical device with 17.4 works fine. Only crash in simulator

@medziane
Copy link

As a workaround, using iPhoneSimulator with iOS 17.0 works as well.

@ovoelke
Copy link

ovoelke commented Apr 22, 2024

I don't understand why there is still no fix for this problem.

@leonedev
Copy link

@ovoelke yes it is absurd

@willcorum
Copy link

I have the latest version of XCode and was able to install both the 17.2 and 17.4 emulators simultaneously. The 17.2 emulator works for testing. The app does crash with 17.4 emulator but does not crash on 17.4 devices. The tooling just hasn't caught up yet. I can still move forward with development though. My set up is Visual Studio 2022 17.9.1 Community on a Windows box linked to XCode on a Mac Mini. I choose the 17.2 iPhone simulators in the VS debugging menu.

@marcustindab
Copy link

marcustindab commented Apr 28, 2024

This is still a very real and painful issue. Installed the latest VS preview 2022 and added all the latest nugets (8.021 I think?) today but the problem REMAINS. The whole process with iOS development with a paired mac has, frankly, been TOTALLY dreadful. Deleting bin & obj catalogues, restarting VS and deleting the app before you can run again - just to see if the "padding is done right" is totally DREADFUL. Why isn't Microsoft investing more in this? You can't compete with competent frameworks like Flutter with this!!!!! So dishearthening.

@H-A-Hristov
Copy link

H-A-Hristov commented Apr 30, 2024

  1. XCode > Settings > Platforms > + (Add) > IOS 17.2
  2. If you need specific simulator: Window > Devices and Simulators > + (Add)
  3. While you are doing this you can add older platform (IOS 16.4 for example) that can get IPhone 8 Plus running. So you can get 1248x2208 screenshots for distribution. (You cannot get this simulator running on IOS 17, but the requirements for distribution still stands.)

@TheXenocide
Copy link

TheXenocide commented May 7, 2024

I haven't dug into the details here too closely but it looks like I was hitting this issue as well. The workaround worked for me, but the InvariantGlobalization caused my app to get an exception when accessing CultureInfo.CurrentCulture.Name. Commenting out that line seems to work well enough for me for now (haven't tried any localization testing, but the workaround is still letting me use latest XCode/Simulators).

EDIT: Oops, I guess I meant the workaround mentioned in runtime/#98941 as I haven't setup the older simulators yet (though that might be preferable to modifying my linker settings)

@MalhijaMathias
Copy link

App crashes when using Editor, Entry, and Picker

@ovoelke
Copy link

ovoelke commented May 26, 2024

I recently updated to dotnet version 8.0.300.

I then created another new project (I'm currently using Rider as an IDE) and added an entry control. The app no longer crashes under iOS 17.5.

Can anyone confirm this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-entry Entry platform/iOS 🍎 s/needs-info Issue needs more info from the author t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests