firebase / firebase/firebase-ios-sdk

Crash: EXC_BAD_ACCESS KERN_INVALID_ADDRESS "com.gul.KeychainStorage.Keychain"

Open
#14,192 3 comments 0 reactions 0 assignees View on GitHub
api: core needs-attention
Dominant language
C++
Stars
6.7k
Forks
1.8k
Avg merge
2d 14h
Merged PRs (30d)
72

Description

### Description

Crashed: com.gul.KeychainStorage.Keychain
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000020
- 0
libobjc.A.dylib
list_array_tt::iteratorImpl::iteratorImpl(list_array_tt::ListIterator, list_array_tt::ListIterator) + 336
- 1
libobjc.A.dylib
list_array_tt::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

```json

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

```

### If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

```yml

Replace this line with the contents of your Podfile.lock!

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.