iOS beta crash: medialibrary::FsHolder::fsFactoryForMrl
This is currently our top crash during the last public beta on iOS.
An archive has been added with all the differents logs with the same/similar stack.
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001baf81bbc __psynch_mutexwait + 8
1 libsystem_pthread.dylib 0x00000001db3c1940 _pthread_mutex_firstfit_lock_wait + 80 (pthread_mutex.c:1414)
2 libsystem_pthread.dylib 0x00000001db3b8668 _pthread_mutex_firstfit_lock_slow$VARIANT$armv81 + 236 (pthread_mutex.c:1490)
3 libc++.1.dylib 0x0000000198b2ce98 std::__1::mutex::lock() + 12 (__threading_support:406)
4 VLCMediaLibraryKit 0x00000001060b9db4 medialibrary::FsHolder::fsFactoryForMrl(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const + 1236404 (FsHolder.cpp:218)
5 VLCMediaLibraryKit 0x0000000105fe3a9c medialibrary::Folder::fromMrl(medialibrary::MediaLibrary const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, medialibrary::Folder::BannedType) + 359068 (Folder.cpp:489)
6 VLCMediaLibraryKit 0x0000000105fd6274 medialibrary::File::fromMrl(medialibrary::MediaLibrary const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 303732 (File.cpp:442)
7 VLCMediaLibraryKit 0x0000000106030900 medialibrary::MediaLibrary::media(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const + 674048 (MediaLibrary.cpp:658)
8 VLCMediaLibraryKit 0x0000000105f9c644 -[VLCMediaLibrary mediaWithMrl:] + 136 (VLCMediaLibrary.m:151)
9 VLC for iOS 0x0000000104a0f174 MediaLibraryService.fetchMedia(with:) + 220 (MediaLibraryService.swift:389)
10 VLC for iOS 0x0000000104a0f288 @objc MediaLibraryService.fetchMedia(with:) + 204 (<compiler-generated>:0)
11 VLC for iOS 0x0000000104a2e21c 0x104944000 + 959004 (QueueViewController.swift:576)
12 VLC for iOS 0x0000000104a2e410 @objc QueueViewController.collectionView(_:cellForItemAt:) + 140 (<compiler-generated>:0)
13 UIKitCore 0x0000000184010648 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 1132 (UICollectionView.m:2938)
14 UIKitCore 0x0000000183f11774 -[UICollectionView _updateVisibleCellsNow:] + 4168 (UICollectionView.m:4506)
15 UIKitCore 0x0000000183e68b34 -[UICollectionView layoutSubviews] + 316 (UICollectionView.m:5217)
16 UIKitCore 0x0000000183e7ab98 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2584 (UIView.m:18320)
17 QuartzCore 0x00000001854e4c4c CA::Layer::layout_if_needed(CA::Transaction*) + 532 (CALayer.mm:10036)
18 UIKitCore 0x0000000183edd15c -[UIView(Hierarchy) layoutBelowIfNeeded] + 524 (UIView.m:12809)
19 VLC for iOS 0x0000000104a2ab84 0x104944000 + 945028 (QueueViewController.swift:183)
20 VLC for iOS 0x0000000104a2ad44 @objc QueueViewController.didMove(toParent:) + 52 (<compiler-generated>:0)
21 VLC for iOS 0x00000001049ba368 -[VLCPlayerDisplayController _showHideMiniPlaybackView] + 1904 (VLCPlayerDisplayController.m:349)
22 VLC for iOS 0x00000001049b95ac -[VLCPlayerDisplayController playbackDidStart:] + 244 (VLCPlayerDisplayController.m:0)
23 CoreFoundation 0x00000001819c0c5c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20 (CFNotificationCenter.c:652)
24 CoreFoundation 0x0000000181a55564 ___CFXRegistrationPost_block_invoke + 48 (CFNotificationCenter.c:173)
25 CoreFoundation 0x0000000181a2ab44 _CFXRegistrationPost + 416 (CFNotificationCenter.c:199)
26 CoreFoundation 0x00000001819d5764 _CFXNotificationPost + 696 (CFNotificationCenter.c:1147)
27 Foundation 0x00000001830f6c98 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92 (NSNotification.m:560)
28 VLC for iOS 0x0000000104962984 -[VLCPlaybackService _playNewMedia] + 900 (VLCPlaybackService.m:301)
29 VLC for iOS 0x00000001049625c0 -[VLCPlaybackService startPlayback] + 1464 (VLCPlaybackService.m:250)
30 VLC for iOS 0x0000000104961fe0 -[VLCPlaybackService playMediaList:firstIndex:subtitlesFilePath:completion:] + 188 (VLCPlaybackService.m:0)
31 VLC for iOS 0x00000001049a01c8 -[VLCOpenNetworkStreamViewController _openURLStringAndDismiss:] + 552 (VLCOpenNetworkStreamViewController.m:413)
32 VLC for iOS 0x000000010499ef24 -[VLCOpenNetworkStreamViewController openButtonAction:] + 968 (VLCOpenNetworkStreamViewController.m:251)
33 UIKitCore 0x000000018419c4d0 -[UIApplication sendAction:to:from:forEvent:] + 96 (UIApplication.m:5327)
34 UIKitCore 0x00000001842be174 -[UIControl sendAction:to:forEvent:] + 124 (UIControl.m:871)
35 UIKitCore 0x0000000184050234 -[UIControl _sendActionsForEvents:withEvent:] + 348 (UIControl.m:942)
36 UIKitCore 0x00000001840e6d98 -[UIButton _sendActionsForEvents:withEvent:] + 156 (UIButton.m:4128)
37 UIKitCore 0x0000000184362964 -[UIControl touchesEnded:withEvent:] + 532 (UIControl.m:637)
38 UIKitCore 0x0000000183e608dc -[UIWindow _sendTouchesForEvent:] + 1228 (UIWindow.m:2988)
39 UIKitCore 0x0000000183e9079c -[UIWindow sendEvent:] + 4392 (UIWindow.m:3288)
40 UIKitCore 0x00000001840351d0 -[UIApplication sendEvent:] + 896 (UIApplication.m:11831)
41 UIKit 0x00000001db61874c -[UIApplicationAccessibility sendEvent:] + 96 (UIApplicationAccessibility.m:3111)
42 UIKitCore 0x0000000183e653f0 __dispatchPreprocessedEventFromEventQueue + 8124 (UIEventDispatcher.m:2290)
43 UIKitCore 0x0000000183e5a1a0 __processEventQueue + 6748 (UIEventDispatcher.m:2597)
44 UIKitCore 0x0000000183e5f6cc __eventFetcherSourceCallback + 168 (UIEventDispatcher.m:2669)
45 CoreFoundation 0x0000000181a4a220 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1972)
46 CoreFoundation 0x0000000181a5a248 __CFRunLoopDoSource0 + 204 (CFRunLoop.c:2016)
47 CoreFoundation 0x000000018199d5e8 __CFRunLoopDoSources0 + 256 (CFRunLoop.c:2053)
48 CoreFoundation 0x00000001819a2a18 __CFRunLoopRun + 768 (CFRunLoop.c:2951)
49 CoreFoundation 0x00000001819b5d8c CFRunLoopRunSpecific + 572 (CFRunLoop.c:3268)
50 GraphicsServices 0x000000019bac29a0 GSEventRunModal + 160 (GSEvent.c:2200)
51 UIKitCore 0x00000001841eb018 -[UIApplication _run] + 1080 (UIApplication.m:3457)
52 UIKitCore 0x0000000183f7f29c UIApplicationMain + 2060 (UIApplication.m:5013)
53 VLC for iOS 0x0000000104994500 main + 88 (main.m:20)
54 dyld 0x0000000105a84190 start + 444 (dyldMain.cpp:876)
medialibrary hash: 5c74aacc