Skip to content

Android 5 : Random segfaults while using JxCore Cordova  #143

@bwhisp

Description

@bwhisp

Hello,

I am using jxcore and express-pouchdb for a Cordova Android application. While the application works fine with Android 4.4 (KitKat), it makes a segfault on a Android 5 (Lollipop) smartphone.
The segfault occurs after a short period of time (withing 5mn) after enabling pouchdb synchronisation with another device because it tries to access adress 0x0 somewhere in libjxcore.so .

Here is the output ndk-stack gave me :

********** Crash dump: **********
Build fingerprint: 'motorola/peregrine_reteu/peregrine:5.1/LPB23.13-17/18:user/release-keys'
pid: 31449, tid: 31850, name: Thread-75133  >>> com.ionicframework.pouchdbsync801724 <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Stack frame #00 pc 003d1a34  /data/app/com.ionicframework.pouchdbsync801724-1/lib/arm/libjxcore.so (bool ThingIsPermanentAtom<JS::Symbol>(JS::Symbol*)+4)
Stack frame #01 pc 003d1b2c  /data/app/com.ionicframework.pouchdbsync801724-1/lib/arm/libjxcore.so
Stack frame #02 pc e5943000  <unknown>

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