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