Crash with Push notif extension at 1st usage

Hello,

Defold 1.2.174
Android 9.0.1
Push extension https://github.com/defold/extension-push/archive/2.0.0.zip

When opening the app for the 1st time, I get the following crash with the dump:

Build fingerprint: 'HUAWEI/ANE-LX1/HWANE:9/HUAWEIANE:user/release-keys'
Revision: '0'
ABI: 'arm64'
Happend: 'Mon Oct 19 13:47:47 2020'
SYSVMTYPE: Art
APPVMTYPE: Art
pid: 19398, tid: 19435, name: NativeThread  >>> com.myapp.myapp <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x28
Cause: null pointer dereference

    x0  0000000000000000  x1  0000000000000000  x2  0000000000000000  x3  fffffffffffffffb
    x4  0000000000005f5f  x5  0000000000000013  x6  6b686044ff5e5e73  x7  7f7f7f7f7f7f7f7f
    x8  0000000000000000  x9  00000076b490e403  x10 00000076b490e52c  x11 00000076b4fc11a0
    x12 0000000000000001  x13 0000000000000000  x14 0001efe91033a90a  x15 000024db86ca9283
    x16 00000076b49ed2d0  x17 00000076b47c5768  x18 00000076b680fc93  x19 0000000000000000
    x20 00000076b4fc11a0  x21 00000076b6e0afe0  x22 00000076b4a085d0  x23 00000076b4938136
    x24 00000076b4938fef  x25 000000000000000a  x26 0000000000000001  x27 0000000000000000
    x28 0000007ff10f3db0  x29 00000076b4fc14b0
    sp  00000076b4fc1140  lr  00000076b47a6234  pc  00000076b47c5768
backtrace:
    #00 pc 00000000001c5768  /data/app/com.myapp.app-9Bbx-AolDmUu9wPH-rerWg==/lib/arm64/libMyapp.so (lua_gettop)
    #01 pc 00000000001a6230  /data/app/com.myapp.app-9Bbx-AolDmUu9wPH-rerWg==/lib/arm64/libMyapp.so
    #02 pc 0000000000080634  /data/app/com.myapp.app-9Bbx-AolDmUu9wPH-rerWg==/lib/arm64/libMyapp.so
    #03 pc 0000000000080558  /data/app/com.myapp.app-9Bbx-AolDmUu9wPH-rerWg==/lib/arm64/libMyapp.so
    #04 pc 0000000000080c98  /data/app/com.myapp.app-9Bbx-AolDmUu9wPH-rerWg==/lib/arm64/libMyapp.so
    #05 pc 000000000007f274  /data/app/com.myapp.app-9Bbx-AolDmUu9wPH-rerWg==/lib/arm64/libMyapp.so
    #06 pc 00000000001a8de8  /data/app/com.myapp.app-9Bbx-AolDmUu9wPH-rerWg==/lib/arm64/libMyapp.so
    #07 pc 00000000001a42b8  /data/app/com.myapp.app-9Bbx-AolDmUu9wPH-rerWg==/lib/arm64/libMyapp.so
    #08 pc 000000000006b658  /data/app/com.myapp.app-9Bbx-AolDmUu9wPH-rerWg==/lib/arm64/libMyapp.so
    #09 pc 000000000006c4fc  /data/app/com.myapp.app-9Bbx-AolDmUu9wPH-rerWg==/lib/arm64/libMyapp.so
    #10 pc 0000000000068cb4  /data/app/com.myapp.app-9Bbx-AolDmUu9wPH-rerWg==/lib/arm64/libMyapp.so
    #11 pc 0000000000068c38  /data/app/com.myapp.app-9Bbx-AolDmUu9wPH-rerWg==/lib/arm64/libMyapp.so
    #12 pc 00000000002272e8  /data/app/com.myapp.app-9Bbx-AolDmUu9wPH-rerWg==/lib/arm64/libMyapp.so
    #13 pc 0000000000083588  /system/lib64/libc.so (__pthread_start(void*)+36)
    #14 pc 00000000000241dc  /system/lib64/libc.so (__start_thread+68)

From the 2d time onwards, the app will open just fine.

Any idea as to how to fix it?

Thanks

Not sure, but I can help investigate the issue. Please create a ticket in the extension-push repository, adding as much context as possible, including steps-to-reproduce or even better a minimal repro case.