Opened 20 years ago
Closed 20 years ago
Last modified 20 years ago
#308 closed defect (duplicate)
SEGFAULT in mythmusic on CD insert - SVN 7177
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | major | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Whenever I try to rip a CD or try to go into music select when a CD is inserted, I get a segfault. Here's the backtrace:
(gdb) thread apply all bt full
Thread 9 (Thread -1244521552 (LWP 12812)): #0 0x003e4402 in kernel_vsyscall () No symbol table info available. #1 0x013a1118 in raise () from /lib/libc.so.6 No symbol table info available. #2 0x013a2888 in abort () from /lib/libc.so.6 No symbol table info available. #3 0x013d622a in libc_message () from /lib/libc.so.6 No symbol table info available. #4 0x01456c45 in chk_fail () from /lib/libc.so.6 No symbol table info available. #5 0x024c7cd0 in cddb_read_disc_data () from /usr/lib/libcdaudio.so.1 No symbol table info available. #6 0x0224a1c8 in CdDecoder::getMetadata ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #7 0x02249e37 in CdDecoder::getLastMetadata ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #8 0x022cd945 in ReadCDThread::run ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #9 0x06608968 in QThreadInstance::start ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #10 0x00568b80 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #11 0x014439ce in clone () from /lib/libc.so.6 No symbol table info available.
Thread 8 (Thread -1221702736 (LWP 12811)): #0 0x003e4402 in kernel_vsyscall () No symbol table info available. #1 0x0056aa1c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
No symbol table info available. #2 0x06608bc0 in QThread::exit () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #3 0x06608d5e in QThread::usleep () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #4 0x02260118 in MadDecoder::flush ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #5 0x022602ae in MadDecoder::madOutput ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #6 0x022605c9 in MadDecoder::run ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #7 0x06608968 in QThreadInstance::start ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #8 0x00568b80 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #9 0x014439ce in clone () from /lib/libc.so.6 No symbol table info available.
Thread 7 (Thread -1232454736 (LWP 12810)): #0 0x003e4402 in kernel_vsyscall () No symbol table info available. #1 0x01405b86 in nanosleep_nocancel () from /lib/libc.so.6 No symbol table info available. #2 0x0143ca57 in usleep () from /lib/libc.so.6 No symbol table info available. #3 0x0095d08f in AudioOutputBase::OutputAudioLoop? (this=0xb5d45008)
at audiooutputbase.cpp:772
space_on_soundcard = 1064 last_space_on_soundcard = 1064 zeros = 0xb68a2060 "" fragment = 0xb68a1050 "´\003¹\v\235\003x\v]\003+\v\037\003«\n!\003F\nA\003\"\n5\003ò\t\017\003¸\t\031\003·\tC\003Í\tA\003Ç\t%\003Ò\t2\003\017\nI\003b\nE\003È\n\003L\v\232\003Ð\v¸\0039\fÒ\003\235\f \004\021\r[\004\200\r_\004×\rz\004,\016©\004\213\016\232\004»\016j\004\213\016
\004%\016O\004¹\r\037\004-\ré\003|\f¹\003ä\v\212\003g\v\003Ë\n,\003*\n\002\003Ù\t" e = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x0},
error_msg = 0x0, elasped_seconds = 1, written_bytes = 21624960, brate = 21574196, freq = 115721032, prec = 144090440, chan = -1232456744}
#4 0x0095d6ba in AudioOutputBase::kickoffOutputAudioLoop (player=0xb5d45008)
at audiooutputbase.cpp:865
No locals. #5 0x00568b80 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #6 0x014439ce in clone () from /lib/libc.so.6 No symbol table info available.
Thread 6 (Thread -1232454736 (LWP 12809)): #0 0x003e4402 in kernel_vsyscall () No symbol table info available. #1 0x01405b86 in nanosleep_nocancel () from /lib/libc.so.6 No symbol table info available. #2 0x0143ca57 in usleep () from /lib/libc.so.6 ---Type <return> to continue, or q <return> to quit--- No symbol table info available. #3 0x0095d08f in AudioOutputBase::OutputAudioLoop? (this=0xb5d45008)
at audiooutputbase.cpp:772
space_on_soundcard = 1064 last_space_on_soundcard = 1064 zeros = 0xb68a2060 "" fragment = 0xb68a1050 "´\003¹\v\235\003x\v]\003+\v\037\003«\n!\003F\nA\003\"\n5\003ò\t\017\003¸\t\031\003·\tC\003Í\tA\003Ç\t%\003Ò\t2\003\017\nI\003b\nE\003È\n\003L\v\232\003Ð\v¸\0039\fÒ\003\235\f \004\021\r[\004\200\r_\004×\rz\004,\016©\004\213\016\232\004»\016j\004\213\016
\004%\016O\004¹\r\037\004-\ré\003|\f¹\003ä\v\212\003g\v\003Ë\n,\003*\n\002\003Ù\t" e = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x0},
error_msg = 0x0, elasped_seconds = 1, written_bytes = 21624960, brate = 21574196, freq = 115721032, prec = 144090440, chan = -1232456744}
#4 0x0095d6ba in AudioOutputBase::kickoffOutputAudioLoop (player=0xb5d45008)
at audiooutputbase.cpp:865
No locals. #5 0x00568b80 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #6 0x014439ce in clone () from /lib/libc.so.6 No symbol table info available.
Thread 5 (Thread -1221702736 (LWP 12807)): #0 0x003e4402 in kernel_vsyscall () No symbol table info available. #1 0x0056aa1c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
No symbol table info available. #2 0x06608bc0 in QThread::exit () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #3 0x06608d5e in QThread::usleep () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #4 0x02260118 in MadDecoder::flush ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #5 0x022602ae in MadDecoder::madOutput ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #6 0x022605c9 in MadDecoder::run ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #7 0x06608968 in QThreadInstance::start ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #8 0x00568b80 in start_thread () from /lib/libpthread.so.0 No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #9 0x014439ce in clone () from /lib/libc.so.6 No symbol table info available.
Thread 4 (Thread -1221702736 (LWP 12801)): #0 0x003e4402 in kernel_vsyscall () No symbol table info available. #1 0x0056aa1c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
No symbol table info available. #2 0x06608bc0 in QThread::exit () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #3 0x06608d5e in QThread::usleep () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #4 0x02260118 in MadDecoder::flush ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #5 0x022602ae in MadDecoder::madOutput ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #6 0x022605c9 in MadDecoder::run ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #7 0x06608968 in QThreadInstance::start ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #8 0x00568b80 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #9 0x014439ce in clone () from /lib/libc.so.6 No symbol table info available.
Thread 3 (Thread -1211212880 (LWP 12800)): #0 0x003e4402 in kernel_vsyscall () No symbol table info available. #1 0x0056d13b in read_nocancel () from /lib/libpthread.so.0 No symbol table info available. #2 0x03c84e82 in lirc_nextcode () from /usr/lib/liblirc_client.so.0 No symbol table info available. #3 0x00994cd9 in LircClient::Process (this=0x8976580) at lirc.cpp:67
code = 0x0 ir = 0x0 ret = 0
#4 0x0090b244 in SpawnLirc? (param=0x89758b0) at mythdialogs.cpp:53
main_window = (MythMainWindow? *) 0x89758b0 config_file = {static null = {
static null = <same as static member of an already seen type>, d = 0x88123d8, static shared_null = 0x88123d8}, d = 0x8961fd0,
static shared_null = 0x88123d8}
program = {static null = {
static null = <same as static member of an already seen type>, d = 0x88123d8, static shared_null = 0x88123d8}, d = 0x8976038,
static shared_null = 0x88123d8}
cl = (class LircClient? *) 0x8976580
#5 0x00568b80 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #6 0x014439ce in clone () from /lib/libc.so.6 No symbol table info available.
Thread 2 (Thread 32541616 (LWP 12799)): #0 0x003e4402 in kernel_vsyscall () No symbol table info available. #1 0x0056a7a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 No symbol table info available. #2 0x069453d1 in QWaitCondition::wait ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #3 0x008503df in MythContext::waitPrivRequest (this=0x8851e98)
at mythcontext.cpp:2478
No locals. #4 0x0806f0ab in run_priv_thread (data=0x0) at main.cpp:697 No locals. #5 0x00568b80 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #6 0x014439ce in clone () from /lib/libc.so.6 No symbol table info available.
Thread 1 (Thread -1208735232 (LWP 12795)): #0 0x003e4402 in kernel_vsyscall () No symbol table info available. #1 0x0143c221 in _newselect_nocancel () from /lib/libc.so.6 No symbol table info available. #2 0x065ba168 in QEventLoop::processEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #3 0x0662878b in QEventLoop::enterLoop ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #4 0x0660fabf in QApplication::enter_loop ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #5 0x0090bb98 in MythDialog::exec (this=0xbf961b64) at mythdialogs.cpp:1020
res = 36969208
#6 0x022874fc in PlaybackBoxMusic::editPlaylist ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #7 0x023125a9 in PlaybackBoxMusic::qt_invoke ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #8 0x06674df4 in QObject::activate_signal ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #9 0x066752b4 in QObject::activate_signal ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #10 0x009ac6ee in UITextButtonType::pushed (this=0x8989dd0)
at moc_uitypes.cpp:1024
No locals. #11 0x008c2e7b in UITextButtonType::push (this=0x8989dd0) at uitypes.cpp:3945 No locals. #12 0x0228c6ee in PlaybackBoxMusic::keyPressEvent ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #13 0x066b2e45 in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #14 0x066100cd in QApplication::internalNotify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #15 0x06610d59 in QApplication::notify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #16 0x0085d58d in QApplication::sendEvent (receiver=0x89821b8,
event=0xbf9621f8) at /usr/lib/qt-3.3/include/qapplication.h:515
No locals. #17 0x0091bc74 in MythMainWindow::customEvent (this=0x89758b0, ce=0x90e0ba8)
at mythdialogs.cpp:818
k = 268435507 ascii = 51 key = {<> = {<No data fields>}, txt = {static null = {
static null = <same as static member of an already seen type>, d = 0x88123d8, static shared_null = 0x88123d8}, d = 0x90de460,
static shared_null = 0x88123d8}, k = 51, s = 0, a = 51 '3', accpt = 1,
autor = 0, c = 1}
mod = 0 text = {static null = {
static null = <same as static member of an already seen type>, d = 0x88123d8, static shared_null = 0x88123d8}, d = 0x90de460,
static shared_null = 0x88123d8}
key_target = (struct QObject *) 0x89821b8 lke = (LircKeycodeEvent? *) 0x90e0ba8 keycode = 268435507
#18 0x0667495b in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #19 0x066b2dec in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #20 0x066100cd in QApplication::internalNotify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #21 0x06610a26 in QApplication::notify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #22 0x06611853 in QApplication::sendPostedEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #23 0x066119e8 in QApplication::sendPostedEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #24 0x065b9f7e in QEventLoop::processEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #25 0x06628772 in QEventLoop::enterLoop ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #26 0x0660fabf in QApplication::enter_loop ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #27 0x0090bb98 in MythDialog::exec (this=0x89821b8) at mythdialogs.cpp:1020
res = 9485088
#28 0x02263a04 in startPlayback () from /usr/lib/mythtv/plugins/libmythmusic.so No symbol table info available. #29 0x022686cd in runMusicPlayback ()
from /usr/lib/mythtv/plugins/libmythmusic.so
No symbol table info available. #30 0x00913458 in MythMainWindow::ExitToMainMenu? (this=0x89758b0)
at mythdialogs.cpp:395
callback = (void (*)(void)) 0x2268678 <runMusicPlayback()> current = (struct QWidget *) 0x8966dd0
#31 0x0091b469 in MythMainWindow::customEvent (this=0x89758b0, ce=0x89815d0)
at mythdialogs.cpp:732
No locals. #32 0x0667495b in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #33 0x066b2dec in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 No symbol table info available. #34 0x066100cd in QApplication::internalNotify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #35 0x06610a26 in QApplication::notify ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #36 0x06611853 in QApplication::sendPostedEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #37 0x066119e8 in QApplication::sendPostedEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #38 0x065b9f7e in QEventLoop::processEvents ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #39 0x06628772 in QEventLoop::enterLoop ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #40 0x0660fabf in QApplication::enter_loop ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available. #41 0x0090bb98 in MythDialog::exec (this=0x8966dd0) at mythdialogs.cpp:1020
res = 9485088
#42 0x080704d5 in RunMenu? (themedir=@0xbf9632ac) at main.cpp:532
exitstatus = 0
#43 0x080737d8 in main (argc=1, argv=0xbf963374) at main.cpp:1108
geometry = {static null = {
static null = <same as static member of an already seen type>, d = 0x88123d8, static shared_null = 0x88123d8}, d = 0x88245e0,
static shared_null = 0x88123d8}
a = <incomplete type> logfile = {static null = {
static null = <same as static member of an already seen type>, d = 0x88123d8, static shared_null = 0x88123d8}, d = 0x8851a68,
static shared_null = 0x88123d8}
verboseString = {static null = {
static null = <same as static member of an already seen type>, d = 0x88123d8, static shared_null = 0x88123d8}, d = 0x884e158,
static shared_null = 0x88123d8}
pluginname = {static null = {
static null = <same as static member of an already seen type>, d = 0x88123d8, static shared_null = 0x88123d8}, d = 0x884e170,
static shared_null = 0x88123d8}
finfo = {fn = {static null = {
static null = <same as static member of an already seen type>, d = 0x88123d8, static shared_null = 0x88123d8}, d = 0x884f530,
static shared_null = 0x88123d8}, fic = 0x0, cache = true, symLink = false}
binname = {static null = {
static null = <same as static member of an already seen type>, d = 0x88123d8, static shared_null = 0x88123d8}, d = 0x884f548,
static shared_null = 0x88123d8}
logfd = -1 fileprefix = {static null = {
static null = <same as static member of an already seen type>, d = 0x88123d8, static shared_null = 0x88123d8}, d = 0x884c4d8,
static shared_null = 0x88123d8}
dir = <incomplete type> priv_thread = 32541616 status = 0 themename = {static null = {
static null = <same as static member of an already seen type>, d = 0x88123d8, static shared_null = 0x88123d8}, d = 0x88f9ee8,
static shared_null = 0x88123d8}
randomtheme = false themedir = {static null = {
static null = <same as static member of an already seen type>, d = 0x88123d8, static shared_null = 0x88123d8}, d = 0x88f8c68,
static shared_null = 0x88123d8}
mainWindow = (
random_access_iterator_tagE6copy_bIP15UDPNotifyOSDSetEEPT_PKS5_S8_S6_ *) 0x89758b0
pmanager = (MythPluginManager? *) 0x88edea0 mon = (@ÜÁ @ *) 0x0 exitstatus = -1080675608
(gdb)
Attachments (1)
Change History (3)
comment:1 Changed 20 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Changed 20 years ago by
Attachment: | libcdaudio.diff added |
---|
comment:2 Changed 20 years ago by
FYI - I've created a patch for libcdaudio that fixes the buffer overflow and have submitted to the maintainer. I do not know how quickly this will be resolved in the libcdaudio source, so I'm attaching the patch here as well for those interested.
Bug's in libcdaudio, not myth.