From: Miguel F. <mi...@ce...> - 2003-09-04 14:47:08
|
On Thu, 2003-09-04 at 10:15, James Courtier-Dutton wrote: > Miguel Freitas wrote: > > Update of /cvsroot/xine/xine-lib/src/xine-engine > > In directory sc8-pr-cvs1:/tmp/cvs-serv8948 > > > > Modified Files: > > audio_out.c > > Log Message: > > still fighting the same bug. now i must have killed it :) > > (unfortunately it takes hours of testing to reproduce...) > > > Would you be able to explain the problem you are tinkering with? > We might be able to help. yes, sure. here is the bt: Thread 17 (Thread 262161 (LWP 725)): #0 0x407e5e81 in nanosleep () from /lib/libc.so.6 #1 0x40075d0d in nanosleep () from /lib/libpthread.so.0 #2 0x40039f63 in xine_usec_sleep (usec=50000) at utils.c:145 #3 0x0804cf0d in snapshot_loop (foo=0x0) at main.c:590 #4 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 16 (Thread 245776 (LWP 724)): #0 0x407e5e81 in nanosleep () from /lib/libc.so.6 #1 0x40075d0d in nanosleep () from /lib/libpthread.so.0 #2 0x40039f63 in xine_usec_sleep (usec=50000) at utils.c:145 #3 0x0804d082 in play_state_loop (foo=0x0) at main.c:795 #4 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 15 (Thread 213006 (LWP 722)): #0 0x40772ad2 in sigsuspend () from /lib/libc.so.6 #1 0x40073f35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x40070f05 in pthread_cond_wait () from /lib/libpthread.so.0 #3 0x40030b6c in xine_event_wait (queue=0x88bcaf8) at events.c:54 #4 0x40030e9e in listener_loop (queue_gen=0x88bcaf8) at events.c:194 #5 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 14 (Thread 196621 (LWP 721)): #0 0x40772ad2 in sigsuspend () from /lib/libc.so.6 #1 0x40073f35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x40070f05 in pthread_cond_wait () from /lib/libpthread.so.0 #3 0x40030b6c in xine_event_wait (queue=0x8a601d8) at events.c:54 #4 0x40030e9e in listener_loop (queue_gen=0x8a601d8) at events.c:194 #5 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 13 (Thread 180236 (LWP 720)): #0 0x40772ad2 in sigsuspend () from /lib/libc.so.6 #1 0x40073f35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x40070f05 in pthread_cond_wait () from /lib/libpthread.so.0 #3 0x40026dbc in fifo_buffer_get (fifo=0x889f288) at buffer.c:199 #4 0x4002b3a2 in audio_decoder_loop (stream_gen=0x86a23b0) at audio_decoder.c:60 #5 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 12 (Thread 163851 (LWP 719)): #0 0x40772ad2 in sigsuspend () from /lib/libc.so.6 #1 0x40073f35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x40070f05 in pthread_cond_wait () from /lib/libpthread.so.0 #3 0x40026dbc in fifo_buffer_get (fifo=0x86a2c00) at buffer.c:199 #4 0x4002a8e0 in video_decoder_loop (stream_gen=0x86a23b0) at video_decoder.c:78 #5 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 11 (Thread 147466 (LWP 718)): #0 0x407e5e81 in nanosleep () from /lib/libc.so.6 #1 0x40075d0d in nanosleep () from /lib/libpthread.so.0 #2 0x40039f63 in xine_usec_sleep (usec=20000) at utils.c:145 #3 0x4093323f in pvr_plugin_read_block (this_gen=0x8696990, fifo=0x8513948, todo=2048) at input_pvr.c:1296 #4 0x409f9d6a in demux_mpeg_block_parse_pack (this=0x86a0f58, preview_mode=0) at demux_mpeg_block.c:199 #5 0x409fb584 in demux_mpeg_block_send_chunk (this_gen=0x86a0f58) at demux_mpeg_block.c:938 #6 0x40033ae4 in demux_loop (stream_gen=0x86671c0) at demux.c:230 #7 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 10 (Thread 131081 (LWP 717)): #0 0x408039c4 in read () from /lib/libc.so.6 #1 0x4007ab50 in __JCR_LIST__ () from /lib/libpthread.so.0 #2 0x4093255d in pvr_loop (this_gen=0x8696990) at input_pvr.c:844 #3 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 9 (Thread 114696 (LWP 716)): #0 0x40772ad2 in sigsuspend () from /lib/libc.so.6 #1 0x40073f35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x40070f05 in pthread_cond_wait () from /lib/libpthread.so.0 #3 0x40026dbc in fifo_buffer_get (fifo=0x86790d0) at buffer.c:199 #4 0x4002b3a2 in audio_decoder_loop (stream_gen=0x86671c0) at audio_decoder.c:60 #5 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 8 (Thread 98311 (LWP 715)): #0 0x40772ad2 in sigsuspend () from /lib/libc.so.6 #1 0x40073f35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x40070f05 in pthread_cond_wait () from /lib/libpthread.so.0 #3 0x40026dbc in fifo_buffer_get (fifo=0x8513948) at buffer.c:199 #4 0x4002a8e0 in video_decoder_loop (stream_gen=0x86671c0) at video_decoder.c:78 #5 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 7 (Thread 81926 (LWP 714)): #0 0x40772ad2 in sigsuspend () from /lib/libc.so.6 #1 0x40073f35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x40070f05 in pthread_cond_wait () from /lib/libpthread.so.0 #3 0x4002dbc3 in fifo_remove_int (fifo=0x8511890) at audio_out.c:333 #4 0x4002dc1b in fifo_remove (fifo=0x8511890) at audio_out.c:361 #5 0x4002ea01 in ao_loop (this_gen=0x8510ed0) at audio_out.c:895 #6 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 6 (Thread 65541 (LWP 713)): #0 0x40808248 in poll () from /lib/libc.so.6 #1 0x408c5ebe in snd_mixer_wait () from /usr/lib/libasound.so.2 #2 0x410818cc in ao_alsa_handle_event_thread (data=0x8507020) at audio_alsa_out.c:148 #3 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 5 (Thread 49156 (LWP 700)): #0 0x407e5e81 in nanosleep () from /lib/libc.so.6 #1 0x40075d0d in nanosleep () from /lib/libpthread.so.0 #2 0x40039f63 in xine_usec_sleep (usec=31844) at utils.c:145 #3 0x4002ceab in video_out_loop (this_gen=0x80fadf8) at video_out.c:1035 #4 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 4 (Thread 32771 (LWP 699)): #0 0x407e5e81 in nanosleep () from /lib/libc.so.6 #1 0x40074060 in __pthread_timedsuspend_new () from /lib/libpthread.so.0 #2 0x4007110a in pthread_cond_timedwait_relative () from /lib/libpthread.so.0 #3 0x40071296 in pthread_cond_timedwait () from /lib/libpthread.so.0 #4 0x40025226 in metronom_sync_loop (this=0x80f46a8) at metronom.c:726 #5 0x40071d53 in pthread_start_thread () from /lib/libpthread.so.0 Thread 3 (Thread 16386 (LWP 647)): #0 0x40772ad2 in sigsuspend () from /lib/libc.so.6 #1 0x40073f35 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x40070f05 in pthread_cond_wait () from /lib/libpthread.so.0 #3 0x4002fd7a in ao_flush (this_gen=0x8510ed0) at audio_out.c:1695 #4 0x400337e3 in xine_demux_flush_engine (stream=0x86a23b0) at demux.c:94 #5 0x40a16a51 in demux_avi_seek (this_gen=0x88bd870, start_pos=0, start_time=2035) at demux_avi.c:1546 #6 0x40023305 in xine_play_internal (stream=0x86a23b0, start_pos=0, start_time=-4) at xine.c:941 #7 0x40023507 in xine_play (stream=0x86a23b0, start_pos=0, start_time=2035) at xine.c:1004 Thread 2 (Thread 32769 (LWP 646)): #0 0x40808248 in poll () from /lib/libc.so.6 #1 0x40071a8e in __pthread_manager () from /lib/libpthread.so.0 Thread 1 (Thread 16384 (LWP 643)): #0 0x40809a9e in select () from /lib/libc.so.6 #1 0x405c5dc8 in _XlcPublicMethods () from /usr/X11R6/lib/libX11.so.6 #2 0x4053bf29 in _XRead () from /usr/X11R6/lib/libX11.so.6 #3 0x4053bbc3 in _XReadEvents () from /usr/X11R6/lib/libX11.so.6 #4 0x4052df79 in XNextEvent () from /usr/X11R6/lib/libX11.so.6 #5 0x0804f181 in xine_slave (argc=9, argv=0xbffff760) at main.c:1806 #6 0x0805f117 in main (argc=3, argv=0xbffffa24) at OCxineSlave.cpp:112 #0 0x408039c4 in read () from /lib/libc.so.6 and here is *this of audio_out free_fifo = 0x8511850, out_fifo = 0x8511890, last_audio_vpts = 177644202, frame_buf = {0x8512638, 0x85125d0}, zero_space = 0x8532628, passthrough_offset = 0, flush_audio_driver = 0, flush_audio_driver_lock = { __m_reserved = 0, __m_count = 0, __m_owner = 0x0, __m_kind = 0, __m_lock = {__status = 0, __spinlock = 0}}, flush_audio_driver_reached = { __c_lock = {__status = 0, __spinlock = 0}, __c_waiting = 0xbf7ffbe0}, discard_buffers = 3, do_compress = 0, compression_factor = 2, regards, Miguel |