firebase-ios-sdk
firebase-ios-sdk copied to clipboard
Crash: EXC_BAD_ACCESS KERN_INVALID_ADDRESS "com.gul.KeychainStorage.Keychain"
Description
Crashed: com.gul.KeychainStorage.Keychain EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000020
- 0
libobjc.A.dylib
list_array_tt<unsigned long, protocol_list_t, RawPtr>::iteratorImpl
::iteratorImpl(list_array_tt<unsigned long, protocol_list_t, RawPtr>::ListIterator, list_array_tt<unsigned long, protocol_list_t, RawPtr>::ListIterator) + 336 - 1 libobjc.A.dylib list_array_tt<unsigned long, protocol_list_t, RawPtr>::begin() const + 296
- 2 libobjc.A.dylib class_conformsToProtocol + 296
- 3 libobjc.A.dylib +[NSObject conformsToProtocol:] + 48
- 4 Foundation -[NSCoder validateClassSupportsSecureCoding:] + 52
- 5 Foundation _decodeObjectBinary + 1548
- 6 Foundation _decodeObject + 256
- 7 Foundation -[NSKeyedUnarchiver decodeObjectForKey:] + 216
- 8 Foundation -[NSKeyedUnarchiver decodeObjectOfClasses:forKey:] + 376
- 9 Foundation -[NSCoder __tryDecodeObjectForKey:error:decodeBlock:] + 96
- 10 Foundation -[NSCoder decodeTopLevelObjectOfClasses:forKey:error:] + 124
- 11 Foundation +[NSKeyedUnarchiver unarchivedObjectOfClasses:fromData:error:] + 100
- 12 APP GULSecureCoding.m - Line 59 +[GULSecureCoding unarchivedObjectOfClass:fromData:error:] + 59
- 13 APP GULKeychainStorage.m - Line 145 __74-[GULKeychainStorage getObjectFromKeychainForKey:objectClass:accessGroup:]_block_invoke + 145
- 14 APP FBLPromise+Do.m - Line 33 __38+[FBLPromise(DoAdditions) onQueue:do:]_block_invoke + 33
- 15 libdispatch.dylib _dispatch_call_block_and_release + 32
- 16 libdispatch.dylib _dispatch_client_callout + 20
- 17 libdispatch.dylib _dispatch_lane_serial_drain + 956
- 18 libdispatch.dylib _dispatch_lane_invoke + 380
- 19 libdispatch.dylib _dispatch_root_queue_drain_deferred_wlh + 288
- 20 libdispatch.dylib _dispatch_workloop_worker_thread + 404
- 21 libsystem_pthread.dylib _pthread_wqthread + 288
- 22 libsystem_pthread.dylib start_wqthread + 8
Reproducing the issue
No response
Firebase SDK Version
10.25.0
Xcode Version
16.1
Installation Method
Swift Package Manager
Firebase Product(s)
All
Targeted Platforms
iOS, macOS
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!
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hi @jesus-mg-ios, the crash looks to be due to a NSSecureCoding violation:
4
Foundation
-[NSCoder validateClassSupportsSecureCoding:] + 52
Another similar issue was reported in https://github.com/firebase/firebase-ios-sdk/issues/14190. This can happen from downgrading from 11.x to 10.x. Was this downgrade done? Is this affecting a local test device or users of a published app?
No the downgrade never happened. @ncooke3