Bug#758582: vlc: Vlc segfaults at the end of video reproduction when video acceleration VAAPI is selected
Rémi Denis-Courmont
remi at remlab.net
Sun Aug 31 09:08:31 UTC 2014
reassign 758582 libavcodec55
affects 758582 vlc
thanks
Le dimanche 31 août 2014, 10:54:20 Marco Mattiolo a écrit :
> #0 Release (p_external=<optimized out>, p_ff=<optimized out>) at
> avcodec/vaapi.c:519
> #1 0x00007fffc671eadb in vlc_va_Release (frame=0x7fffc0153348,
> va=<optimized out>)
> at avcodec/va.h:56
> #2 ffmpeg_ReleaseFrameBuf (p_context=<optimized out>,
> p_ff_pic=0x7fffc0153348)
> at avcodec/video.c:1079
(...)
> #10 0x00007fffc5b7f37b in ff_thread_free (avctx=avctx at entry=0x7fffbcc43d40)
> at /build/libav-EKDVFO/libav-10.4/libavcodec/pthread.c:85
> #11 0x00007fffc5896cd0 in avcodec_close (avctx=0x7fffbcc43d40)
> at /build/libav-EKDVFO/libav-10.4/libavcodec/utils.c:1609
Hmm, yeah. libavcodec releases the VA buffers in avcodec_close() when it is
supposed to do that in the earlier avcodec_flush_buffers(). This causes a use-
after-free and crash in VLC.
Reassigning.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the pkg-multimedia-maintainers
mailing list