1

(449 replies, posted in Using SVP)

TheWP wrote:

mpv on Arch (svp installed from AUR; both mpv-full and mpv-full-git tested) seems to crash with

free(): invalid pointer

on all video files I have tested.
...

Turns out this was fixed after switching from ffmpeg-full-git to ffmpeg for whatever reason.

2

(449 replies, posted in Using SVP)

mpv on Arch (svp installed from AUR; both mpv-full and mpv-full-git tested) seems to crash with

free(): invalid pointer

on all video files I have tested.

mpv command line:

mpv --no-config --input-ipc-server=/tmp/mpvsocket --hwdec=no --resume-playback=no ~/Downloads/A.Certain.Scientific.Railgun.S01E09.1080p-Hi10p.BluRay.FLAC5.1.x264-CTR.\[0225EA9C\].mkv

The crash also happens if I replace

input-ipc-server

with

--vf-add=vapoursynth=$HOME/.local/share/SVP4/scripts/ca386e69.py:4:25

.

Stack trace using gdb is as follows.

(gdb) bt
#0  0x00007ffff49f7f25 in raise () at /usr/lib/libc.so.6
#1  0x00007ffff49e1897 in abort () at /usr/lib/libc.so.6
#2  0x00007ffff4a3b258 in __libc_message () at /usr/lib/libc.so.6
#3  0x00007ffff4a4277a in  () at /usr/lib/libc.so.6
#4  0x00007ffff4a4414c in _int_free () at /usr/lib/libc.so.6
#5  0x00007fff3b28e91f in Json::Reader::~Reader() () at /opt/svp/plugins/libsvpflow1_vs64.so
#6  0x00007fff3b28e121 in MVSuper_VS::create(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) () at /opt/svp/plugins/libsvpflow1_vs64.so
#7  0x00007ffff4d03a3e in  () at /usr/lib/libvapoursynth.so
#8  0x00007ffff4cf5e49 in  () at /usr/lib/libvapoursynth.so
#9  0x00007fff487ab32e in  () at /usr/lib/python3.8/site-packages/vapoursynth.so
#10 0x00007fffd3722ad2 in _PyObject_MakeTpCall () at /usr/lib/libpython3.8.so.1.0
#11 0x00007fffd37df7f4 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0
#12 0x00007fffd37c906d in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0
#13 0x00007fffd37dac8c in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0
#14 0x00007fffd37c7e3b in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0
#15 0x00007fffd38513d3 in PyEval_EvalCode () at /usr/lib/libpython3.8.so.1.0
#16 0x00007fff48794d04 in vpy_evaluateScript () at /usr/lib/python3.8/site-packages/vapoursynth.so
#17 0x00007fff487980bc in vpy_evaluateFile () at /usr/lib/python3.8/site-packages/vapoursynth.so
#18 0x00007ffff4db8998 in vsscript_evaluateFile () at /usr/lib/libvapoursynth-script.so.0
#19 0x000055555564a154 in  ()
#20 0x000055555564955f in  ()
#21 0x00005555555de372 in  ()
#22 0x00005555555de3c9 in  ()
#23 0x00005555555de5ca in  ()
#24 0x00005555555de64d in  ()
#25 0x0000555555600538 in  ()
#26 0x0000555555624f05 in  ()
#27 0x000055555561c049 in  ()
#28 0x000055555561c4aa in  ()
#29 0x0000555555620409 in  ()
#30 0x00007ffff49e3153 in __libc_start_main () at /usr/lib/libc.so.6
#31 0x000055555559729e in  ()

Running mpv with

MALLOC_CHECK_=0

did not help.

On the other hand, VLC works just fine.

DId I miss anything?