On Sat, Sep 05, 2020 at 03:18:21AM +0200, Klemens Nanni wrote:
>
>       $ rm -r ~/.config/mpv/
>       rm: /home/kn/.config/mpv: No such file or directory
>       $ mpv http://url/some.mkv
>        mpv `xclip -o`  
>        Resuming playback. This behavior can be disabled with 
> --no-resume-playback.
>         (+) Video --vid=1 (*) (h264 1904x1068 23.976fps)
>          (+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz)
>        AO: [sdl] 48000Hz stereo 2ch s32
>        VO: [gpu] 1904x1068 yuv420p
> 
> 
>        Exiting... (Quit)
>        pthread_mutex_destroy on mutex with waiters!
>        Segmentation fault (core dumped) 
> 
> The pthread_mutex_destroy line has always been there but dumping core
> is new behaviour, it most certainly started after upgrading to a newer
> snapshot around one or two weeks ago and/or moving my installation/SSD
> from an X230 to an X250 thinkpad (same config, just hardware swap).
> 
>       $ egdb --quiet -se `which mpv` -c ./mpv.core -batch -ex bt -ex l 
>       [New process 256621]
>       [New process 165240]
>       [New process 528996]
>       [New process 170944]
>       Core was generated by `mpv'.
>       Program terminated with signal SIGSEGV, Segmentation fault.
>       #0  0x000007e975d313e0 in ?? ()
>       [Current thread is 1 (process 256621)]
>       #0  0x000007e975d313e0 in ?? ()
>       #1  0x000007e8a562a505 in _rthread_tls_destructors 
> (thread=0x7e8785bdc40) at /usr/src/lib/libc/thread/rthread_tls.c:182
>       #2  0x000007e8a5693ac3 in _libc_pthread_exit (retval=<optimized out>) 
> at /usr/src/lib/libc/thread/rthread.c:150
>       #3  0x000007e902c2d1d9 in _rthread_start (v=<optimized out>) at 
> /usr/src/lib/librthread/rthread.c:97
>       #4  0x000007e8a56505a8 in __tfork_thread () at 
> /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:77
>       #5  0x0000000000000000 in ?? ()
>       1       #include "main-fn.h"
>       2       
>       3       int main(int argc, char *argv[])
>       4       {
>       5           return mpv_main(argc, argv);
>       6       }
> 
> Now idea what's happening here.
> Can someone else reproduce?
> 

I think espie@ mentionned somewhere such behaviour.


>From your mpv output, you are using "gpu" video output backend and "sdl" audio
output backend. Could you try another driver for each to see if it is related to
one of them ?

$ mpv --vo=sdl http://url/some.mkv
and
$ mpv --ao=sndio http://url/some.mkv

for example ?

(see mpv --ao=help and mpv --vo=help for list of backends. trying with "null" 
backend is also a possibility)


Thanks.
-- 
Sebastien Marie

Reply via email to