video_filter/blendbench: crash on failed image-loading
VLC will crash if the image loading of --blendbench-base-image
fails, which is easily reproduced by simply leaving out a value for
the option (or supplying an invalid URL).
Please note that the load of --blendbench-base-image
must be
successful in order to reproduce the crash.
vlc-devel media.mkv --video-filter='blendbench{base-image=file:///tmp/sample.png,blend-image="CROAK!"}'
Thread 17 "vlc-static" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff92fe4700 (LWP 5122)]
0x00007fff901f4c21 in Filter (p_filter=0x7fff8cb648e8, p_pic=0x7fff9414f9b0) at modules/video_filter/blendbench.c:236
[#0](https://code.videolan.org/videolan/vlc/-/issues/0) 0x00007fff901f4c21 in Filter (p_filter=0x7fff8cb648e8, p_pic=0x7fff9414f9b0) at modules/video_filter/blendbench.c:236
[#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x00007ffff795b9b1 in FilterChainVideoFilter (f=0x7fff8cb648e8, p_pic=p_pic@entry=0x7fff9414f9b0) at src/misc/filter_chain.c:393
[#2](https://code.videolan.org/videolan/vlc/-/issues/2) 0x00007ffff795bf91 in filter_chain_VideoFilter (p_chain=0x7fff8c000c90, p_pic=p_pic@entry=0x7fff9414f9b0) at src/misc/filter_chain.c:411
[#3](https://code.videolan.org/videolan/vlc/-/issues/3) 0x00007ffff79376b4 in ThreadDisplayRenderPicture (vout=vout@entry=0x7fff94000978, is_forced=is_forced@entry=true) at src/video_output/video_output.c:861
[#4](https://code.videolan.org/videolan/vlc/-/issues/4) 0x00007ffff793809d in ThreadDisplayPicture (vout=vout@entry=0x7fff94000978, deadline=deadline@entry=0x7fff92fe3e38) at src/video_output/video_output.c:1117
[#5](https://code.videolan.org/videolan/vlc/-/issues/5) 0x00007ffff7938b0d in Thread (object=0x7fff94000978) at src/video_output/video_output.c:1652
[#6](https://code.videolan.org/videolan/vlc/-/issues/6) 0x00007ffff6d082e7 in start_thread () at /usr/lib/libpthread.so.0
[#7](https://code.videolan.org/videolan/vlc/-/issues/7) 0x00007ffff684554f in clone () at /usr/lib/libc.so.6