ShazamKit SDK crash on Android

We are using ShazamKit SDK for Android and our application sometimes crashes when performing an audio recognition.

We get the following logs:

Cause: null pointer dereference

backtrace:

#00 pc 000000000000806c /data/app/lib/arm64/libsigx.so (SHAZAM_SIGX::reset()) (BuildId: 40e0b3c4250b21f23f7c4ec7d7b88f954606d914)

#01 pc 00000000000dc324 /data/app//oat/arm64/base.odex at libsigx.SHAZAM_SIGX::reset()(reset:0) at base.0xdc324(Native Method)

We are having the same issue. Did you find any solution or answer?

We get the following logs:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/p3sxeea/p3s:13/TP1A.220624.014/G998BXXS9EWI1:user/release-keys'
Revision: '22'
ABI: 'arm64'
Processor: '4'
Timestamp: 2023-10-18 10:39:21.950379765+0200
Process uptime: 148s
Cmdline: se.dby.stage
pid: 31588, tid: 31614, name: FinalizerDaemon  >>> se.dby.stage <<<
uid: 10883
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000000
Cause: null pointer dereference
    x0  0000000000000000  x1  000000005c000000  x2  b400007de0629080  x3  0000007c6f0cc5d9
    x4  0000007c50f07270  x5  000000000000004a  x6  ff284900ff302349  x7  7f7f7f7f7f7f7f7f
    x8  7c6a108a0936a508  x9  7c6a108a0936a508  x10 0000000000000178  x11 0000007c6f4e6b64
    x12 0000000000000050  x13 0000007c50f07288  x14 0000000018200101  x15 00000000ebad6a89
    x16 0000007c540e5d68  x17 0000007c5409106c  x18 0000007bfe92a000  x19 b400007de0629080
    x20 0000000000000000  x21 b400007de0629140  x22 0000007bf65aafde  x23 000000000000106e
    x24 0000007c6f200880  x25 0000007c50f07470  x26 0000007c50f07480  x27 0000007c50f07470
    x28 0000007c50f07370  x29 0000007c50f07370
    lr  0000007c6f461d58  sp  0000007c50f07360  pc  0000007c5409106c  pst 0000000060001000
backtrace:
      #00 pc 000000000000806c  /data/app/~~53UPllczqWCccyAX69voYw==/se.dby.stage-X63FkQGwx-Ecuf0UivCE5g==/base.apk!libsigx.so (SHAZAM_SIGX::reset()+0) (BuildId: 40e0b3c4250b21f23f7c4ec7d7b88f954606d914)
      #01 pc 0000000000461d54  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: 4c9b59b74ca9272f710a71137164c349)
      #02 pc 000000000020a2b0  /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 4c9b59b74ca9272f710a71137164c349)
      #03 pc 000000000034dfde  [anon:dalvik-classes.dex extracted in memory from /data/app/~~53UPllczqWCccyAX69voYw==/se.dby.stage-X63FkQGwx-Ecuf0UivCE5g==/base.apk] (b.a.a.a.h.c.a+6)
      #04 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 4c9b59b74ca9272f710a71137164c349)
      #05 pc 000000000034fa1c  [anon:dalvik-classes.dex extracted in memory from /data/app/~~53UPllczqWCccyAX69voYw==/se.dby.stage-X63FkQGwx-Ecuf0UivCE5g==/base.apk] (b.a.a.a.h.e.d.i.b+56)
      #06 pc 000000000020b074  /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: 4c9b59b74ca9272f710a71137164c349)
      #07 pc 000000000034f2f0  [anon:dalvik-classes.dex extracted in memory from /data/app/~~53UPllczqWCccyAX69voYw==/se.dby.stage-X63FkQGwx-Ecuf0UivCE5g==/base.apk] (b.a.a.a.h.e.d.c.finalize+4)
      #08 pc 000000000207baa0  /memfd:jit-cache (deleted) (java.lang.Daemons$FinalizerDaemon.doFinalize+272)
      #09 pc 000000000020a2b0  /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 4c9b59b74ca9272f710a71137164c349)
      #10 pc 000000000002a83c  /apex/com.android.art/javalib/core-libart.jar (java.lang.Daemons$FinalizerDaemon.runInternal+180)
      #11 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 4c9b59b74ca9272f710a71137164c349)
      #12 pc 000000000002a4f2  /apex/com.android.art/javalib/core-libart.jar (java.lang.Daemons$Daemon.run+50)
      #13 pc 000000000020b074  /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: 4c9b59b74ca9272f710a71137164c349)
      #14 pc 00000000000f6740  /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.run+8)
      #15 pc 000000000045836c  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+556) (BuildId: 4c9b59b74ca9272f710a71137164c349)
      #16 pc 00000000004841e4  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+156) (BuildId: 4c9b59b74ca9272f710a71137164c349)
      #17 pc 0000000000483eb0  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+400) (BuildId: 4c9b59b74ca9272f710a71137164c349)
      #18 pc 00000000005cc668  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1680) (BuildId: 4c9b59b74ca9272f710a71137164c349)
      #19 pc 00000000000b67a8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: 173441c90e5afc5b5229a361bc9d8d2d)
      #20 pc 000000000005340c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 173441c90e5afc5b5229a361bc9d8d2d)
ShazamKit SDK crash on Android
 
 
Q