Skip to content

Unhandled Exception in DB Instantiation #66

@KennethRichards

Description

@KennethRichards

Hi PS team,

I am seeing this crash occur in our production environment.
It has only happened once so far.

Thanks!

PowerSync SDK verison: 1.1.0
iOS version: 16.6.1 iPhone 11

Crashed: com.apple.main-thread
0  libsystem_kernel.dylib         0x7578 __pthread_kill + 8
1  libsystem_pthread.dylib        0x7118 pthread_kill + 268
2  libsystem_c.dylib              0x1d178 abort + 180
3  MyApp                          0xfbf764 ReportBacktraceToIosCrashLog(ObjHeader*) + 4324243300
4  MyApp                          0xfbf684 void (anonymous namespace)::$_0::operator()<(anonymous namespace)::terminateWithUnhandledException(ObjHeader*)::$_1>((anonymous namespace)::terminateWithUnhandledException(ObjHeader*)::$_1) + 4324243076
5  MyApp                          0xfbf47c (anonymous namespace)::TerminateHandler::queuedHandler() + 4324242556
6  MyApp                          0xfbf468 (anonymous namespace)::processUnhandledException(ObjHeader*) + 4324242536
7  MyApp                          0xfcbd1c kotlin::ProcessUnhandledException(ObjHeader*) + 43432
8  MyApp                          0xfd61a0 Kotlin_ObjCExport_trapOnUndeclaredException + 85548
9  MyApp                          0xfa00ec objc2kotlin_kfun:com.powersync#PowerSyncDatabase__Skie_DefaultArguments__5(com.powersync.DatabaseDriverFactory;com.powersync.db.schema.Schema;kotlin.String;co.touchlab.kermit.Logger?){}com.powersync.PowerSyncDatabase + 1 (PowerSyncDatabaseFactory.kt:1)
10 MyApp                          0xfe60e8 PowerSyncDatabase(factory:schema:dbFilename:logger:) + 63 (Core.PowerSyncDatabaseFactoryKt.swift:63)
11 MyApp                          0x7ce25c specialized KotlinPowerSyncDatabaseImpl.init(schema:dbFilename:logger:) + 17 (KotlinPowerSyncDatabaseImpl.swift:17)
12 MyApp                          0x7d8164 PowerSyncDatabase(schema:dbFilename:logger:) + 4315955556 (DatabaseLogger.swift:4315955556)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions