Segfault when opening a DVD
I'm getting a segfault when I try to open a DVD. This is with both 3.0.20 and 3.0.21-1. I've built 3.0.21-1 with debug enabled and have the following backtrace. System is ubuntu 24.04. I have a Radeon RX7600XT installed.
(gdb) run
Starting program: /home/jlquinn/sw/src/vlc/vlc/bin/vlc-static
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
VLC media player 3.0.21 Vetinari (revision 3.0.21-1-0-g9c4768291e)
[New Thread 0x7ffff4600640 (LWP 2795853)]
[New Thread 0x7ffff4799640 (LWP 2795854)]
[New Thread 0x7ffff3dff640 (LWP 2795855)]
[000055555555ca50] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[New Thread 0x7ffff1cc5640 (LWP 2795857)]
[New Thread 0x7ffff1a00640 (LWP 2795858)]
[New Thread 0x7fffdbe00640 (LWP 2795859)]
[New Thread 0x7fffdb400640 (LWP 2795860)]
[New Thread 0x7fffdaa00640 (LWP 2795862)]
[New Thread 0x7fffd9600640 (LWP 2795864)]
[New Thread 0x7fffd8c00640 (LWP 2795865)]
[New Thread 0x7fffcfe00640 (LWP 2795866)]
[New Thread 0x7fffcf400640 (LWP 2795867)]
[New Thread 0x7fffd8da8640 (LWP 2795868)]
[New Thread 0x7fffd83ff640 (LWP 2795869)]
[New Thread 0x7fffc3e00640 (LWP 2795871)]
[New Thread 0x7fffc3400640 (LWP 2795872)]
[New Thread 0x7fffc2a00640 (LWP 2795873)]
[New Thread 0x7fffc2000640 (LWP 2795874)]
[New Thread 0x7fffc1400640 (LWP 2795875)]
[New Thread 0x7fffc0a00640 (LWP 2795876)]
[New Thread 0x7fffb7e00640 (LWP 2795877)]
[0000555555608a80] main playlist: playlist is empty
[New Thread 0x7fffc3525640 (LWP 2795878)]
[New Thread 0x7fffc2bff640 (LWP 2795879)]
[New Thread 0x7fffc21ff640 (LWP 2795880)]
[New Thread 0x7fffc15ff640 (LWP 2795881)]
[New Thread 0x7fffc0bff640 (LWP 2795882)]
[Thread 0x7fffc21ff640 (LWP 2795880) exited]
[Thread 0x7fffc0bff640 (LWP 2795882) exited]
[00007fff64001130] dvdnav demux: DVD Title: DVDVolume
[00007fff64001130] dvdnav demux: DVD Serial Number: c5a8e972
[00007fff64001130] dvdnav demux: DVD Title (Alternative): DVDVolume
[00007fff64001130] dvdnav demux: DVD disk reports itself with Region mask 0x00c00000. Regions: 01 02 03 04 05 06
[New Thread 0x7fffc0bff640 (LWP 2795883)]
[00007fff64001130] dvdnav demux: Attempting to retrieve all CSS keys
[00007fff64001130] dvdnav demux: This can take a _long_ time, please be patient
[New Thread 0x7fffc21ff640 (LWP 2795884)]
[0000555555608010] main audio output error: too low audio sample frequency (0)
[00007fff641643c0] main decoder error: failed to create audio output
[Thread 0x7fffc15ff640 (LWP 2795881) exited]
[Thread 0x7fffc2bff640 (LWP 2795879) exited]
[New Thread 0x7fffc15ff640 (LWP 2795886)]
[New Thread 0x7fffc2bff640 (LWP 2795887)]
[0000555555608010] vlcpulse audio output error: digital pass-through stream connection failure: Not supported
[0000555555608010] main audio output error: module not functional
[00007fff641643c0] main decoder error: failed to create audio output
[New Thread 0x7fffa9600640 (LWP 2795888)]
[New Thread 0x7fffa8c00640 (LWP 2795889)]
[New Thread 0x7fff98e00640 (LWP 2795890)]
[New Thread 0x7fff93e00640 (LWP 2795891)]
[New Thread 0x7fff93400640 (LWP 2795892)]
[New Thread 0x7fff92a00640 (LWP 2795893)]
[New Thread 0x7fff92000640 (LWP 2795894)]
[New Thread 0x7fff91600640 (LWP 2795895)]
[New Thread 0x7fff90c00640 (LWP 2795896)]
[00007fff50004b90] gl gl: Initialized libplacebo v4.192.1 (API v192)
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_14
[New Thread 0x7fff87e00640 (LWP 2795897)]
[New Thread 0x7fff87400640 (LWP 2795898)]
[New Thread 0x7fff86a00640 (LWP 2795899)]
[New Thread 0x7fff86000640 (LWP 2795900)]
[New Thread 0x7fff85600640 (LWP 2795901)]
[New Thread 0x7fff84c00640 (LWP 2795902)]
[New Thread 0x7fff7be00640 (LWP 2795903)]
[New Thread 0x7fff7b400640 (LWP 2795904)]
libva info: va_openDriver() returns 0
[New Thread 0x7fff7aa00640 (LWP 2795905)]
[00007fff58074840] vaapi generic error: profile(1) is not supported
[Thread 0x7fff7b400640 (LWP 2795904) exited]
[Thread 0x7fff7be00640 (LWP 2795903) exited]
[Thread 0x7fff87400640 (LWP 2795898) exited]
[Thread 0x7fff86a00640 (LWP 2795899) exited]
[Thread 0x7fff86000640 (LWP 2795900) exited]
[Thread 0x7fff85600640 (LWP 2795901) exited]
[Thread 0x7fff84c00640 (LWP 2795902) exited]
[Thread 0x7fff87e00640 (LWP 2795897) exited]
[Thread 0x7fff90c00640 (LWP 2795896) exited]
[Thread 0x7fff91600640 (LWP 2795895) exited]
[Thread 0x7fff92000640 (LWP 2795894) exited]
[Thread 0x7fff7aa00640 (LWP 2795905) exited]
[Thread 0x7fffa8c00640 (LWP 2795889) exited]
[Thread 0x7fff98e00640 (LWP 2795890) exited]
[Thread 0x7fff93e00640 (LWP 2795891) exited]
[Thread 0x7fff93400640 (LWP 2795892) exited]
[Thread 0x7fff92a00640 (LWP 2795893) exited]
[Thread 0x7fffa9600640 (LWP 2795888) exited]
[New Thread 0x7fffa9600640 (LWP 2795906)]
[New Thread 0x7fff92a00640 (LWP 2795907)]
[New Thread 0x7fff93400640 (LWP 2795908)]
[New Thread 0x7fff93e00640 (LWP 2795909)]
[New Thread 0x7fff98e00640 (LWP 2795910)]
[New Thread 0x7fff92000640 (LWP 2795911)]
[New Thread 0x7fff91600640 (LWP 2795912)]
[New Thread 0x7fff90c00640 (LWP 2795913)]
[New Thread 0x7fff87e00640 (LWP 2795914)]
[00007fff50499400] gl gl: Initialized libplacebo v4.192.1 (API v192)
[New Thread 0x7fff87400640 (LWP 2795915)]
[New Thread 0x7fff86a00640 (LWP 2795916)]
[New Thread 0x7fff86000640 (LWP 2795917)]
[New Thread 0x7fff85600640 (LWP 2795918)]
[New Thread 0x7fff84c00640 (LWP 2795919)]
[New Thread 0x7fff7be00640 (LWP 2795920)]
[New Thread 0x7fff7b400640 (LWP 2795921)]
[New Thread 0x7fff7aa00640 (LWP 2795922)]
Thread 30 "vlc-static" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc15ff640 (LWP 2795886)]
0x00007fffcc8b2560 in ?? () from /lib/x86_64-linux-gnu/libgallium-25.0.1 - kisak-mesa PPA.so
(gdb) bt
#0 0x00007fffcc8b2560 in () at /lib/x86_64-linux-gnu/libgallium-25.0.1 - kisak-mesa PPA.so
#1 0x00007fffcc307181 in () at /lib/x86_64-linux-gnu/libgallium-25.0.1 - kisak-mesa PPA.so
#2 0x00007fffcc308d6e in () at /lib/x86_64-linux-gnu/libgallium-25.0.1 - kisak-mesa PPA.so
#3 0x00007fffb7e512cb in MixerCreate (import=<optimized out>, filter=<optimized out>) at hw/vdpau/chroma.c:276
#4 OutputOpen (obj=<optimized out>) at hw/vdpau/chroma.c:765
#5 0x00007ffff7e87008 in module_load (obj=obj@entry=0x7fff504df410, m=m@entry=0x5555555cbf90, init=init@entry=0x7ffff7e86f30 <generic_start>, args=args@entry=0x7fffc15fe438) at modules/modules.c:183
#6 0x00007ffff7e875c4 in vlc_module_load (obj=obj@entry=0x7fff504df410, capability=capability@entry=0x7ffff7f2f0cc "video converter", name=0x7ffff7f1c4d7 "",
name@entry=0x0, strict=strict@entry=false, probe=probe@entry=0x7ffff7e86f30 <generic_start>) at modules/modules.c:280
#7 0x00007ffff7e87bc8 in module_need (obj=obj@entry=0x7fff504df410, cap=cap@entry=0x7ffff7f2f0cc "video converter", name=name@entry=0x0, strict=strict@entry=false) at modules/modules.c:372
#8 0x00007ffff7f06632 in filter_chain_AppendInner (chain=0x7fff50445290, name=name@entry=0x0, capability=0x7ffff7f2f0cc "video converter", cfg=cfg@entry=0x0, fmt_in=<optimized out>,
fmt_in@entry=0x7fffc15fe830, fmt_out=fmt_out@entry=0x7fffc15fe940) at misc/filter_chain.c:223
#9 0x00007ffff7f06cce in filter_chain_AppendConverter (chain=<optimized out>, fmt_in=fmt_in@entry=0x7fffc15fe830, fmt_out=fmt_out@entry=0x7fffc15fe940) at misc/filter_chain.c:278
#10 0x00007ffff7ed0ba1 in VoutDisplayCreateRender (vd=vd@entry=0x7fff50001680) at video_output/display.c:451
#11 0x00007ffff7ed19f3 in DisplayNew
(vout=vout@entry=0x7fff5800dea0, source=0x7fff5800dee0, state=state@entry=0x7fffc15fec90, module=module@entry=0x7ffff7f2f779 "$vout", is_splitter=is_splitter@entry=false, double_click_timeout=double_click_timeout@entry=300000, hide_timeout=1000000, owner_ptr=0x0) at video_output/display.c:1204
#12 0x00007ffff7ed2be7 in vout_NewDisplay
(vout=vout@entry=0x7fff5800dea0, source=<optimized out>, state=state@entry=0x7fffc15fec90, module=module@entry=0x7ffff7f2f779 "$vout", double_click_timeout=double_click_timeout@entry=300000, hide_timeout=<optimized out>) at video_output/display.c:1255
#13 0x00007ffff7ee1bb8 in vout_OpenWrapper (vout=vout@entry=0x7fff5800dea0, splitter_name=0x0, state=state@entry=0x7fffc15fec90) at video_output/vout_wrapper.c:67
#14 0x00007ffff7ed6f59 in ThreadStart (vout=vout@entry=0x7fff5800dea0, state=0x7fffc15fec90) at video_output/video_output.c:1533
#15 0x00007ffff7ed7c57 in ThreadReinit (cfg=<optimized out>, vout=0x7fff5800dea0) at video_output/video_output.c:1671
#16 ThreadControl (cmd=..., vout=<optimized out>) at video_output/video_output.c:1699
#17 Thread (object=0x7fff5800dea0) at video_output/video_output.c:1809
#18 0x00007ffff7c94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#19 0x00007ffff7d26850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb) up
#1 0x00007fffcc307181 in ?? () from /lib/x86_64-linux-gnu/libgallium-25.0.1 - kisak-mesa PPA.so
(gdb)
#2 0x00007fffcc308d6e in ?? () from /lib/x86_64-linux-gnu/libgallium-25.0.1 - kisak-mesa PPA.so
(gdb)
#3 0x00007fffb7e512cb in MixerCreate (import=<optimized out>, filter=<optimized out>) at hw/vdpau/chroma.c:276
276 err = vdp_video_mixer_set_attribute_values(sys->vdp, mixer,
(gdb) l
271 vdp_get_error_string(sys->vdp, err));
272 }
273
274 if (attrc > 0)
275 {
276 err = vdp_video_mixer_set_attribute_values(sys->vdp, mixer,
277 attrc, attrv, valv);
278 if (err != VDP_STATUS_OK)
279 msg_Err(filter, "video %s %s failure: %s", "mixer", "attributes",
280 vdp_get_error_string(sys->vdp, err));
(gdb)