Skip to content

macosx: Fix assert in audio artist view

Ankit Meel requested to merge ankitm/vlc:fix/audio_artist_assert into master
2024-03-25 05:45:26.343517+0530 vlc-osx-static[12026:2028980] *** Assertion failure in -[VLCLibraryAudioViewController presentPlaceholderAudioView], VLCLibraryAudioViewController.m:360
2024-03-25 05:45:26.349972+0530 vlc-osx-static[12026:2028980] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Received invalid audio library segment from audio data source!'
*** First throw call stack:
(
        0   CoreFoundation                      0x00000001912aeccc __exceptionPreprocess + 176
        1   libobjc.A.dylib                     0x0000000190d96788 objc_exception_throw + 60
        2   Foundation                          0x000000019241fc6c -[NSCalendarDate initWithCoder:] + 0
        3   libmacosx_plugin.dylib              0x0000000108f83338 -[VLCLibraryAudioViewController presentPlaceholderAudioView] + 912
        4   libmacosx_plugin.dylib              0x0000000108f83f0c -[VLCLibraryAudioViewController updatePresentedView] + 112
        5   libmacosx_plugin.dylib              0x0000000108f84088 -[VLCLibraryAudioViewController setCurrentSegmentType:] + 56
        6   libmacosx_plugin.dylib              0x0000000108f5a914 -[VLCLibraryWindow showAudioLibrary] + 168
        7   libmacosx_plugin.dylib              0x0000000108f59560 -[VLCLibraryWindow setViewForSelected
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Received invalid audio library segment from audio data source!'
*** First throw call stack:
(
        0   CoreFoundation                      0x00000001912aeccc __exceptionPreprocess + 176
        1   libobjc.A.dylib                     0x0000000190d96788 objc_exception_throw + 60
        2   Foundation                          0x000000019241fc6c -[NSCalendarDate initWithCoder:] + 0
        3   libmacosx_plugin.dylib              0x0000000108f83338 -[VLCLibraryAudioViewController presentPlaceholderAudioView] + 912
        4   libmacosx_plugin.dylib              0x0000000108f83f0c -[VLCLibraryAudioViewController updatePresentedView] + 112
        5   libmacosx_plugin.dylib              0x0000000108f84088 -[VLCLibraryAudioViewController setCurrentSegmentType:] + 56
        6   libmacosx_plugin.dylib              0x0000000108f5a914 -[VLCLibraryWindow showAudioLibrary] + 168
        7   libmacosx_plugin.dylib              0x0000000108f59560 -[VLCLibraryWindow setViewForSelectedSegment] + 148
        8   libmacosx_plugin.dylib              0x0000000108f59620 -[VLCLibraryWindow setLibrarySegmentType:] + 104
        9   libmacosx_plugin.dylib              0x0000000108f61914 -[VLCLibraryWindowNavigationSidebarController outlineViewSelectionDidChange:] + 312
        10  CoreFoundation                      0x000000019122eb1c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
        11  CoreFoundation                      0x00000001912c2db8 ___CFXRegistrationPost_block_invoke + 88
        12  CoreFoundation                      0x00000001912c2d00 _CFXRegistrationPost + 440
        13  CoreFoundation                      0x00000001911fd648 _CFXNotificationPost + 768
        14  Foundation                          0x0000000192319464 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
        15  AppKit                              0x0000000194b80e08 -[NSTableView _sendSelectionChangedNotificationForRows:columns:] + 200
        16  AppKit                              0x0000000194d3559c -[NSTableView mouseDown:] + 3856
        17  AppKit                              0x0000000194d3450c -[NSOutlineView mouseDown:] + 76
        18  AppKit                              0x0000000194c3099c -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 3472
        19  AppKit                              0x0000000194bbbf78 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 364
        20  AppKit                              0x0000000194bbbc38 -[NSWindow(NSEventRouting) sendEvent:] + 284
        21  AppKit                              0x0000000195281e70 -[NSApplication(NSEventRouting) sendEvent:] + 1604
        22  AppKit                              0x0000000194ecf8cc -[NSApplication _handleEvent:] + 60
        23  AppKit                              0x0000000194a83cdc -[NSApplication run] + 512
        24  vlc-osx-static                      0x00000001000032f8 main + 1780
        25  dyld                                0x0000000190dd20e0 start + 2360
)
2024-03-25 05:45:26.350775+0530 vlc-osx-static[12026:2028980] [General] An uncaught exception was raised
2024-03-25 05:45:26.350919+0530 vlc-osx-static[12026:2028980] [General] Received invalid audio library segment from audio data source!
2024-03-25 05:45:26.351067+0530 vlc-osx-static[12026:2028980] [General] (
        0   CoreFoundation                      0x00000001912aeccc __exceptionPreprocess + 176
        1   libobjc.A.dylib                     0x0000000190d96788 objc_exception_throw + 60
        2   Foundation                          0x000000019241fc6c -[NSCalendarDate initWithCoder:] + 0
        3   libmacosx_plugin.dylib              0x0000000108f83338 -[VLCLibraryAudioViewController presentPlaceholderAudioView] + 912
        4   libmacosx_plugin.dylib              0x0000000108f83f0c -[VLCLibraryAudioViewController updatePresentedView] + 112
        5   libmacosx_plugin.dylib              0x0000000108f84088 -[VLCLibraryAudioViewController setCurrentSegmentType:] + 56
VLC media player 4.0.0-dev Otto Chriek (revision 4.0.0-dev-28252-g5514572ec9)
Edited by Ankit Meel

Merge request reports

Loading