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 EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000020 #14298

Open
chenminghong opened this issue Jan 2, 2025 · 2 comments

Comments

@chenminghong
Copy link

Noticed this crash in Crashlytics

Crashed: APMPersistedConfig
0 libobjc.A.dylib 0x2370 objc_release + 16
1 libobjc.A.dylib 0x2370 objc_release_x0 + 16
2 CoreFoundation 0x7198 cow_cleanup + 136
3 CoreFoundation 0x95cc -[__NSDictionaryM dealloc] + 148
4 CoreFoundation 0x6e6fc -[CFPrefsSearchListSource alreadylocked_getDictionary:] + 908
5 CoreFoundation 0x6e0a4 -[CFPrefsSearchListSource alreadylocked_copyValueForKey:] + 172
6 CoreFoundation 0x6dfd8 -[CFPrefsSource copyValueForKey:] + 52
7 CoreFoundation 0x6df8c __76-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]_block_invoke + 32
8 CoreFoundation 0x6d938 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 392
9 CoreFoundation 0x6d210 normalizeQuintuplet + 412
10 CoreFoundation 0x6d04c -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 164
11 CoreFoundation 0x6cf4c -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 156
12 CoreFoundation 0x6cba8 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 112
13 DCourier 0x600034 -[APMUserDefaults objectForKey:] + 573076
14 DCourier 0x5cd9e0 __39-[APMPersistedConfig dictionaryForKey:]_block_invoke + 366656
15 libdispatch.dylib 0x40d0 _dispatch_client_callout + 20
16 libdispatch.dylib 0x13b80 _dispatch_sync_invoke_and_complete_recurse + 64
17 libdispatch.dylib 0x13604 _dispatch_sync_f_slow + 176
18 DCourier 0x5cd968 -[APMPersistedConfig dictionaryForKey:] + 366536
19 DCourier 0x5c5210 -[APMMeasurement parametersWithAddedDefaultEventParameters:] + 331888
20 DCourier 0x5c4634 -[APMMeasurement logEventOnWorkerQueueWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:] + 328852
21 DCourier 0x5c44e4 __151-[APMMeasurement logEventWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:]_block_invoke + 328516
22 DCourier 0x5d16bc __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 382236
23 libdispatch.dylib 0x2370 _dispatch_call_block_and_release + 32
24 libdispatch.dylib 0x40d0 _dispatch_client_callout + 20
25 libdispatch.dylib 0xb6d8 _dispatch_lane_serial_drain + 744
26 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke + 380
27 libdispatch.dylib 0x17258 _dispatch_root_queue_drain_deferred_wlh + 288
28 libdispatch.dylib 0x16aa4 _dispatch_workloop_worker_thread + 540
29 libsystem_pthread.dylib 0x4c7c _pthread_wqthread + 288
30 libsystem_pthread.dylib 0x1488 start_wqthread + 8

    <img width="1254" alt="Image" src="https://github.com/user-attachments/assets/09655a6a-d0af-43e2-b89d-80b9a11704a0" />

Reproducing the issue

No response

Firebase SDK Version

11.6.0

Xcode Version

15.4

Installation Method

CocoaPods

Firebase Product(s)

Analytics, Crashlytics, DynamicLinks, Performance, Remote Config

Targeted Platforms

iOS

Relevant Log Output

No response

@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

rizafran commented Jan 3, 2025

Thanks for reporting, @chenminghong. Could you share your Podfile.lock as well as the steps in reproducing the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants