[mythtv] mythmusic crashing

Daniel Paessler paessler at gmx.de
Sun Aug 31 14:50:11 EDT 2003


ok, did that, output follows here, three times the same, but this
section appears endlessly, ever and ever the same...:

(More stack frames follow...)
(gdb)
#0  0x40af3c46 in sigsuspend () from /lib/libc.so.6
#1  0x409a90c9 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
#2  0x409aa7ee in __pthread_alt_lock () from /lib/libpthread.so.0
#3  0x409a7b17 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0x407e5752 in QRealMutexPrivate::lock() () from
/usr/qt/3/lib/libqt-mt.so.3
#5  0x407e6014 in QMutex::lock() () from /usr/qt/3/lib/libqt-mt.so.3
#6  0x419447a8 in MadDecoder::flush(bool) (this=0x8a8fbf0, final=false)
    at maddecoder.cpp:298
#7  0x4194513f in MadDecoder::madOutput() (this=0x8a8fbf0)
    at maddecoder.cpp:510
#8  0x41944e76 in MadDecoder::run() (this=0x8a8fbf0) at
maddecoder.cpp:419
#9  0x4052d0b8 in start_thread () from /usr/qt/3/lib/libqt-mt.so.3
(More stack frames follow...)
(gdb)
#0  0x40af3c46 in sigsuspend () from /lib/libc.so.6
#1  0x409a90c9 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
#2  0x409aa7ee in __pthread_alt_lock () from /lib/libpthread.so.0
#3  0x409a7b17 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0x407e5752 in QRealMutexPrivate::lock() () from
/usr/qt/3/lib/libqt-mt.so.3
#5  0x407e6014 in QMutex::lock() () from /usr/qt/3/lib/libqt-mt.so.3
#6  0x419447a8 in MadDecoder::flush(bool) (this=0x8a8fbf0, final=false)
    at maddecoder.cpp:298
#7  0x4194513f in MadDecoder::madOutput() (this=0x8a8fbf0)
    at maddecoder.cpp:510
#8  0x41944e76 in MadDecoder::run() (this=0x8a8fbf0) at
maddecoder.cpp:419
#9  0x4052d0b8 in start_thread () from /usr/qt/3/lib/libqt-mt.so.3
(More stack frames follow...)
(gdb)
#0  0x40af3c46 in sigsuspend () from /lib/libc.so.6
#1  0x409a90c9 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
#2  0x409aa7ee in __pthread_alt_lock () from /lib/libpthread.so.0
#3  0x409a7b17 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0x407e5752 in QRealMutexPrivate::lock() () from
/usr/qt/3/lib/libqt-mt.so.3
#5  0x407e6014 in QMutex::lock() () from /usr/qt/3/lib/libqt-mt.so.3
#6  0x419447a8 in MadDecoder::flush(bool) (this=0x8a8fbf0, final=false)
    at maddecoder.cpp:298
#7  0x4194513f in MadDecoder::madOutput() (this=0x8a8fbf0)
    at maddecoder.cpp:510
#8  0x41944e76 in MadDecoder::run() (this=0x8a8fbf0) at
maddecoder.cpp:419
#9  0x4052d0b8 in start_thread () from /usr/qt/3/lib/libqt-mt.so.3
(More stack frames follow...)


daniel

Am Son, 2003-08-31 um 01.12 schrieb Mark Edwards:
> daniel,
> 
> mythmusic needs to be compiled with the -g option.. this can be turned on by
> using the DEBUG settings in the .pro files. Change the .pro files, rerun
> qmake and then do a make clean; make
> 
> 
> to invoke gdb, just type:
> 
> #gdb mythfrontend
> 
> You might want to try and run myth on a separate display so you can debug in
> a ssh session on a separate terminal. If you do so, make sure you export the
> DISPLAY variable so that myth can present the display on your TV or whatever
> you are using.
> 
> when GDB is invoked with mythfrontend type 'run' to start things off.
> 
> gdb> run
> 
> when it segfaults, get the backtrace with the command bt 10 or bt 15 -
> depending on how much you want to see.
> 
> gdb> bt 10
> 
> it is the backtrace you will want to post here.
> 
> regards,
> Mark.
-- 
email: daniel at paessler.org / phone: +49 3722 83884
fax: +49 89 244365117     / web: www.paessler.org

We all know Linux is great...it does infinite loops in 5 seconds.
Linus Torvalds




More information about the mythtv-dev mailing list