-
Notifications
You must be signed in to change notification settings - Fork 405
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
[BUG] On iOS 17.4, the toolkit:MediaElement crashes, whereas it still functions properly on 17.2. #1876
Comments
You're going to need to give us some more information than that please. What is the error being reported when it crashes? How are you using the MediaElement? |
I followed the example here: https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/views/mediaelement?tabs=android On iOS 17.2, the application works normally without any errors.
Incident Identifier: DB09B544-D075-48D7-85ED-9D7C5F62E1DE Date/Time: 2024-05-12 21:05:37.4103 +0700 Exception Type: EXC_CRASH (SIGABRT) Triggered by Thread: 0 Kernel Triage: Thread 0 Crashed:: tid_103 Dispatch queue: com.apple.main-thread Thread 1:: Dispatch queue: com.apple.UIKit.KeyboardManagement Thread 2: Thread 3:: SGen worker Thread 4:: Finalizer Thread 5:: Debugger agent Thread 6: Thread 7: Thread 8:: com.apple.uikit.eventfetch-thread Thread 9: Thread 10: Thread 0 crashed with ARM Thread State (64-bit): Binary Images: |
I using MediaElement lasted 3.1.1 |
In order to use iOS 17.4 you must have xCode 15.3, and if I'm not wrong .NET MAUI still doesn't support this version. Let's wait for the next release and see if the issue goes away |
I'm using Xcode 15.4 and running three simulators of iOS 17.2, 17.4, and 17.5. Currently, all my friends' iPhones are on 17.4. I've debugged on 17.2 successfully, but on 17.4 (released in March) and 17.5 (upcoming), the MediaElement cannot run. |
@pictos is correct, please refer to these issues: And specifically this one which involves a crash dotnet/runtime#98941 this issue also includes a workaround. |
Reopening, since this is |
xcode 15.3 is no longer a problem, so this issue should be unblocked @pictos |
Maybe I'm missing something but I read that this crash is caused by a .NET / .NET MAUI issue? |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 2 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate. |
We haven't received a reproduction sample from you. The issue is closed. |
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
Add the toolkit:MediaElement tag into the MainPage.xaml
Expected Behavior
Run and Debug
Steps To Reproduce
Debug on Visual Studio Pair to Mac
Link to public reproduction project repository
No publish
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: