Skip to content

Macosx: playlist crash when running mock://

Adding from rc:

mock://video_track_count=1;length=1000000000000000;video_chroma=I411

or launching

./build-macosx/bin/vlc-osx-static -vv -A dummy file:///Users/unidan/IMG_77435052.MOV 'mock://video_track_count=1;length=1000000000000000;video_chroma=I411'

Crash at:

* thread #31, queue = 'com.apple.root.user-interactive-qos', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
    frame #0: 0x00007ff80932202e CoreFoundation`CFRelease.cold.1 + 14
CoreFoundation`CFRelease.cold.1:
->  0x7ff80932202e <+14>: ud2

CoreFoundation`:
    0x7ff809322030 <+0>:  leaq   0x18d551(%rip), %rax      ; "*** __CFStringCollectionCopy() called with NULL ***"
    0x7ff809322037 <+7>:  movq   %rax, 0x41b3a7fa(%rip)    ; gCRAnnotations + 8
    0x7ff80932203e <+14>: ud2
Target 0: (vlc-osx-static) stopped.
(lldb) bt
* thread #20, queue = 'com.apple.root.user-interactive-qos', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
  * frame #0: 0x00007ff80932202e CoreFoundation`CFRelease.cold.1 + 14
    frame #1: 0x00007ff80915ed0a CoreFoundation`CFRelease + 160
    frame #2: 0x0000000102cace92 libmacosx_plugin.dylib`+[NSImage(self=NSImage, _cmd="quickLookPreviewForLocalURL:withSize:", url=0x0000000000000000, size=(width = 512, height = 512)) quickLookPreviewForLocalURL:withSize:] at NSImage+VLCAdditions.m:46:5
    frame #3: 0x0000000102cacce7 libmacosx_plugin.dylib`+[NSImage(self=NSImage, _cmd="quickLookPreviewForLocalPath:withSize:", path=@"", size=(width = 512, height = 512)) quickLookPreviewForLocalPath:withSize:] at NSImage+VLCAdditions.m:32:12
    frame #4: 0x0000000102cb8eac libmacosx_plugin.dylib`-[VLCInputItem thumbnailWithSize:](self=0x0000600000219fe0, _cmd="thumbnailWithSize:", size=(width = 512, height = 512)) at VLCInputItem.m:607:21
    frame #5: 0x0000000102cc87ce libmacosx_plugin.dylib`-[VLCLibraryImageCache generateImageForInputItem:](self=0x000060000021a960, _cmd="generateImageForInputItem:", inputItem=0x0000600000219fe0) at VLCLibraryImageCache.m:138:17
    frame #6: 0x0000000102cc8689 libmacosx_plugin.dylib`-[VLCLibraryImageCache imageForInputItem:](self=0x000060000021a960, _cmd="imageForInputItem:", inputItem=0x0000600000219fe0) at VLCLibraryImageCache.m:124:12
    frame #7: 0x0000000102cc892b libmacosx_plugin.dylib`+[VLCLibraryImageCache thumbnailForPlaylistItem:](self=VLCLibraryImageCache, _cmd="thumbnailForPlaylistItem:", playlistItem=0x00006000017a5d80) at VLCLibraryImageCache.m:150:12
    frame #8: 0x0000000102d69ce2 libmacosx_plugin.dylib`__55-[VLCPlaylistTableCellView setRepresentedPlaylistItem:]_block_invoke(.block_descriptor=0x0000600000cdcb10) at VLCPlaylistTableCellView.m:72:26
    frame #9: 0x00007ff808f767fb libdispatch.dylib`_dispatch_call_block_and_release + 12
    frame #10: 0x00007ff808f77a44 libdispatch.dylib`_dispatch_client_callout + 8
    frame #11: 0x00007ff808f877f6 libdispatch.dylib`_dispatch_root_queue_drain + 683
    frame #12: 0x00007ff808f87e4d libdispatch.dylib`_dispatch_worker_thread2 + 160
    frame #13: 0x00007ff8090f3c9d libsystem_pthread.dylib`_pthread_wqthread + 256
    frame #14: 0x00007ff8090f2c67 libsystem_pthread.dylib`start_wqthread + 15

No crash at

./build-macosx/bin/vlc-osx-static -vv -A dummy file:///Users/unidan/IMG_77435052.MOV
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information