From: <ran...@ya...> - 2002-03-23 11:19:34
|
Jackpot! (gdb) where #0 0x401bbab5 in sigsuspend () from /lib/libc.so.6 #1 0x400a2f5b in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x4009fbff in pthread_cond_wait () from /lib/libpthread.so.0 #3 0x400902b0 in vo_get_frame (this_gen=0x81208c0, width=720, height=576, ratio=2, format=842094169, flags=5) at video_out.c:143 #4 0x4375c92d in mpeg2_decode_data (mpeg2dec=0x8200514, current=0x43049fde "\013þ!Õ£G\235XM²\0348b¡A6F'Ä$08t\203J\205\026pÑÍ%àÚy", end=0x4304a000 "", pts=53280) at decode.c:369 #5 0x43760f40 in mpeg2dec_decode_data (this_gen=0x82004f0, buf=0x8147a08) at xine_decoder.c:88 #6 0x4008d8f1 in video_decoder_loop (this_gen=0x80e9b88) at video_decoder.c:251 #7 0x400a0bba in pthread_start_thread () from /lib/libpthread.so.0 Chris --- Miguel Freitas <mi...@ce...> wrote: > Chris, > > I think core dumps never works for multithreaded > apps. In fact, from a > kernel perspective they must be several tasks > "cloned". > > In this case, we can't say anything without the > video decoder thread > stack trace. > > regards, > > Miguel > > Chris Rankin wrote: > > > I guess my core only contains one thread (which > surely > > can't be right - maybe Linux 2.4.18 cores don't > work > > correctly with gdb 5.1?) > > > > Anyway, here's a sample stack trace (in metronom.c > > this time): > > > > > > (gdb) bt > > #0 0x401bbab5 in sigsuspend () from > /lib/libc.so.6 > > #1 0x400a2f5b in > __pthread_wait_for_restart_signal () > > from /lib/libpthread.so.0 > > #2 0x4009fbff in pthread_cond_wait () from > > /lib/libpthread.so.0 > > #3 0x4008937b in > metronom_handle_audio_discontinuity > > (this=0x80f93f0, type=2, > > disc_off=247581073) at metronom.c:423 > > #4 0x4008e4b1 in audio_decoder_loop > > (this_gen=0x80e9758) at audio_decoder.c:136 > > #5 0x400a0bba in pthread_start_thread () from > > /lib/libpthread.so.0 > > > > Chris > > > > > > __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |