-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Intermittent FirebaseCoreInternal: specialized RingBuffer.push(_:) + 380 crash #10025
Comments
I found a few problems with this issue:
|
There's no force-unwraps in this method, so the only assertion failures possible that I know of are integer overflow (unlikely) and out-of-bounds array access. |
Hi @kostiag, I have a few questions to help my investigation.
Thanks! |
Hi,
|
Thanks @kostiag, and what Firebase products do you use in your app? And, are you able to provide any more detail with regard to the captured stack traces? (No worries if the screenshot is all the information we have to work with.) |
Unfortunately not, I believe this is happening on the start-up of the application, and once this is happens there is no way to get passed this crash. |
happens in the field so I can't really help much but what data could I collect in case I can reproduce it while debugging locally? |
Yep, this makes sense given the issue. I'm not yet able to understand why it's getting to this invalid state.
Basically any context regarding what state the app was in (i.e. first open after install, etc). And question, what tool are you viewing your crash reports in? |
I have no idea what state the app is in and no I do not believe it is first
opened. It could be after upgrade possibly. I can open the crash in Xcode
as well as crashlytics. I can share my screen if it could help to take a
look.
…On Wed, Jul 20, 2022 at 5:57 PM Nick Cooke ***@***.***> wrote:
Unfortunately not, I believe this is happening on the start-up of the
application, and once this is happens there is no way to get passed this
crash.
Yep, this makes sense given the issue. I'm not yet able to understand why
it's getting to this invalid state.
happens in the field so I can't really help much but what data could I
collect in case I can reproduce it while debugging locally?
Basically any context regarding what state the app was in (i.e. first open
after install, etc).
And question, what tool are you viewing your crash reports in?
—
Reply to this email directly, view it on GitHub
<#10025 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2YPBNW7BG5FA3OANYX43TVVBY53ANCNFSM535HKQ2Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks @kostiag, I would be curious if opening the crash in Xcode provides any more information regarding the context the app was in. Additionally, running Xcode's TSAN tool during your app's startup may reveal some weirder concurrency related issues at play. Anyhow, sorry again for the trouble... I'm working on #10032 to help prevent this issue. |
I do not see any more info but based on user reports this is when reopening
app from. background possibly.
…On Thu, Jul 21, 2022 at 3:15 PM Nick Cooke ***@***.***> wrote:
Thanks @kostiag <https://github.com/kostiag>, I would be curious if
opening the crash in Xcode provides any more information regarding the
context the app was in. Additionally, running Xcode's TSAN tool
<https://developer.apple.com/documentation/xcode/diagnosing-memory-thread-and-crash-issues-early>
during your app's startup may reveal some weirder concurrency related
issues at play.
Anyhow, sorry again for the trouble... I'm working on #10032
<#10032> to help prevent
this issue.
—
Reply to this email directly, view it on GitHub
<#10025 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2YPBIW4LWAZ4IC4ZLRQK3VVGOTVANCNFSM535HKQ2Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @kostiag, I've merged a fix for this issue. It is expected to release the week of August 2 in Firebase 9.4.0. I've marked the issue as closed, but please report back if you see the crashes reappearing when shipping your app with Firebase 9.4.0. |
Step 0: Are you in the right place?
For issues or feature requests related to the code in this repository
file a GitHub issue.
If this is a feature request please use the Feature Request template.
For general technical questions, post a question on StackOverflow
with the firebase tag.
For general (non-iOS) Firebase discussion, use the firebase-talk
google group.
For backend issues, console issues, and other non-SDK help that does not fall under one
of the above categories, reach out to
Firebase Support.
Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.
[REQUIRED] Step 1: Describe your environment
Xcode 13.4.1
it could be an actual device or simulator, different iPad versions. iOS:
15.3.0
15.5.0
15.4.1
15.2
[REQUIRED] Step 2: Describe the problem
Intermittent crashes during app restart.
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
The text was updated successfully, but these errors were encountered: