Bug#758582: vlc: Vlc segfaults at the end of video reproduction when video acceleration VAAPI is selected

Marco Mattiolo marco.mattiolo at hotmail.it
Sun Aug 31 08:54:20 UTC 2014


Hi Rémi, thanks for answering.
Hoping this satisfies your request.

Cheers
Marco

$ gdb vlc
GNU gdb (Debian 7.7.1+dfsg-3) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from vlc...Reading symbols from 
/usr/lib/debug/.build-id/bd/a54aae88601b31adc48cde0699479455646edc.debug...done.
done.
(gdb) run
Starting program: /usr/bin/vlc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
VLC media player 2.1.5 Rincewind (revision 2.1.4-49-gdab6cb5)
[New Thread 0x7fffed24a700 (LWP 16114)]
[New Thread 0x7ffff2dda700 (LWP 16115)]
[New Thread 0x7fffec229700 (LWP 16116)]
[0x605118] main libvlc: Esecuzione di vlc con l'interfaccia predefinita. 
Usa 'cvlc' per utilizzare vlc senza interfaccia.
[New Thread 0x7fffec128700 (LWP 16117)]
[New Thread 0x7fffd630c700 (LWP 16118)]
[New Thread 0x7fffcf0e9700 (LWP 16126)]
[New Thread 0x7fffcefe8700 (LWP 16127)]
[New Thread 0x7fffcc201700 (LWP 16128)]
[Thread 0x7fffcf0e9700 (LWP 16126) exited]
[New Thread 0x7fffb7952700 (LWP 16129)]
[New Thread 0x7fffb7151700 (LWP 16130)]
[New Thread 0x7fffb6950700 (LWP 16131)]
[New Thread 0x7fffb614f700 (LWP 16132)]
[New Thread 0x7fffcf0e9700 (LWP 16133)]
[New Thread 0x7fffcc100700 (LWP 16134)]
[Thread 0x7fffcc201700 (LWP 16128) exited]
Failed to open VDPAU backend libvdpau_nvidia.so: impossibile aprire il 
file oggetto condiviso: File o directory non esistente
[0x7fffac000ab8] vdpau generic error: device creation failure: error 1
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
[0x7fffbcc308c8] avcodec decoder: Using VA API version 0.35 for hardware 
decoding.
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[New Thread 0x7fffcc201700 (LWP 16135)]
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[0x7fff9c001248] main vout display error: Failed to resize display
[Thread 0x7fffcf0e9700 (LWP 16133) exited]
[Thread 0x7fffb7952700 (LWP 16129) exited]
[Thread 0x7fffb7151700 (LWP 16130) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcefe8700 (LWP 16127)]
Release (p_external=<optimized out>, p_ff=<optimized out>) at 
avcodec/vaapi.c:519
519     avcodec/vaapi.c: File o directory non esistente.
(gdb) bt
#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
#3  0x00007fffc5bef7dd in compat_free_buffer (opaque=<optimized out>, 
data=<optimized out>)
     at /build/libav-EKDVFO/libav-10.4/libavcodec/utils.c:563
#4  0x00007fffc56156de in av_buffer_unref (buf=buf at entry=0x7fffcefe79b0)
     at /build/libav-EKDVFO/libav-10.4/libavutil/buffer.c:115
#5  0x00007fffc5bef820 in compat_release_buffer (opaque=<optimized out>,
     data=<optimized out>) at 
/build/libav-EKDVFO/libav-10.4/libavcodec/utils.c:570
#6  0x00007fffc56156de in av_buffer_unref (buf=buf at entry=0x7fffb00ff250)
     at /build/libav-EKDVFO/libav-10.4/libavutil/buffer.c:115
#7  0x00007fffc561ac64 in av_frame_unref (frame=0x7fffb00ff080)
     at /build/libav-EKDVFO/libav-10.4/libavutil/frame.c:285
#8  0x00007fffc5b802a5 in release_delayed_buffers (p=0x7fffbcca4248)
     at /build/libav-EKDVFO/libav-10.4/libavcodec/pthread_frame.c:285
#9  ff_frame_thread_free (avctx=avctx at entry=0x7fffbcc43d40, thread_count=4)
     at /build/libav-EKDVFO/libav-10.4/libavcodec/pthread_frame.c:532
#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
#12 0x00007fffc6722305 in CloseDecoder (p_this=0x7fffbcc308c8) at 
avcodec/avcodec.c:371
#13 0x00007ffff718c642 in vlc_module_unload (module=<optimized out>,
     deinit=deinit at entry=0x7ffff718bb50 <generic_stop>) at 
modules/modules.c:340
#14 0x00007ffff718c6be in module_unneed (obj=obj at entry=0x7fffbcc308c8,
     module=<optimized out>) at modules/modules.c:373
#15 0x00007ffff714b252 in input_DecoderDelete (p_dec=0x7fffbcc308c8) at 
input/decoder.c:362
#16 0x00007ffff714d43c in EsDestroyDecoder (p_es=<optimized out>, 
p_es=<optimized out>,
     out=<optimized out>) at input/es_out.c:1580
#17 0x00007ffff714f70c in EsUnselect (out=0x7fffb80059d0, 
es=0x7fffbcc1df90,
     b_update=<optimized out>) at input/es_out.c:1691
#18 0x00007ffff7151d6e in EsOutControlLocked (args=<optimized out>,
     i_query=<optimized out>, out=<optimized out>) at input/es_out.c:2176
#19 EsOutControl (out=0x7fffb80059d0, i_query=0, args=0x7fffcefe7cd8)
     at input/es_out.c:2698
#20 0x00007ffff7153b7c in es_out_vaControl (args=0x7fffcefe7cd8, 
i_query=<optimized out>,
     out=<optimized out>) at ../include/vlc_es_out.h:126
#21 es_out_Control (out=<optimized out>, i_query=<optimized out>)
     at ../include/vlc_es_out.h:135
#22 0x00007ffff71556ee in ControlLocked (args=<optimized out>, 
i_query=<optimized out>,
     p_out=<optimized out>) at input/es_out_timeshift.c:620
#23 Control (p_out=0x0, i_query=65536, args=0x7fffcefe7e38) at 
input/es_out_timeshift.c:718
#24 0x00007ffff7156eac in es_out_vaControl (args=0x7fffcefe7e38, 
i_query=65536,
     out=<optimized out>) at ../include/vlc_es_out.h:126
#25 es_out_Control (out=<optimized out>, i_query=i_query at entry=65536)
     at ../include/vlc_es_out.h:135
---Type <return> to continue, or q <return> to quit---
#26 0x00007ffff7157a45 in es_out_SetMode (i_mode=0, p_out=<optimized out>)
     at input/es_out.h:89
#27 End (p_input=p_input at entry=0x7fffb80009b8) at input/input.c:1369
#28 0x00007ffff715d35d in Run (obj=0x7fffb80009b8) at input/input.c:527
#29 0x00007ffff79ac0a4 in start_thread (arg=0x7fffcefe8700) at 
pthread_create.c:309
#30 0x00007ffff74dcfbd in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)



More information about the pkg-multimedia-maintainers mailing list