Skip to content

INTERNAL ASSERTION FAILED: Unexpected state, occurs in BrowserTitle for the bug #7884

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

Open
matiskiba opened this issue Dec 18, 2023 · 2 comments

Comments

@matiskiba
Copy link

Operating System

ios 17.1.2

Browser Version

ios webview

Firebase SDK Version

10.7.1

Firebase SDK Product:

Firestore

Describe your project's tooling

Flutter, with webview flutter, which runs our webapp

Describe the problem

We have a user that views our webapp (via the appliation), whenever he moves that app to the background, and returns it to, we receive a "INTERNAL ASSERTION FAILED: Unexpected state, occurs in BrowserTitle for the bug" error.

Note: this only happen with this code (persistency on):
initializeFirestore(app, { localCache: persistentLocalCache({tabManager: persistentSingleTabManager()}) });
But does not happen with this code (persistency off):
initializeFirestore(app, {localCache: null });

Here are logs leading to that error:
[2023-12-18T11:53:00.268Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Starting transaction: Apply remote event
[2023-12-18T11:53:00.269Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900379595}
[2023-12-18T11:53:00.269Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT targets {"targetId":52,"canonicalId":"location-mati-test-EWq9ZULMSTKdZfXLkpAk/ncM9C2yFElhvfTSDvaxy|f:|ob:__name__asc","readTime":{"seconds":1702900380,"nanoseconds":305300000},"resumeToken":"CgkIlI+GovaYgwM=","lastListenSequenceNumber":34320,"lastLimboFreeSnapshotVersion":{"seconds":1702900379,"nanoseconds":633288000},"query":{"documents":["projects/civil-guard/databases/(default)/documents/location-mati-test-EWq9ZULMSTKdZfXLkpAk/ncM9C2yFElhvfTSDvaxy"]}}
[2023-12-18T11:53:00.270Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT targetDocuments {"targetId":0,"path":"location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001BmuvrcCGKsGfNJjIqe5j\u0001\u0001","sequenceNumber":34320}
[2023-12-18T11:53:00.270Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT targetDocuments {"targetId":0,"path":"location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001C5f8R1p3IAJ1UhbiDM4I\u0001\u0001","sequenceNumber":34320}
[2023-12-18T11:53:00.270Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT targetDocuments {"targetId":0,"path":"location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001TtVS7m3H3Mxb0MfXkT9X\u0001\u0001","sequenceNumber":34320}
[2023-12-18T11:53:00.270Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT targetDocuments {"targetId":0,"path":"location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001YPYEowNwmIXnQ7ihknzr\u0001\u0001","sequenceNumber":34320}
[2023-12-18T11:53:00.274Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET targetGlobal targetGlobalKey {"highestTargetId":276,"highestListenSequenceNumber":34317,"lastRemoteSnapshotVersion":{"seconds":1702900379,"nanoseconds":633288000},"targetCount":138}
[2023-12-18T11:53:00.274Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET targetGlobal targetGlobalKey {"highestTargetId":276,"highestListenSequenceNumber":34317,"lastRemoteSnapshotVersion":{"seconds":1702900379,"nanoseconds":633288000},"targetCount":138}
[2023-12-18T11:53:00.274Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT targetGlobal targetGlobalKey {"highestTargetId":276,"highestListenSequenceNumber":34320,"lastRemoteSnapshotVersion":{"seconds":1702900380,"nanoseconds":305300000},"targetCount":138}
[2023-12-18T11:53:00.276Z] @firebase/firestore: Firestore (10.7.1): SimpleDb DELETE remoteDocumentsV14 [[],"location-mati-test-EWq9ZULMSTKdZfXLkpAk",[1702900379,633288000],"BmuvrcCGKsGfNJjIqe5j"]
[2023-12-18T11:53:00.276Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT remoteDocumentsV14 {"prefixPath":[],"collectionGroup":"location-mati-test-EWq9ZULMSTKdZfXLkpAk","documentId":"BmuvrcCGKsGfNJjIqe5j","readTime":[1702900380,305300000],"hasCommittedMutations":false,"noDocument":{"path":["location-mati-test-EWq9ZULMSTKdZfXLkpAk","BmuvrcCGKsGfNJjIqe5j"],"readTime":{"seconds":1702900380,"nanoseconds":305300000}}}
[2023-12-18T11:53:00.276Z] @firebase/firestore: Firestore (10.7.1): SimpleDb DELETE remoteDocumentsV14 [[],"location-mati-test-EWq9ZULMSTKdZfXLkpAk",[1702900379,633288000],"C5f8R1p3IAJ1UhbiDM4I"]
[2023-12-18T11:53:00.276Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT remoteDocumentsV14 {"prefixPath":[],"collectionGroup":"location-mati-test-EWq9ZULMSTKdZfXLkpAk","documentId":"C5f8R1p3IAJ1UhbiDM4I","readTime":[1702900380,305300000],"hasCommittedMutations":false,"noDocument":{"path":["location-mati-test-EWq9ZULMSTKdZfXLkpAk","C5f8R1p3IAJ1UhbiDM4I"],"readTime":{"seconds":1702900380,"nanoseconds":305300000}}}
[2023-12-18T11:53:00.276Z] @firebase/firestore: Firestore (10.7.1): SimpleDb DELETE remoteDocumentsV14 [[],"location-mati-test-EWq9ZULMSTKdZfXLkpAk",[1702900379,633288000],"TtVS7m3H3Mxb0MfXkT9X"]
[2023-12-18T11:53:00.276Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT remoteDocumentsV14 {"prefixPath":[],"collectionGroup":"location-mati-test-EWq9ZULMSTKdZfXLkpAk","documentId":"TtVS7m3H3Mxb0MfXkT9X","readTime":[1702900380,305300000],"hasCommittedMutations":false,"noDocument":{"path":["location-mati-test-EWq9ZULMSTKdZfXLkpAk","TtVS7m3H3Mxb0MfXkT9X"],"readTime":{"seconds":1702900380,"nanoseconds":305300000}}}
[2023-12-18T11:53:00.277Z] @firebase/firestore: Firestore (10.7.1): SimpleDb DELETE remoteDocumentsV14 [[],"location-mati-test-EWq9ZULMSTKdZfXLkpAk",[1702900379,633288000],"YPYEowNwmIXnQ7ihknzr"]
[2023-12-18T11:53:00.277Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT remoteDocumentsV14 {"prefixPath":[],"collectionGroup":"location-mati-test-EWq9ZULMSTKdZfXLkpAk","documentId":"YPYEowNwmIXnQ7ihknzr","readTime":[1702900380,305300000],"hasCommittedMutations":false,"noDocument":{"path":["location-mati-test-EWq9ZULMSTKdZfXLkpAk","YPYEowNwmIXnQ7ihknzr"],"readTime":{"seconds":1702900380,"nanoseconds":305300000}}}
[2023-12-18T11:53:00.277Z] @firebase/firestore: Firestore (10.7.1): SimpleDb DELETE remoteDocumentsV14 [[],"location-mati-test-EWq9ZULMSTKdZfXLkpAk",[1702900379,633288000],"ncM9C2yFElhvfTSDvaxy"]
[2023-12-18T11:53:00.277Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT remoteDocumentsV14 {"prefixPath":[],"collectionGroup":"location-mati-test-EWq9ZULMSTKdZfXLkpAk","documentId":"ncM9C2yFElhvfTSDvaxy","readTime":[1702900380,305300000],"hasCommittedMutations":false,"document":{"name":"projects/civil-guard/databases/(default)/documents/location-mati-test-EWq9ZULMSTKdZfXLkpAk/ncM9C2yFElhvfTSDvaxy","fields":{"source":{"stringValue":"live_location_motion"},"location":{"mapValue":{"fields":{"lng":{"doubleValue":34.992069243200326},"lat":{"doubleValue":32.78886554298709}}}},"lat":{"doubleValue":32.78886554298709},"accuracy":{"doubleValue":9.127530327115704},"in_settlement":{"booleanValue":false},"lastUpdated":{"integerValue":"1702900380209"},"isCharging":{"booleanValue":false},"distance_from_settlement":{"doubleValue":79.13429689147343},"batteryLevel":{"integerValue":"85"},"lng":{"doubleValue":34.992069243200326}},"updateTime":"2023-12-18T11:53:00.305300000Z","createTime":"2023-11-08T10:11:17.102245000Z"}}
[2023-12-18T11:53:00.278Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET remoteDocumentGlobal remoteDocumentGlobalKey {"byteSize":368331}
[2023-12-18T11:53:00.278Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT remoteDocumentGlobal remoteDocumentGlobalKey {"byteSize":368332}
[2023-12-18T11:53:00.279Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET documentOverlays ["EWq9ZULMSTKdZfXLkpAk-ncM9C2yFElhvfTSDvaxy","location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001","BmuvrcCGKsGfNJjIqe5j"] null
[2023-12-18T11:53:00.279Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET documentOverlays ["EWq9ZULMSTKdZfXLkpAk-ncM9C2yFElhvfTSDvaxy","location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001","C5f8R1p3IAJ1UhbiDM4I"] null
[2023-12-18T11:53:00.279Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET documentOverlays ["EWq9ZULMSTKdZfXLkpAk-ncM9C2yFElhvfTSDvaxy","location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001","TtVS7m3H3Mxb0MfXkT9X"] null
[2023-12-18T11:53:00.279Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET documentOverlays ["EWq9ZULMSTKdZfXLkpAk-ncM9C2yFElhvfTSDvaxy","location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001","YPYEowNwmIXnQ7ihknzr"] null
[2023-12-18T11:53:00.279Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET documentOverlays ["EWq9ZULMSTKdZfXLkpAk-ncM9C2yFElhvfTSDvaxy","location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001","ncM9C2yFElhvfTSDvaxy"] null
[2023-12-18T11:53:00.280Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900380280}
[2023-12-18T11:53:00.282Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Starting transaction: notifyLocalViewChanges
[2023-12-18T11:53:00.286Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900380280}
[2023-12-18T11:53:00.286Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Client '5EdXsSHkKr5JVOGviWY5' is not zombied in LocalStorage
[2023-12-18T11:53:01.244Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Starting transaction: updateClientMetadataAndTryBecomePrimary
[2023-12-18T11:53:01.244Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900380280}
[2023-12-18T11:53:01.244Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Client '5EdXsSHkKr5JVOGviWY5' is not zombied in LocalStorage
[2023-12-18T11:53:01.244Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT clientMetadata {"clientId":"5EdXsSHkKr5JVOGviWY5","updateTimeMs":1702900381244,"networkEnabled":true,"inForeground":true}
[2023-12-18T11:53:01.244Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900380280}
[2023-12-18T11:53:01.245Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900380280}
[2023-12-18T11:53:01.245Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Client '5EdXsSHkKr5JVOGviWY5' is not zombied in LocalStorage
[2023-12-18T11:53:01.245Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900381245}
[2023-12-18T11:53:01.356Z] @firebase/firestore: Firestore (10.7.1): WebChannelConnection RPC 'Listen' stream 0x411e06d5 received: {"documentChange":{"document":{"name":"projects/civil-guard/databases/(default)/documents/location-mati-test-EWq9ZULMSTKdZfXLkpAk/ncM9C2yFElhvfTSDvaxy","fields":{"lng":{"doubleValue":34.992069243200326},"isCharging":{"booleanValue":false},"in_settlement":{"booleanValue":false},"source":{"stringValue":"metered_location_bg_task"},"batteryLevel":{"integerValue":"85"},"accuracy":{"doubleValue":9.127530327115704},"lat":{"doubleValue":32.78886554298709},"distance_from_settlement":{"doubleValue":79.13429689147343},"lastUpdated":{"integerValue":"1702900381316"},"location":{"mapValue":{"fields":{"lng":{"doubleValue":34.992069243200326},"lat":{"doubleValue":32.78886554298709}}}}},"createTime":"2023-11-08T10:11:17.102245Z","updateTime":"2023-12-18T11:53:01.399219Z"},"targetIds":[52]}}
[2023-12-18T11:53:01.356Z] @firebase/firestore: Firestore (10.7.1): WebChannelConnection RPC 'Listen' stream 0x411e06d5 received: {"targetChange":{"resumeToken":"CgkIs/HIovaYgwM=","readTime":"2023-12-18T11:53:01.399219Z"}}
[2023-12-18T11:53:01.356Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Starting transaction: Get last remote snapshot version
[2023-12-18T11:53:01.357Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900381245}
[2023-12-18T11:53:01.357Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Client '5EdXsSHkKr5JVOGviWY5' is not zombied in LocalStorage
[2023-12-18T11:53:01.358Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET targetGlobal targetGlobalKey {"highestTargetId":276,"highestListenSequenceNumber":34320,"lastRemoteSnapshotVersion":{"seconds":1702900380,"nanoseconds":305300000},"targetCount":138}
[2023-12-18T11:53:01.359Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Starting transaction: Apply remote event
[2023-12-18T11:53:01.360Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900381245}
[2023-12-18T11:53:01.360Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT targets {"targetId":52,"canonicalId":"location-mati-test-EWq9ZULMSTKdZfXLkpAk/ncM9C2yFElhvfTSDvaxy|f:|ob:__name__asc","readTime":{"seconds":1702900381,"nanoseconds":399219000},"resumeToken":"CgkIs/HIovaYgwM=","lastListenSequenceNumber":34324,"lastLimboFreeSnapshotVersion":{"seconds":1702900380,"nanoseconds":305300000},"query":{"documents":["projects/civil-guard/databases/(default)/documents/location-mati-test-EWq9ZULMSTKdZfXLkpAk/ncM9C2yFElhvfTSDvaxy"]}}
[2023-12-18T11:53:01.361Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT targetDocuments {"targetId":0,"path":"location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001BmuvrcCGKsGfNJjIqe5j\u0001\u0001","sequenceNumber":34324}
[2023-12-18T11:53:01.361Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT targetDocuments {"targetId":0,"path":"location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001C5f8R1p3IAJ1UhbiDM4I\u0001\u0001","sequenceNumber":34324}
[2023-12-18T11:53:01.361Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT targetDocuments {"targetId":0,"path":"location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001TtVS7m3H3Mxb0MfXkT9X\u0001\u0001","sequenceNumber":34324}
[2023-12-18T11:53:01.361Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT targetDocuments {"targetId":0,"path":"location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001YPYEowNwmIXnQ7ihknzr\u0001\u0001","sequenceNumber":34324}
[2023-12-18T11:53:01.364Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET targetGlobal targetGlobalKey {"highestTargetId":276,"highestListenSequenceNumber":34320,"lastRemoteSnapshotVersion":{"seconds":1702900380,"nanoseconds":305300000},"targetCount":138}
[2023-12-18T11:53:01.364Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET targetGlobal targetGlobalKey {"highestTargetId":276,"highestListenSequenceNumber":34320,"lastRemoteSnapshotVersion":{"seconds":1702900380,"nanoseconds":305300000},"targetCount":138}
[2023-12-18T11:53:01.364Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT targetGlobal targetGlobalKey {"highestTargetId":276,"highestListenSequenceNumber":34324,"lastRemoteSnapshotVersion":{"seconds":1702900381,"nanoseconds":399219000},"targetCount":138}
[2023-12-18T11:53:01.366Z] @firebase/firestore: Firestore (10.7.1): SimpleDb DELETE remoteDocumentsV14 [[],"location-mati-test-EWq9ZULMSTKdZfXLkpAk",[1702900380,305300000],"BmuvrcCGKsGfNJjIqe5j"]
[2023-12-18T11:53:01.366Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT remoteDocumentsV14 {"prefixPath":[],"collectionGroup":"location-mati-test-EWq9ZULMSTKdZfXLkpAk","documentId":"BmuvrcCGKsGfNJjIqe5j","readTime":[1702900381,399219000],"hasCommittedMutations":false,"noDocument":{"path":["location-mati-test-EWq9ZULMSTKdZfXLkpAk","BmuvrcCGKsGfNJjIqe5j"],"readTime":{"seconds":1702900381,"nanoseconds":399219000}}}
[2023-12-18T11:53:01.367Z] @firebase/firestore: Firestore (10.7.1): SimpleDb DELETE remoteDocumentsV14 [[],"location-mati-test-EWq9ZULMSTKdZfXLkpAk",[1702900380,305300000],"C5f8R1p3IAJ1UhbiDM4I"]
[2023-12-18T11:53:01.367Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT remoteDocumentsV14 {"prefixPath":[],"collectionGroup":"location-mati-test-EWq9ZULMSTKdZfXLkpAk","documentId":"C5f8R1p3IAJ1UhbiDM4I","readTime":[1702900381,399219000],"hasCommittedMutations":false,"noDocument":{"path":["location-mati-test-EWq9ZULMSTKdZfXLkpAk","C5f8R1p3IAJ1UhbiDM4I"],"readTime":{"seconds":1702900381,"nanoseconds":399219000}}}
[2023-12-18T11:53:01.367Z] @firebase/firestore: Firestore (10.7.1): SimpleDb DELETE remoteDocumentsV14 [[],"location-mati-test-EWq9ZULMSTKdZfXLkpAk",[1702900380,305300000],"TtVS7m3H3Mxb0MfXkT9X"]
[2023-12-18T11:53:01.367Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT remoteDocumentsV14 {"prefixPath":[],"collectionGroup":"location-mati-test-EWq9ZULMSTKdZfXLkpAk","documentId":"TtVS7m3H3Mxb0MfXkT9X","readTime":[1702900381,399219000],"hasCommittedMutations":false,"noDocument":{"path":["location-mati-test-EWq9ZULMSTKdZfXLkpAk","TtVS7m3H3Mxb0MfXkT9X"],"readTime":{"seconds":1702900381,"nanoseconds":399219000}}}
[2023-12-18T11:53:01.367Z] @firebase/firestore: Firestore (10.7.1): SimpleDb DELETE remoteDocumentsV14 [[],"location-mati-test-EWq9ZULMSTKdZfXLkpAk",[1702900380,305300000],"YPYEowNwmIXnQ7ihknzr"]
[2023-12-18T11:53:01.367Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT remoteDocumentsV14 {"prefixPath":[],"collectionGroup":"location-mati-test-EWq9ZULMSTKdZfXLkpAk","documentId":"YPYEowNwmIXnQ7ihknzr","readTime":[1702900381,399219000],"hasCommittedMutations":false,"noDocument":{"path":["location-mati-test-EWq9ZULMSTKdZfXLkpAk","YPYEowNwmIXnQ7ihknzr"],"readTime":{"seconds":1702900381,"nanoseconds":399219000}}}
[2023-12-18T11:53:01.367Z] @firebase/firestore: Firestore (10.7.1): SimpleDb DELETE remoteDocumentsV14 [[],"location-mati-test-EWq9ZULMSTKdZfXLkpAk",[1702900380,305300000],"ncM9C2yFElhvfTSDvaxy"]
[2023-12-18T11:53:01.367Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT remoteDocumentsV14 {"prefixPath":[],"collectionGroup":"location-mati-test-EWq9ZULMSTKdZfXLkpAk","documentId":"ncM9C2yFElhvfTSDvaxy","readTime":[1702900381,399219000],"hasCommittedMutations":false,"document":{"name":"projects/civil-guard/databases/(default)/documents/location-mati-test-EWq9ZULMSTKdZfXLkpAk/ncM9C2yFElhvfTSDvaxy","fields":{"lng":{"doubleValue":34.992069243200326},"isCharging":{"booleanValue":false},"in_settlement":{"booleanValue":false},"source":{"stringValue":"metered_location_bg_task"},"batteryLevel":{"integerValue":"85"},"accuracy":{"doubleValue":9.127530327115704},"lat":{"doubleValue":32.78886554298709},"distance_from_settlement":{"doubleValue":79.13429689147343},"lastUpdated":{"integerValue":"1702900381316"},"location":{"mapValue":{"fields":{"lng":{"doubleValue":34.992069243200326},"lat":{"doubleValue":32.78886554298709}}}}},"updateTime":"2023-12-18T11:53:01.399219000Z","createTime":"2023-11-08T10:11:17.102245000Z"}}
[2023-12-18T11:53:01.370Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET remoteDocumentGlobal remoteDocumentGlobalKey {"byteSize":368332}
[2023-12-18T11:53:01.370Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT remoteDocumentGlobal remoteDocumentGlobalKey {"byteSize":368336}
[2023-12-18T11:53:01.371Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET documentOverlays ["EWq9ZULMSTKdZfXLkpAk-ncM9C2yFElhvfTSDvaxy","location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001","BmuvrcCGKsGfNJjIqe5j"] null
[2023-12-18T11:53:01.371Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET documentOverlays ["EWq9ZULMSTKdZfXLkpAk-ncM9C2yFElhvfTSDvaxy","location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001","C5f8R1p3IAJ1UhbiDM4I"] null
[2023-12-18T11:53:01.371Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET documentOverlays ["EWq9ZULMSTKdZfXLkpAk-ncM9C2yFElhvfTSDvaxy","location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001","TtVS7m3H3Mxb0MfXkT9X"] null
[2023-12-18T11:53:01.371Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET documentOverlays ["EWq9ZULMSTKdZfXLkpAk-ncM9C2yFElhvfTSDvaxy","location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001","YPYEowNwmIXnQ7ihknzr"] null
[2023-12-18T11:53:01.371Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET documentOverlays ["EWq9ZULMSTKdZfXLkpAk-ncM9C2yFElhvfTSDvaxy","location-mati-test-EWq9ZULMSTKdZfXLkpAk\u0001\u0001","ncM9C2yFElhvfTSDvaxy"] null
[2023-12-18T11:53:01.371Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900381371}
[2023-12-18T11:53:01.374Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Starting transaction: notifyLocalViewChanges
[2023-12-18T11:53:01.399Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900381371}
[2023-12-18T11:53:01.399Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Client '5EdXsSHkKr5JVOGviWY5' is not zombied in LocalStorage
[2023-12-18T11:53:02.206Z] @firebase/firestore: Firestore (10.7.1): AsyncQueue Visibility state changed to hidden
[2023-12-18T11:53:02.206Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Starting transaction: updateClientMetadataAndTryBecomePrimary
[2023-12-18T11:53:02.206Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900381371}
[2023-12-18T11:53:02.206Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Client '5EdXsSHkKr5JVOGviWY5' is not zombied in LocalStorage
[2023-12-18T11:53:02.206Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT clientMetadata {"clientId":"5EdXsSHkKr5JVOGviWY5","updateTimeMs":1702900382206,"networkEnabled":true,"inForeground":false}
[2023-12-18T11:53:02.237Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900381371}
[2023-12-18T11:53:02.237Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900381371}
[2023-12-18T11:53:02.237Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Client '5EdXsSHkKr5JVOGviWY5' is not zombied in LocalStorage
[2023-12-18T11:53:02.237Z] @firebase/firestore: Firestore (10.7.1): SimpleDb PUT owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900382237}
[2023-12-18T11:53:03.261Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Starting transaction: Locally write mutations
[2023-12-18T11:53:03.326Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900382237}
[2023-12-18T11:53:03.326Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Client '5EdXsSHkKr5JVOGviWY5' is not zombied in LocalStorage
[2023-12-18T11:53:03.625Z] @firebase/firestore: Firestore (10.7.1): SimpleDb Aborting transaction: Attempt to get a record from database without an in-progress transaction
[2023-12-18T11:53:03.625Z] @firebase/firestore: Firestore (10.7.1): SimpleDb Transaction failed with error: Attempt to get a record from database without an in-progress transaction Retrying: true
[2023-12-18T11:53:03.625Z] @firebase/firestore: Firestore (10.7.1): SimpleDb Opening database: firestore/[DEFAULT]/civil-guard/main
[2023-12-18T11:53:03.743Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900382237}
[2023-12-18T11:53:03.743Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Client '5EdXsSHkKr5JVOGviWY5' is not zombied in LocalStorage
[2023-12-18T11:53:03.982Z] @firebase/firestore: Firestore (10.7.1): SimpleDb Aborting transaction: Attempt to get a record from database without an in-progress transaction
[2023-12-18T11:53:03.983Z] @firebase/firestore: Firestore (10.7.1): SimpleDb Transaction failed with error: Attempt to get a record from database without an in-progress transaction Retrying: true
[2023-12-18T11:53:03.983Z] @firebase/firestore: Firestore (10.7.1): SimpleDb Opening database: firestore/[DEFAULT]/civil-guard/main
[2023-12-18T11:53:04.242Z] @firebase/firestore: Firestore (10.7.1): SimpleDb GET owner owner {"ownerId":"5EdXsSHkKr5JVOGviWY5","allowTabSynchronization":false,"leaseTimestampMs":1702900382237}
[2023-12-18T11:53:04.243Z] @firebase/firestore: Firestore (10.7.1): IndexedDbPersistence Client '5EdXsSHkKr5JVOGviWY5' is not zombied in LocalStorage
[2023-12-18T11:53:04.367Z] @firebase/firestore: Firestore (10.7.1): SimpleDb Aborting transaction: Attempt to open a cursor in database without an in-progress transaction
[2023-12-18T11:53:04.368Z] @firebase/firestore: Firestore (10.7.1): SimpleDb Transaction failed with error: Attempt to open a cursor in database without an in-progress transaction Retrying: false

Steps and code to reproduce issue

Only happens consistently at a specific user phone

He views the webapp (which resides inside a webview inside the iOS application)
He moves the app to the background, returns to the app, and it happens immediately.

I think it is similar to #6684

@matiskiba matiskiba added new A new issue that hasn't be categoirzed as question, bug or feature request question labels Dec 18, 2023
@looptheloop88 looptheloop88 added needs-attention and removed new A new issue that hasn't be categoirzed as question, bug or feature request labels Dec 18, 2023
@tom-andersen
Copy link
Contributor

Hi @matiskiba,

There was a problem with older versions of iOS. Can you confirm the version of iOS for the specific user?

The sequence in log is similar to #2232

@matiskiba
Copy link
Author

@tom-andersen sure, it is 17.1

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

4 participants