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

[FIRIAMMessageClientCache hasTestMessage] crashes the app #12393

Closed
anilMakhijaEnphase opened this issue Feb 15, 2024 · 1 comment · Fixed by #12395
Closed

[FIRIAMMessageClientCache hasTestMessage] crashes the app #12393

anilMakhijaEnphase opened this issue Feb 15, 2024 · 1 comment · Fixed by #12395
Assignees
Labels
api: inappmessaging Firebase In App Messaging

Comments

@anilMakhijaEnphase
Copy link

Description

I'm using the Firebase iOS SDK with version 10.2.0

We are observing crash reports coming from iOS and iPadOS versions 17 that are related to [FIRIAMMessageClientCache hasTestMessage].

Some of the recorded stack traces

Reproducing the issue
Didn't manage to reproduce that on local setup. We are integrating the Firebase SDKs in the way described in docs, nothing customized.

Firebase SDK Version
10.2.0

Xcode Version
15.2

Installation Method
Swift Package Manager

Firebase Product(s)
Analytics, Crashlytics, In-App Messaging, Remote Config

Targeted Platforms
iOS

Reproducing the issue

Relevant Log Output

Crashed: com.apple.root.default-qos 0 libobjc.A.dylib 0x2c14 objc_retain + 16 1 libobjc.A.dylib 0x2c14 objc_retain_x0 + 16 2 FirebaseInAppMessaging 0x18be4 -[FIRIAMMessageClientCache hasTestMessage] + 24 3 FirebaseInAppMessaging 0x148b0 -[FIRIAMDisplayExecutor checkAndDisplayNextAppForegroundMessage] + 264 4 FirebaseInAppMessaging 0x1134c __95-[FIRIAMDisplayCheckOnAppForegroundFlow checkAndDisplayNextAppForegroundMessageFromForeground:]_block_invoke + 36 5 libdispatch.dylib 0x4300 _dispatch_client_callout + 20 6 libdispatch.dylib 0x77b8 _dispatch_continuation_pop + 600 7 libdispatch.dylib 0x1b5c0 _dispatch_source_latch_and_call + 420 8 libdispatch.dylib 0x1a190 _dispatch_source_invoke + 832 9 libdispatch.dylib 0x72a4 _dispatch_queue_override_invoke + 504 10 libdispatch.dylib 0x15be4 _dispatch_root_queue_drain + 392 11 libdispatch.dylib 0x163ec _dispatch_worker_thread2 + 156 12 libsystem_pthread.dylib 0x1928 _pthread_wqthread + 228 13 libsystem_pthread.dylib 0x1a04 start_wqthread + 8

Firebase SDK Version

10.2.0

Xcode Version

15.2

Installation Method

CocoaPods

Firebase Product(s)

Crashlytics

Targeted Platforms

iOS

Relevant Log Output

Relevant Log Output

`Crashed: com.apple.root.default-qos
0  libobjc.A.dylib                0x2c14 objc_retain + 16
1  libobjc.A.dylib                0x2c14 objc_retain_x0 + 16
2  FirebaseInAppMessaging         0x18be4 -[FIRIAMMessageClientCache hasTestMessage] + 24
3  FirebaseInAppMessaging         0x148b0 -[FIRIAMDisplayExecutor checkAndDisplayNextAppForegroundMessage] + 264
4  FirebaseInAppMessaging         0x1134c __95-[FIRIAMDisplayCheckOnAppForegroundFlow checkAndDisplayNextAppForegroundMessageFromForeground:]_block_invoke + 36
5  libdispatch.dylib              0x4300 _dispatch_client_callout + 20
6  libdispatch.dylib              0x77b8 _dispatch_continuation_pop + 600
7  libdispatch.dylib              0x1b5c0 _dispatch_source_latch_and_call + 420
8  libdispatch.dylib              0x1a190 _dispatch_source_invoke + 832
9  libdispatch.dylib              0x72a4 _dispatch_queue_override_invoke + 504
10 libdispatch.dylib              0x15be4 _dispatch_root_queue_drain + 392
11 libdispatch.dylib              0x163ec _dispatch_worker_thread2 + 156
12 libsystem_pthread.dylib        0x1928 _pthread_wqthread + 228
13 libsystem_pthread.dylib        0x1a04 start_wqthread + 8`

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: inappmessaging Firebase In App Messaging
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants