On 05/03/18(Mon) 21:26, Hiltjo Posthuma wrote:
> >  [...]
> > I tried your patch on a source build of about 25 februari on amd64. I still
> > notice mpv hanging when I try to close it or when the video ends.

Thanks for reporting.  This is a different issue.

> > Let me know how/if I can help you further with testing.

Could you tell me how to reproduce the problem?

> Updated to source of ~4 March:
> 
> OpenBSD ren.laptop 6.3 GENERIC.MP#0 amd64
> 
> When I do a backtrace on the hanged mpv I get:
> 
> 
> $ gdb mpv pid
> $ bt

Could you get the backtrace of all the threads?

Something like: 'thr apply all bt'

> #0  _thread_sys___thrsleep () at -:3
> #1  0x0000117420965ea4 in _sem_wait (sem=0x1174219ffc40, tryonly=564132932, 
> abstime=0x0,
>     delayed_cancel=0x11738fa402f0) at /usr/src/lib/librthread/rthread_sem.c:74
> #2  0x00001174209650bf in pthread_join (thread=0x1174219ffc40, retval=0x0)
>     at /usr/src/lib/librthread/rthread.c:304
> #3  0x00001173ec0a9d5b in SDL_WaitThread_REAL () from 
> /usr/local/lib/libSDL2.so.0.4
> #4  0x00001173ec05b64a in close_audio_device () from 
> /usr/local/lib/libSDL2.so.0.4
> #5  0x00001173ec05a1e2 in SDL_AudioQuit_REAL () from 
> /usr/local/lib/libSDL2.so.0.4
> #6  0x00001173ec05703b in SDL_QuitSubSystem_REAL () from 
> /usr/local/lib/libSDL2.so.0.4
> #7  0x000011713bf135e9 in ao_uninit (ao=0x11740b004740) at 
> ../audio/out/ao.c:336
> #8  0x000011713bf561fe in uninit_audio_out (mpctx=0x1173a2d8b840) at 
> ../player/audio.c:280
> #9  0x000011713bf6efd2 in mp_destroy (mpctx=0x1173a2d8b840) at 
> ../player/main.c:166
> #10 0x000011713bf6fbe1 in mpv_main (argc=Variable "argc" is not available.
> ) at ../player/main.c:243
> #11 0x000011713bf03156 in _start () from /usr/local/bin/mpv
> #12 0x0000000000000000 in ?? ()
> (gdb)

Reply via email to