firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

已崩溃:APMPersistedConfig EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000020

Open chenminghong opened this issue 11 months ago • 3 comments

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

chenminghong avatar Jan 02 '25 10:01 chenminghong

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

google-oss-bot avatar Jan 02 '25 10:01 google-oss-bot

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

rizafran avatar Jan 03 '25 13:01 rizafran

Hey @chenminghong. 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!

google-oss-bot avatar Jan 10 '25 02:01 google-oss-bot

Since there haven't been any recent updates here, I am going to close this issue.

@chenminghong if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

google-oss-bot avatar Jan 17 '25 02:01 google-oss-bot