[vlc-devel] deadlock in libvlc_media_player_stop Version 1.1.4

Francisco Ortiz fjortizpastor at gmail.com
Mon Feb 7 22:26:00 CET 2011


Hola I have a problem,

  I have a deadlock in libvlc_media_player stop, and i develop with SDL, the
version of VLC is 1.1.4. Can you help me for my problem. The problem ocurrs
sporadically.

Thank you very much.

Best regards,

The output of gdb and vlc -vvvvv is:

0xe289984] main input debug: Stream buffering done (325 ms in 17 ms)
[0xe41e4ac] freetype spu text debug: Using Serif Bold as font from file
/usr/share/fonts/truetype/arial.ttf
[0xe41e4ac] freetype spu text debug: using fontsize: 2
[0xe41e4ac] main spu text debug: using text renderer module "freetype"
[0xe41e4ac] main spu text debug: TIMER module_need() : 11.294 ms - Total
11.294 ms / 1 intvls (Avg 11.294 ms)
[0xe3bab6c] main scale debug: looking for video filter2 module: 18
candidates
[0xe3bab6c] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA
with scaling using Bicubic (good quality)
[0xe3bab6c] main scale debug: using video filter2 module "swscale"
[0xe3bab6c] main scale debug: TIMER module_need() : 1.649 ms - Total 1.649
ms / 1 intvls (Avg 1.649 ms)
[0xe2ba5fc] main scale debug: looking for video filter2 module: 18
candidates
[0xe2ba5fc] yuvp scale debug: YUVP to YUVA converter
[0xe2ba5fc] main scale debug: using video filter2 module "yuvp"
[0xe2ba5fc] main scale debug: TIMER module_need() : 0.001 ms - Total 0.001
ms / 1 intvls (Avg 0.001 ms)
[0xe25dc6c] main video output debug: window size: 1280x720
[0xe25dc6c] main video output debug: Deinterlacing available
[0xe25dc6c] main video output debug: deinterlace 0, mode blend, is_needed 0
[New Thread 0x8b77cb90 (LWP 23394)]
[0xe289984] main input debug: thread (input) created at priority 10
(input/input.c:214)
[0xe25dc6c] main video output debug: looking for video output module: 1
candidate
[0xe25dc6c] vout_wrapper video output debug: Opening vout display wrapper
[0xe252814] main generic debug: looking for vout display module: 1 candidate
[0xe252814] main generic debug: VoutDisplayEvent 'fullscreen' 0
[0xe252814] main generic debug: VoutDisplayEvent 'resize' 1280x768 window
[0xe252814] main generic debug: using vout display module "vmem"
[0xe252814] main generic debug: TIMER module_need() : 2.134 ms - Total 2.134
ms / 1 intvls (Avg 2.134 ms)
[0xe252814] main generic debug: A filter to adapt decoder to display is
needed
[0xe48c774] main filter debug: looking for video filter2 module: 18
candidates
[0xe48c774] swscale filter debug: 1280x720 chroma: I420 -> 1280x768 chroma:
RV32 with scaling using Bicubic (good quality)
[0xe48c774] main filter debug: using video filter2 module "swscale"
[0xe48c774] main filter debug: TIMER module_need() : 2.256 ms - Total 2.256
ms / 1 intvls (Avg 2.256 ms)
[0xe252814] main generic debug: Filter 'Swscale' (0xe48c774) appended to
chain
[0xe25dc6c] main video output debug: using video output module
"vout_wrapper"
[0xe25dc6c] main video output debug: TIMER module_need() : 4.987 ms - Total
4.987 ms / 1 intvls (Avg 4.987 ms)
[0xe25dc6c] main video output debug: got 1 direct buffer(s)
[0xe25dc6c] main video output debug: pic render sz 1280x720, of (0,0), vsz
1280x720, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
[0xe25dc6c] main video output debug: pic in sz 1280x720, of (0,0), vsz
1280x720, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
[0xe25dc6c] main video output debug: pic out sz 1280x720, of (0,0), vsz
1280x720, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
[0xe25dc6c] main video output debug: direct render, mapping render pictures
0-23 to system pictures 1-24
[0xd84cddc] avcodec decoder debug: using direct rendering
[0xd84cddc] main decoder debug: End of video preroll
[0xd84cddc] main decoder debug: Received first picture
[0xe289984] main input debug: Decoder buffering done in 225 ms
[0xe25dc6c] main video output debug: Post-processing available
[0xe25dc6c] main video output warning: vlc_object_find_name(postproc) is not
safe!
[0xd77b96c] avi demux warning: cannot get packet header, track disabled
[0xe289984] main input debug: EOF reached
[0xe25dc6c] main video output debug: skipped big render time 355185 > 212444
[0xe25dc6c] main video output warning: late picture skipped (81953 > -12444)
[0xe25dc6c] main video output warning: late picture skipped (1953 > -12444)
[0xe25dc6c] main video output warning: late picture skipped (281953 >
-12444)
[0xe25dc6c] main video output warning: late picture skipped (241953 >
-12444)
[0xe25dc6c] main video output warning: late picture skipped (201953 >
-12444)
[0xe25dc6c] main video output warning: late picture skipped (41953 > -12444)
[0xe25dc6c] main video output warning: late picture skipped (121953 >
-12444)
[0xe25dc6c] main video output warning: late picture skipped (161953 >
-12444)
^C
Program received signal SIGINT, Interrupt.
0xffffe430 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7b84747 in pthread_join () from /lib/libpthread.so.0
#2  0xb759f643 in vlc_join (handle=3026512784, result=0x0) at
misc/pthread.c:676
#3  0xb7589530 in vlc_thread_join (p_this=0xe289984) at misc/threads.c:194
#4  0xb7bf6216 in release_input_thread (p_mi=0xe240344, b_input_abort=<value
optimized out>) at control/media_player.c:126
#5  0xb7bf63a3 in libvlc_media_player_stop (p_mi=0xe240344) at
control/media_player.c:761
#6  0x0811a430 in TGPlayer::close (this=0x83014f8) at tgplayer.cpp:697
#7  0x08082b73 in TFPrincipal::ejecutar (this=0x83177e0,
ponerJuegoVirtual=true) at tfprincipal.cpp:6740
#8  0x080d0901 in main (argc=<value optimized out>, argv=Cannot access
memory at address 0x4
) at terminal.cpp:189
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110207/2a3f3c5f/attachment.html>


More information about the vlc-devel mailing list