VLC crashes on startup
This concerns 3.0.18 on Windows and I believe it is related to my use of a USB audio device. When I run vlc.exe in gdb I get the following output:
(gdb) run
Starting program: C:\Program Files\VideoLAN\VLC\vlc.exe
[New Thread 22140.0x7410]
[New Thread 22140.0x1884]
[New Thread 22140.0x6378]
[New Thread 22140.0x71a0]
[New Thread 22140.0x63e8]
[New Thread 22140.0x7154]
warning: main libvlc debug: VLC media player - 3.0.18 Vetinari
warning: main libvlc debug: Copyright c 1996-2022 the VideoLAN team
warning: main libvlc debug: revision 3.0.18-0-ge9eceaed4d
warning: main libvlc debug: configured with /builds/videolan/vlc/extras/package/win32/../../../confi
gure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--en
able-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-schr
oedinger' '--enable-realrtsp' '--enable-live555' '--enable-shout' '--enable-goom' '--enable-sse' '--
enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=x86_64-w64-mi
ngw32' '--with-contrib=../contrib/x86_64-w64-mingw32' '--with-breakpad=https://win.crashes.videolan.
org' '--enable-qt' '--enable-skins2' '--enable-dvdread' '--enable-caca' 'host_alias=x86_64-w64-mingw
32' 'CFLAGS= ' 'CXXFLAGS= ' 'PKG_CONFIG=pkg-config' 'PKG_CONFIG_LIBDIR=/usr/x86_64-w64-mingw32/lib/p
kgconfig:/usr/lib/x86_64-w64-mingw32/pkgconfig'
warning: main libvlc debug: using multimedia timers as clock source
warning: main libvlc debug: min period: 1 ms, max period: 1000000 ms
warning: main libvlc debug: searching plug-in modules
warning: main libvlc debug: loading plugins cache file C:\Program Files\VideoLAN\VLC\plugins\plugins
.dat
warning: main libvlc debug: recursively browsing `C:\Program Files\VideoLAN\VLC\plugins'
warning: main libvlc debug: plug-ins loaded: 496 modules
warning: main libvlc debug: opening config file (C:\Users\bgreene\AppData\Roaming\vlc\vlcrc)
warning: main logger debug: looking for logger module matching "any": 2 candidates
warning: main logger debug: using logger module "console"
warning: main libvlc debug: translation test: code is "C"
warning: main keystore debug: looking for keystore module matching "memory": 3 candidates
warning: main keystore debug: using keystore module "memory"
warning: main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
warning: main input debug: Creating an input for 'Media Library'
warning: main input debug: Input is a meta file: disabling unneeded options
warning: main input debug: using timeshift granularity of 50 MiB
warning: main input debug: using timeshift path: C:\msys64\tmp
warning: main input debug: `file/directory:///C:/Users/bgreene/AppData/Roaming/vlc/ml.xspf' gives ac
cess `file' demux `directory' path `/C:/Users/bgreene/AppData/Roaming/vlc/ml.xspf'
warning: main input source debug: creating demux: access='file' demux='directory' location='/C:/User
s/bgreene/AppData/Roaming/vlc/ml.xspf' file='C:\Users\bgreene\AppData\Roaming\vlc\ml.xspf'
warning: main demux debug: looking for access_demux module matching "file": 15 candidates
warning: main demux debug: no access_demux modules matched
warning: main stream debug: creating access: file:///C:/Users/bgreene/AppData/Roaming/vlc/ml.xspf
warning: main stream debug: (path: C:\Users\bgreene\AppData\Roaming\vlc\ml.xspf)
warning: main stream debug: looking for access module matching "file": 27 candidates
warning: main stream debug: using access module "filesystem"
warning: main stream debug: looking for stream_filter module matching "prefetch,cache_read": 24 cand
idates
warning: cache_read stream debug: Using stream method for AStream*
warning: cache_read stream debug: starting pre-buffering
warning: cache_read stream debug: received first data after 3 ms
warning: cache_read stream debug: pre-buffering done 304 bytes in 0s - 49 KiB/s
warning: main stream debug: using stream_filter module "cache_read"
warning: main stream debug: looking for stream_filter module matching "any": 24 candidates
warning: playlist stream debug: using XSPF playlist reader
warning: main stream debug: using stream_filter module "playlist"
warning: main stream debug: stream filter added to 00000221bf4806d0
warning: main stream debug: looking for stream_filter module matching "any": 24 candidates
warning: main stream debug: no stream_filter modules matched
warning: main stream_directory debug: looking for stream_directory module matching "any": 1 candidat
es
warning: main stream_directory debug: no stream_directory modules matched
warning: main input source debug: attachment of directory-extractor failed for file:///C:/Users/bgre
ene/AppData/Roaming/vlc/ml.xspf
warning: main stream debug: looking for stream_filter module matching "record": 24 candidates
warning: main stream debug: using stream_filter module "record"
warning: main input source debug: creating demux: access='file' demux='directory' location='/C:/User
warning: main stream debug: removing module "record"
warning: main stream debug: removing module "playlist"
warning: main stream debug: removing module "cache_read"
warning: main stream debug: removing module "filesystem"
warning: main playlist debug: creating audio output
warning: main audio output debug: looking for audio output module matching "any": 6 candidates
[New Thread 22140.0x641c]
warning: mmdevice audio output debug: using selected device {0.0.0.00000000}.{556419a8-91c7-4051-b0b0-e66363e8cb7a}
warning: avcore\audiocore\client\audioclient\audioclientsessionmgr.cpp(413)\AUDIOSES.DLL!00007FFEF1409E3B: (caller: 00007FFEF1400C65) ReturnHr(1)
tid(641c) 88890008
warning: avcore\audiocore\client\audioclient\audioclientsessionmgr.cpp(413)\AUDIOSES.DLL!00007FFEF1423977: (caller: 00007FFEF1400762) ReturnHr(2)
tid(641c) 88890008
warning: mmdevice audio output error: cannot get session control (error 0x88890008)
warning: avcore\audiocore\client\audioclient\audioclientsessionmgr.cpp(413)\AUDIOSES.DLL!00007FFEF1409E3B: (caller: 00007FFEF1400C65) ReturnHr(3)
tid(641c) 88890008
warning: avcore\audiocore\client\audioclient\audioclientsessionmgr.cpp(413)\AUDIOSES.DLL!00007FFEF1423977: (caller: 00007FFEF13F6BA1) ReturnHr(4)
tid(641c) 88890008
warning: mmdevice audio output error: cannot get simple volume (error 0x88890008)
warning: mmdevice audio output debug: version 2 session control unavailable
warning: mmdevice audio output debug: volume from -96.000000 dB to +0.000000 dB with 1.500000 dB increments
Thread 8 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 22140.0x641c]
0x0000000000000000 in ?? ()
(gdb)