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
iOS Crash with flutter version 3.19.2 #145593
Comments
I am seeing the same thing. I can reproduce it on my own phone but I don't have the slightest idea how to fix it :(. 3000+ crashes in the last day. |
@thomas4Bitcraft Could you share the entire crash stack trace if any? There is not much Flutter trace that can help us investigate this further. @johnwiese-ms Since you can reproduce the issue, could you please provide a completed and minimal reproducible code sample? Also, please share the Flutter version you are seeing the issue on as well. |
Not sure I can provide a complete, minimal reproduction. It's my app that is failing and it's not small, though not extremely large. I made very few changes since my last release, which was working fine, so trying to revert one change at a time to see if I can find the cause. I did notice that my .fluttter-plugins has a number of updates to the iOS versions despite no changes in my pubsepc.yaml. |
Other info that may help. Besides my phone I have confirmed issue on another iPhone 12 running iOS 17.4.1 and an iPhone 15 Pro Max. The code does run fine on an iPhone 15 simulator running 17.4. |
Digging more into this I was told by a user that if they try running the app over and over it will start on occasion, which I have been able to also reproduce on my phone. |
@huycozy Unfortunately we can not reproduce it and only see the stacktrace in crashlytics , but we get a huge number of new errors since the update. |
for reference, before this release I was at ~97% crash-free users and 99+% crash-free sessions |
@johnwiese-ms Have you tried to update the flutter version to 3.19.4? |
I would like to, but despite the app being very popular (~80k users) it is still a "on my spare time" project and I started it way before null-safety and would need to spend some time changing things to get that working. It's on my list, one of these days. |
@johnwiese-ms I'll try that - but do not have a lot of hope this will change the current crash rate. Which flutter version are you using at the moment? |
@johnwiese-ms Just found this: firebase/firebase-ios-sdk#12457 |
3.7.12 right now. Looks like I won't be able to update to the newer firebase packages without updating to the newer SDK. Trying the "revert xcode" option to see if that works for now to buy be some time. |
ok, reverting to xcode 15.2 worked for me. That will hold me over until I can update to the latest version of Flutter and the related Firebase packages. |
I'm not able to symbolize the crash trace above. Looking at firebase/firebase-ios-sdk#12457 shared above, the stack trace seems to be similar. The last comment firebase/firebase-ios-sdk#12457 (comment) indicated that the issue could be solved on the new Firebase SDK version, see also flutterfire issue firebase/flutterfire#12442. So you can try upgrading Otherwise, we need a more detailed log with Flutter trace to investigate this further. |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to reproduce
We were not able to reproduce it by now, but it affects around 15% of our users
Expected results
No crash
Actual results
Crash
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: