macOS: Crash when switching to the Browse tab
2022-09-05 20:34:15.822 vlc-osx-static[14780:9924024] *** Assertion failure in -[_NSCollectionViewCore _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:], UICollectionView.m:7111
2022-09-05 20:34:15.844 vlc-osx-static[14780:9924024] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of items in section 0 (section 0 before update). The number of items contained in an existing section after the update (2) must be equal to the number of items contained in that section before the update (0), plus or minus the number of items inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of items moved into or out of that section (0 moved in, 0 moved out). 0 inserts and 0 deletes came from client insert and delete calls. 0 rows in this section were reloaded. Before update: 4 sections. After: 4 sections.'
*** First throw call stack:
(
0 CoreFoundation 0x00007ff8059947c3 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff8056f4bc3 objc_exception_throw + 48
2 Foundation 0x00007ff806840cf3 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 267
3 UIFoundation 0x00007ff8092b3332 __101-[_NSCollectionViewCore _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:]_block_invoke + 173
4 UIFoundation 0x00007ff8092b2ebd -[_NSCollectionViewCore _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:] + 13398
5 UIFoundation 0x00007ff8092af5d7 -[_NSCollectionViewCore _updateSections:updateAction:] + 419
6 libmacosx_plugin.dylib 0x000000010e13d7ae -[VLCMediaSourceBaseDataSource reloadDataForNotification:] + 414
7 libmacosx_plugin.dylib 0x000000010e13d3fa -[VLCMediaSourceBaseDataSource mediaSourceChildrenAdded:] + 234
8 CoreFoundation 0x00007ff80590e76c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
9 CoreFoundation 0x00007ff8059abb62 ___CFXRegistrationPost_block_invoke + 49
10 CoreFoundation 0x00007ff8059abae0 _CFXRegistrationPost + 496
11 CoreFoundation 0x00007ff8058e03a8 _CFXNotificationPost + 735
12 Foundation 0x00007ff80671e7ae -[NSNotificationCenter postNotificationName:object:userInfo:] + 82
13 libmacosx_plugin.dylib 0x000000010e13a0cc __cb_children_added_block_invoke + 92
14 libdispatch.dylib 0x00007ff80569a0cc _dispatch_call_block_and_release + 12
15 libdispatch.dylib 0x00007ff80569b317 _dispatch_client_callout + 8
16 libdispatch.dylib 0x00007ff8056a7c78 _dispatch_main_queue_drain + 943
17 libdispatch.dylib 0x00007ff8056a78bb _dispatch_main_queue_callback_4CF + 31
18 CoreFoundation 0x00007ff805956f17 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
19 CoreFoundation 0x00007ff805917fff __CFRunLoopRun + 2771
20 CoreFoundation 0x00007ff805916e6c CFRunLoopRunSpecific + 562
21 HIToolbox 0x00007ff80e5c55e6 RunCurrentEventLoopInMode + 292
22 HIToolbox 0x00007ff80e5c5213 ReceiveNextEventCommon + 283
23 HIToolbox 0x00007ff80e5c50e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
24 AppKit 0x00007ff808350fad _DPSNextEvent + 927
25 AppKit 0x00007ff80834f66a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
26 AppKit 0x00007ff808341d19 -[NSApplication run] + 586
27 vlc-osx-static 0x00000001054256aa main + 1530
28 dyld 0x00000001144ad52e start + 462
)
libc++abi: terminating with uncaught exception of type NSException
zsh: abort ./bin/vlc-osx-static