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

APMPersistedConfig scheduleSynchronizeToDisk crash #10495

Closed
FenWangSiCheng opened this issue Nov 15, 2022 · 12 comments
Closed

APMPersistedConfig scheduleSynchronizeToDisk crash #10495

FenWangSiCheng opened this issue Nov 15, 2022 · 12 comments
Assignees
Milestone

Comments

@FenWangSiCheng
Copy link

Description

Noticed this crash in Crashlytics

crash

Reproducing the issue

No response

Firebase SDK Version

9.4.0

Xcode Version

13.1

Installation Method

CocoaPods

Firebase Product(s)

Analytics, Crashlytics, DynamicLinks, Performance, Remote Config

Targeted Platforms

iOS

Relevant Log Output

No response

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.

@rizafran
Copy link
Contributor

Thanks for reporting, @FenWangSiCheng. Based on this related issue, it seems like the _Block_copy crash is caused by memory corruption. As mentioned there, could you try reproducing the issue locally with zombies or asan?

@google-oss-bot
Copy link

Hey @FenWangSiCheng. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

@asterpang
Copy link

asterpang commented Nov 25, 2022

we app also crash on it.

we upgrade the google ad sdk, Google-Mobile-Ads-SDK (= 9.11.0)- GoogleAppMeasurement (= 9.6.0), then much crash.

the previous (Google-Mobile-Ads-SDK (8.13.0) , GoogleAppMeasurement (8.10.0)) is OK.

0 libsystem_blocks.dylib 0x000000020bcd3afc __Block_copy + 56
1 libdispatch.dylib 0x00000001c624c478 __dispatch_Block_copy + 32
2 libdispatch.dylib 0x00000001c624c478 __dispatch_Block_copy + 32
3 libdispatch.dylib 0x00000001c62658e0 _dispatch_after + 280
4 QQKSong 0x0000000103bfbcb0 -[APMPersistedConfig scheduleSynchronizeToDisk] + 168
5 libdispatch.dylib 0x00000001c624dfdc __dispatch_client_callout + 20
6 libdispatch.dylib 0x00000001c625d574 __dispatch_lane_barrier_sync_invoke_and_complete + 56
7 QQKSong 0x0000000103bfb90c -[APMPersistedConfig setString:forKey:] + 136
8 QQKSong 0x0000000103bada04 -[APMIdentity enforceConsentSettings] + 60
9 QQKSong 0x0000000103baea80 ___32-[APMIdentity updateIdentifiers]_block_invoke + 72
10 libdispatch.dylib 0x00000001c624c4b4 __dispatch_call_block_and_release + 32
11 libdispatch.dylib 0x00000001c624dfdc __dispatch_client_callout + 20
12 libdispatch.dylib 0x00000001c6255694 __dispatch_lane_serial_drain + 672
13 libdispatch.dylib 0x00000001c62561e0 __dispatch_lane_invoke + 384
14 libdispatch.dylib 0x00000001c6260e10 __dispatch_workloop_worker_thread + 652
15 libsystem_pthread.dylib 0x000000020bcd7df8 __pthread_wqthread + 288
SEGV_ACCERR
Issue ID:B8406351C0E70EB236028468F644741C

@myseven
Copy link

myseven commented Nov 26, 2022

I'm facing the same crash

@jfk056
Copy link

jfk056 commented Dec 1, 2022

Our team is also facing the same issue. Based on the firebase report the crash will occur within the 1 second of application's lifetime. In our case the Firebase SDK is at version 9.4.1 we only use the Performance/Crashlytics/Analytics.

Xcode version: 14.1
Crash is occurring 99% on iOS 16 and 1% on iPadOS 16

app_issue_133f7018ececd87706d536fdd73317f8_crash_session_eac3c2da52b64144857bef2ee8b5df7b_DNE_0_v2_stacktrace.txt

@jerrycanco
Copy link

Also experiencing this same crash

@google-oss-bot
Copy link

Hey @FenWangSiCheng. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

@jerrycanco
Copy link

@tsunghung
Copy link
Contributor

tsunghung commented Dec 16, 2022

Thanks for the bug report. The fix will be available in v10.4.0 (released around 1/20/2023).

@paulb777 paulb777 added this to the 10.4.0 - M126 milestone Dec 16, 2022
@jerrycanco
Copy link

Thanks @tsunghung, appreciate the follow up! 👍🏼

@ncooke3
Copy link
Member

ncooke3 commented Jan 17, 2023

Hi everyone– this fix released today in Firebase 10.4.0!

@firebase firebase locked and limited conversation to collaborators Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy