Skip to content

Fatal Exception: FirebaseDatabasePersistenceFailure #4493

@mozeryansky

Description

@mozeryansky
  • Xcode version: 11.1, iOS 13
  • Firebase SDK version: 6.10.0
  • Firebase Component: Analytics, Database, RemoteConfig

We're getting crashe almost immediately at startup since updating to 6.10.0. We use background bluetooth and it appears the crashes all were launches were due to bluetooth restoration.

Fatal Exception: FirebaseDatabasePersistenceFailure
0  CoreFoundation                 0x18dc3580c __exceptionPreprocess
1  libobjc.A.dylib                0x18d95dfa4 objc_exception_throw
2  MyFirebaseFramework    0x100e5df5c -[FLevelDBStorageEngine saveUserOverwrite:atPath:writeId:]
3  MyFirebaseFramework    0x100e5d92c -[FLevelDBStorageEngine openDatabases]
4  MyFirebaseFramework    0x100e5ceb8 -[FLevelDBStorageEngine initWithPath:]
5  MyFirebaseFramework    0x100e77f88 -[FRepo deferredInit]
6  libdispatch.dylib              0x18d902610 _dispatch_call_block_and_release
7  libdispatch.dylib              0x18d903184 _dispatch_client_callout
8  libdispatch.dylib              0x18d8af404 _dispatch_lane_serial_drain$VARIANT$mp
9  libdispatch.dylib              0x18d8afdf8 _dispatch_lane_invoke$VARIANT$mp
10 libdispatch.dylib              0x18d8b9314 _dispatch_workloop_worker_thread
11 libsystem_pthread.dylib        0x18d952f88 _pthread_wqthread
12 libsystem_pthread.dylib        0x18d955ad4 start_wqthread
Error initializing persistence: Error Domain=APLevelDBErrorDomain Code=0 "IO error: /var/mobile/Containers/Data/Application/B6E374D0-D5FD-478F-9CBB-26E73BA794C3/Documents/firebase/log/xxxxx.firebaseio.com_xxxxx/server_data/MANIFEST-000001: Operation not permitted" UserInfo={NSLocalizedDescription=IO error: /var/mobile/Containers/Data/Application/B6E374D0-D5FD-478F-9CBB-26E73BA794C3/Documents/firebase/log/xxxxx.firebaseio.com_xxxxx/server_data/MANIFEST-000001: Operation not permitted}

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions