Skip to content

Folder: Implicitely start fs factories

Fixes an assertion when fetching a folder MRL before the fs factory was explicitely started (before a reload for instance)

#00 pc 0000000000083558  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 4ac85d8f66f3a910f00f4ebf4d6bcd1a)
#01 pc 00000000000838f4  /apex/com.android.runtime/lib64/bionic/libc.so (__assert2+36) (BuildId: 4ac85d8f66f3a910f00f4ebf4d6bcd1a)
#02 pc 0000000000216370  /data/app/org.videolan.vlc.debug-lXkIgOzpo3llpq9Zmm1qIw==/lib/arm64/libmla.so (medialibrary::fs::libvlc::FileSystemFactory::deviceByUuidLocked(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&)+244) (BuildId: 4ff095be2315bbf5029fa32e0a20889cd8a6f158)
#03 pc 0000000000216250  /data/app/org.videolan.vlc.debug-lXkIgOzpo3llpq9Zmm1qIw==/lib/arm64/libmla.so (medialibrary::fs::libvlc::FileSystemFactory::createDevice(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&)+52) (BuildId: 4ff095be2315bbf5029fa32e0a20889cd8a6f158)
#04 pc 00000000002607c8  /data/app/org.videolan.vlc.debug-lXkIgOzpo3llpq9Zmm1qIw==/lib/arm64/libmla.so (medialibrary::Folder::mrl() const+168) (BuildId: 4ff095be2315bbf5029fa32e0a20889cd8a6f158)
#05 pc 000000000024d6a0  /data/app/org.videolan.vlc.debug-lXkIgOzpo3llpq9Zmm1qIw==/lib/arm64/libmla.so (medialibrary::File::mrl() const+120) (BuildId: 4ff095be2315bbf5029fa32e0a20889cd8a6f158)
#06 pc 000000000011a818  /data/app/org.videolan.vlc.debug-lXkIgOzpo3llpq9Zmm1qIw==/lib/arm64/libmla.so (mediaToMediaWrapper(_JNIEnv*, fields*, std::__ndk1::shared_ptr<medialibrary::IMedia> const&)+1780) (BuildId: 4ff095be2315bbf5029fa32e0a20889cd8a6f158)
#07 pc 00000000000f2f94  /data/app/org.videolan.vlc.debug-lXkIgOzpo3llpq9Zmm1qIw==/lib/arm64/libmla.so (lastMediaPLayed(_JNIEnv*, _jobject*)+244) (BuildId: 4ff095be2315bbf5029fa32e0a20889cd8a6f158)
#08 pc 0000000000140350  /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: b3ce43562b69f2a77abd7f14a677

Merge request reports

Loading