Skip to content

MacOS ui: Random exception when starting VLC with a video

[1]    73166 abort      ./build-native/bin/vlc-osx-static ~/360_HIGHLINE_VEN.mp4 --no-audio -vv
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSViewBackingLayer count]: unrecognized selector sent to instance 0x60000097f780'
*** First throw call stack:
(
        0   CoreFoundation                      0x0000000198b372ec __exceptionPreprocess + 176
        1   libobjc.A.dylib                     0x000000019861e788 objc_exception_throw + 60
        2   CoreFoundation                      0x0000000198be956c -[NSObject(NSObject) __retain_OA] + 0
        3   CoreFoundation                      0x0000000198aa0f3c ___forwarding___ + 1580
        4   CoreFoundation                      0x0000000198aa0850 _CF_forwarding_prep_0 + 96
        5   libmacosx_plugin.dylib              0x0000000107b2f724 -[VLCLibraryHomeViewVideoContainerViewDataSource numberOfItemsInCarousel:] + 68
        6   libmacosx_plugin.dylib              0x0000000107ba5ec4 -[iCarousel reloadData] + 324
        7   libmacosx_plugin.dylib              0x0000000107b2ea14 __60-[VLCLibraryHomeViewVideoContainerViewDataSource reloadData]_block_invoke_2 + 76
        8   libdispatch.dylib                   0x0000000198830750 _dispatch_call_block_and_release + 32
        9   libdispatch.dylib                   0x00000001988323e8 _dispatch_client_callout + 20
        10  libdispatch.dylib                   0x0000000198840bb8 _dispatch_main_queue_drain + 988
        11  libdispatch.dylib                   0x00000001988407cc _dispatch_main_queue_callback_4CF + 44
        12  CoreFoundation                      0x0000000198b03ad4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
        13  CoreFoundation                      0x0000000198ac1258 __CFRunLoopRun + 1996
        14  CoreFoundation                      0x0000000198ac0434 CFRunLoopRunSpecific + 608
        15  HIToolbox                           0x00000001a326419c RunCurrentEventLoopInMode + 292
        16  HIToolbox                           0x00000001a3263fd8 ReceiveNextEventCommon + 648
        17  HIToolbox                           0x00000001a3263d30 _BlockUntilNextEventMatchingListInModeWithFilter + 76
        18  AppKit                              0x000000019c31fd68 _DPSNextEvent + 660
        19  AppKit                              0x000000019cb15808 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700
        20  AppKit                              0x000000019c31309c -[NSApplication run] + 476
        21  libmacosx_plugin.dylib              0x0000000107b4a670 __OpenIntf_block_invoke + 300
        22  CoreFoundation                      0x0000000198ac2070 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
        23  CoreFoundation                      0x0000000198ac1f84 __CFRunLoopDoBlocks + 356
        24  CoreFoundation                      0x0000000198ac1414 __CFRunLoopRun + 2440
        25  CoreFoundation                      0x0000000198ac0434 CFRunLoopRunSpecific + 608
        26  CoreFoundation                      0x0000000198b3e45c CFRunLoopRun + 64
        27  vlc-osx-static                      0x0000000104b83080 main + 1012
        28  dyld                                0x000000019865a0e0 start + 2360
)
libc++abi: terminating due to uncaught exception of type NSException

Report:

0   libsystem_kernel.dylib        	       0x1989aaa60 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x1989e2c20 pthread_kill + 288
2   libsystem_c.dylib             	       0x1988efa30 abort + 180
3   libc++abi.dylib               	       0x198999d08 abort_message + 132
4   libc++abi.dylib               	       0x198989fc0 demangling_terminate_handler() + 348
5   libobjc.A.dylib               	       0x1986281d0 _objc_terminate() + 144
6   libc++abi.dylib               	       0x1989990cc std::__terminate(void (*)()) + 16
7   libc++abi.dylib               	       0x19899c348 __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 88
8   libc++abi.dylib               	       0x19899c28c __cxa_throw + 308
9   libobjc.A.dylib               	       0x19861e8f0 objc_exception_throw + 420
10  CoreFoundation                	       0x198be956c -[NSObject(NSObject) doesNotRecognizeSelector:] + 344
11  CoreFoundation                	       0x198aa0f3c ___forwarding___ + 1580
12  CoreFoundation                	       0x198aa0850 _CF_forwarding_prep_0 + 96
13  libmacosx_plugin.dylib        	       0x107b2f724 -[VLCLibraryHomeViewVideoContainerViewDataSource numberOfItemsInCarousel:] + 68 (VLCLibraryHomeViewVideoContainerViewDataSource.m:397)
14  libmacosx_plugin.dylib        	       0x107ba5ec4 -[iCarousel reloadData] + 324 (iCarousel.m:1359)
15  libmacosx_plugin.dylib        	       0x107b2ea14 __60-[VLCLibraryHomeViewVideoContainerViewDataSource reloadData]_block_invoke_2 + 76 (VLCLibraryHomeViewVideoContainerViewDataSource.m:206)
16  libdispatch.dylib             	       0x198830750 _dispatch_call_block_and_release + 32
17  libdispatch.dylib             	       0x1988323e8 _dispatch_client_callout + 20
18  libdispatch.dylib             	       0x198840bb8 _dispatch_main_queue_drain + 988
19  libdispatch.dylib             	       0x1988407cc _dispatch_main_queue_callback_4CF + 44
20  CoreFoundation                	       0x198b03ad4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
21  CoreFoundation                	       0x198ac1258 __CFRunLoopRun + 1996
22  CoreFoundation                	       0x198ac0434 CFRunLoopRunSpecific + 608
23  HIToolbox                     	       0x1a326419c RunCurrentEventLoopInMode + 292
24  HIToolbox                     	       0x1a3263fd8 ReceiveNextEventCommon + 648
25  HIToolbox                     	       0x1a3263d30 _BlockUntilNextEventMatchingListInModeWithFilter + 76
26  AppKit                        	       0x19c31fd68 _DPSNextEvent + 660
27  AppKit                        	       0x19cb15808 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700
28  AppKit                        	       0x19c31309c -[NSApplication run] + 476
29  libmacosx_plugin.dylib        	       0x107b4a670 __OpenIntf_block_invoke + 300 (VLCMain.m:187)
30  CoreFoundation                	       0x198ac2070 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
31  CoreFoundation                	       0x198ac1f84 __CFRunLoopDoBlocks + 356
32  CoreFoundation                	       0x198ac1414 __CFRunLoopRun + 2440
33  CoreFoundation                	       0x198ac0434 CFRunLoopRunSpecific + 608
34  CoreFoundation                	       0x198b3e45c CFRunLoopRun + 64
35  vlc-osx-static                	       0x104b83080 main + 1012 (darwinvlc.m:309)
36  dyld                          	       0x19865a0e0 start + 2360
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information