Crash when setting an external libvlc instance
07-13 13:31:30.000 4798 4798 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-13 13:31:30.000 4798 4798 F DEBUG : Build fingerprint: 'google/taimen/taimen:11/RP1A.201005.004.A1/6934943:user/release-keys'
07-13 13:31:30.000 4798 4798 F DEBUG : Revision: 'rev_10'
07-13 13:31:30.000 4798 4798 F DEBUG : ABI: 'arm64'
07-13 13:31:30.001 4798 4798 F DEBUG : Timestamp: 2021-07-13 13:31:29+0200
07-13 13:31:30.001 4798 4798 F DEBUG : pid: 30966, tid: 30966, name: main >>> org.videolan.vlc.debug <<<
07-13 13:31:30.001 4798 4798 F DEBUG : uid: 10323
07-13 13:31:30.001 4798 4798 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x28
07-13 13:31:30.001 4798 4798 F DEBUG : Cause: null pointer dereference
07-13 13:31:30.001 4798 4798 F DEBUG : x0 0000000000000000 x1 0000000000000000 x2 0000000000000000 x3 0000000000000100
07-13 13:31:30.001 4798 4798 F DEBUG : x4 0000000000000010 x5 0000000000000000 x6 0000000000000000 x7 0000007fd69faa90
07-13 13:31:30.001 4798 4798 F DEBUG : x8 0000000000000000 x9 0000000000000001 x10 0000000000004001 x11 0000000000000000
07-13 13:31:30.001 4798 4798 F DEBUG : x12 0000000000000000 x13 000000780158d690 x14 0000000000000000 x15 00367ee0b53fb2ec
07-13 13:31:30.001 4798 4798 F DEBUG : x16 00000076fd8bebb0 x17 00000076fb99ab50 x18 0000007a0740c000 x19 00000077e15e5090
07-13 13:31:30.001 4798 4798 F DEBUG : x20 00000078115a08d0 x21 0000007a06aab000 x22 0000007a06aab000 x23 00000078e1570868
07-13 13:31:30.001 4798 4798 F DEBUG : x24 0000007755b7e378 x25 0000007a06aab000 x26 0000000000000042 x27 0000000000000003
07-13 13:31:30.001 4798 4798 F DEBUG : x28 0000007fd69fad20 x29 0000007fd69fab30
07-13 13:31:30.001 4798 4798 F DEBUG : lr 00000076fb9768e8 sp 0000007fd69fab20 pc 00000076fb99ab5c pst 0000000080000000
07-13 13:31:30.383 4798 4798 F DEBUG : backtrace:
07-13 13:31:30.383 4798 4798 F DEBUG : #00 pc 0000000000754b5c /data/app/~~kziHFWTeqyyzTXda2-8WUg==/org.videolan.vlc.debug-46NYJJRC5YqqPXoB0ju5Yw==/lib/arm64/libvlc.so (vlc_sd_Destroy+12) (BuildId: b86e8a82bff3d44ee75df1f3b464a5afaeade5c3)
07-13 13:31:30.383 4798 4798 F DEBUG : #01 pc 00000000007308e4 /data/app/~~kziHFWTeqyyzTXda2-8WUg==/org.videolan.vlc.debug-46NYJJRC5YqqPXoB0ju5Yw==/lib/arm64/libvlc.so (libvlc_media_discoverer_stop+88) (BuildId: b86e8a82bff3d44ee75df1f3b464a5afaeade5c3)
07-13 13:31:30.383 4798 4798 F DEBUG : #02 pc 0000000000497dd4 /data/app/~~kziHFWTeqyyzTXda2-8WUg==/org.videolan.vlc.debug-46NYJJRC5YqqPXoB0ju5Yw==/lib/arm64/libmla.so (VLC::MediaDiscoverer::stop()+24) (BuildId: b2255f893c87e3511a011495954041397789281c)
07-13 13:31:30.383 4798 4798 F DEBUG : #03 pc 000000000049678c /data/app/~~kziHFWTeqyyzTXda2-8WUg==/org.videolan.vlc.debug-46NYJJRC5YqqPXoB0ju5Yw==/lib/arm64/libmla.so (medialibrary::fs::libvlc::DeviceLister::stop()+100) (BuildId: b2255f893c87e3511a011495954041397789281c)
07-13 13:31:30.383 4798 4798 F DEBUG : #04 pc 0000000000489394 /data/app/~~kziHFWTeqyyzTXda2-8WUg==/org.videolan.vlc.debug-46NYJJRC5YqqPXoB0ju5Yw==/lib/arm64/libmla.so (medialibrary::fs::libvlc::FileSystemFactory::stop()+128) (BuildId: b2255f893c87e3511a011495954041397789281c)
07-13 13:31:30.383 4798 4798 F DEBUG : #05 pc 0000000000299010 /data/app/~~kziHFWTeqyyzTXda2-8WUg==/org.videolan.vlc.debug-46NYJJRC5YqqPXoB0ju5Yw==/lib/arm64/libmla.so (medialibrary::MediaLibrary::setExternalLibvlcInstance(libvlc_instance_t*)+572) (BuildId: b2255f893c87e3511a011495954041397789281c)
07-13 13:31:30.383 4798 4798 F DEBUG : #06 pc 0000000000262ee0 /data/app/~~kziHFWTeqyyzTXda2-8WUg==/org.videolan.vlc.debug-46NYJJRC5YqqPXoB0ju5Yw==/lib/arm64/libmla.so (AndroidMediaLibrary::setLibvlcInstance(libvlc_instance_t*)+44) (BuildId: b2255f893c87e3511a011495954041397789281c)
07-13 13:31:30.383 4798 4798 F DEBUG : #07 pc 0000000000243978 /data/app/~~kziHFWTeqyyzTXda2-8WUg==/org.videolan.vlc.debug-46NYJJRC5YqqPXoB0ju5Yw==/lib/arm64/libmla.so (setLibVLCInstance(_JNIEnv*, _jobject*, long)+52) (BuildId: b2255f893c87e3511a011495954041397789281c)