Application crash on setting icon on toolbar item #25534
Labels
area-controls-toolbar
ToolBar
platform/iOS 🍎
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
My app sets a icon for a tool. The icon binding is inside a view model. The crash only happens with a specific setup and steps. I've linked to a test app that I can reliably cause it to crash.
I compiled the iOS code on XCode 16 on Mac OS Sonoma (14.5) on a M1 Mac.
This does not crash Android
At first I thought this was related to the Mvvm tool kit, but I can get it to crash using just the native INotifyPropertyChanged I've included both in my rest repo.
The error I get with this is:
Which seems to indicate that the button_note file is not found. However this works to set it the first time around.
Checking the directory, the file exists, with the appropriate extension:
I'm unsure if related, but at one point, I did get a sigsegv crash testing this
Steps to Reproduce
From my test repo
Link to public reproduction project repository
https://github.com/jdarwood007/MauiAppIconCrash
Version with bug
8.0.92 SR9.2
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 17.5 (Simulator iPhone 14), iOS 15.8.3 (iPhone 6), iOS 18 (Simulator iPhone 16)
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: