Skip to content

🐛 [cloud_firestore] Still ServerTimestampBehavior crashes  #10715

@tecbot

Description

@tecbot

Bug report

Describe the bug
Still crashes related to ServerTimestampBehavior after bug fix #10391 and #10314

cloud_firestore: 4.4.5

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000078facf0484d0

0   libobjc.A.dylib               	0x00000001cc0a1c20 objc_msgSend + 32
1   CoreFoundation                	0x00000001d2cef994 -[__NSCFNumber compare:] + 64 (CFObject.m:1134)
2   CoreFoundation                	0x00000001d2cef938 -[__NSCFNumber isEqualToNumber:] + 24 (CFObject.m:853)
3   CoreFoundation                	0x00000001d2cee4c4 -[__NSDictionaryM objectForKeyedSubscript:] + 164 (NSDictionaryM_Common.h:32)
4   Runner                        	0x0000000100d811ac -[FLTFirebaseFirestoreWriter FIRQuerySnapshot:] + 204 (FLTFirebaseFirestoreWriter.m:199)
5   Runner                        	0x0000000100d805e8 -[FLTFirebaseFirestoreWriter writeValue:] + 832 (FLTFirebaseFirestoreWriter.m:47)
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00004e9d6e9fc9f0

0  libobjc.A.dylib                0x2820 objc_msgSend + 32
1  CoreFoundation                 0x32ec -[__NSCFNumber compare:] + 64
2  CoreFoundation                 0x3290 -[__NSCFNumber isEqualToNumber:] + 24
3  CoreFoundation                 0x1e24 -[__NSDictionaryM objectForKeyedSubscript:] + 164
4  Runner                         0x478d64 -[FLTFirebaseFirestoreWriter FIRDocumentSnapshot:] + 153 (FLTFirebaseFirestoreWriter.m:153)
5  Runner                         0x478548 -[FLTFirebaseFirestoreWriter writeValue:] + 43 (FLTFirebaseFirestoreWriter.m:43)
EXC_BREAKPOINT 0x0000000196699318

0  CoreFoundation                 0x7e318 CFNumberGetValue + 160
1  CoreFoundation                 0x64170 -[__NSCFNumber unsignedLongLongValue] + 48
2  CoreFoundation                 0x35c0 -[__NSCFNumber compare:] + 124
3  CoreFoundation                 0x3528 -[__NSCFNumber isEqualToNumber:] + 24
4  CoreFoundation                 0xa0dc mdict_removeObjectForKey + 164
5  Runner                         0x478dd8 -[FLTFirebaseFirestoreWriter FIRDocumentSnapshot:] + 159 (FLTFirebaseFirestoreWriter.m:159)
6  Runner                         0x478548 -[FLTFirebaseFirestoreWriter writeValue:] + 43 (FLTFirebaseFirestoreWriter.m:43)
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000f3b4d44e4bb0 -> 0x00000034d44e4bb0 (possible pointer authentication failure)

0   libobjc.A.dylib               	0x00000001bcb0dc20 objc_msgSend + 32 (:-1)
1   CoreFoundation                	0x00000001c39950dc mdict_removeObjectForKey + 164 (NSDictionaryM_Common.h:32)
2   Runner                        	0x0000000104c84dd8 -[FLTFirebaseFirestoreWriter FIRDocumentSnapshot:] + 252 (FLTFirebaseFirestoreWriter.m:159)
3   Runner                        	0x0000000104c84548 -[FLTFirebaseFirestoreWriter writeValue:] + 672 (FLTFirebaseFirestoreWriter.m:43)

Metadata

Metadata

Assignees

Labels

StaleIssue with no recent activityblocked: customer-responseWaiting for customer response, e.g. more information was requested.platform: iosIssues / PRs which are specifically for iOS.plugin: cloud_firestoreresolution: fixedA fix has been merged or is pending merge from a PR.type: bugSomething isn't workingtype: crashA compile error or crash

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions