[mythtv] Mythmusic segfault - problems with hidden tracks?

Edward Wildgoose edward.wildgoose at frmhedge.com
Mon Aug 25 14:30:26 EDT 2003


I've been ripping my way through my CD collection and had a problem with a
couple of CD's.  First one was Dido - No Angel, next was Eurythmics "peace
is just a word" promotional cd (from the Sunday Times a while back).

The problem seems to be hidden or bonus tracks.  In the case of the
Eurythmics CD there is a data portion with a movie, etc.  In the Dido, there
is a "bonus track".

Looking at the segfault for mythmusic, "i", the track counter shows we are
trying to rip track 5, but there are only 4 tracks on the CD (at least I
think that is the problem):

Any thoughts on the best way to deal with this?

Ed W
Program received signal SIGSEGV, Segmentation fault.
0x408f1502 in QString::deref() () from /usr/qt/3/lib/libqt-mt.so.3
(gdb) thread apply all bt full

Thread 2 (Thread 32769 (LWP 29422)):
#0  0x40c931b3 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x40a8471f in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x40a84960 in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 29412)):
#0  0x408f1502 in QString::deref() () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#1  0x408f15fc in QString::operator=(QString const&) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#2  0x41d91fd9 in Metadata::setGenre(QString const&) (this=0x0,
lgenre=@0xbfffd790) at metadata.h:68
No locals.
#3  0x41d903b1 in Ripper::ripthedisc() (this=0xbfffe110) at cdrip.cpp:391
        encoder = (class Encoder *) 0x42334720
        track = (Metadata *) 0x0
        i = 4
        tots = {static null = {static null = <same as static member of an
already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x4230cad8, static shared_null =
0x8429e60}
        screenwidth = 1280
        screenheight = 1024
        wmult = 1.60000002
        hmult = 1.70666671
        newdiag = (class MythDialog *) 0x423293e0
        vb = (struct QVBoxLayout *) 0x4232a060
        totallabel = (struct QLabel *) 0x4232ec70
        textstatus = {static null = {static null = <same as static member of
an already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x42315fa8, static shared_null =
0x8429e60}
        cddevice = {static null = {static null = <same as static member of
an already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x42329020, static shared_null =
0x8429e60}
        encodertype = {static null = {static null = <same as static member
of an already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x42316290, static shared_null =
0x8429e60}
        outfile = {static null = {static null = <same as static member of an
already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x42328b60, static shared_null =
0x8429e60}
        decoder = (class CdDecoder *) 0x4232ee28
        encodequal = 3
        findir = {static null = {static null = <same as static member of an
already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x423280d0, static shared_null =
0x8429e60}
        fileundergenre = false
        fileunderartist = true
        fileunderalbum = true
        EjectCD = 64
        PostRipCDScript = {static null = {static null = <same as static
member of an already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x423344e0, static shared_null =
0x8429e60}
#4  0x41df5e74 in Ripper::qt_invoke(int, QUObject*) (this=0xbfffe110,
_id=49, _o=0xbfffd8f0) at moc_cdrip.cpp:105
No locals.
#5  0x40673bd9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#6  0x40673a7d in QObject::activate_signal(int) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
---Type <return> to continue, or q <return> to quit---bitBlt: Incompatible
destination pixmap

#7  0x4095a6fe in QButton::clicked() () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#8  0x406f59c9 in QButton::keyReleaseEvent(QKeyEvent*) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#9  0x400bb757 in MythPushButton::keyReleaseEvent(QKeyEvent*)
(this=0x423162f0, e=0xbfffdcf0) at mythwidgets.cpp:913
        tempe = {<> = {<No data fields>}, txt = {static null = {static null
= <same as static member of an already seen type>,
      d = 0x8429e60, static shared_null = 0x8429e60}, d = 0x42305108, static
shared_null = 0x8429e60}, k = 32, s = 0, a = 32 ' ',
  accpt = 1, autor = 0, c = 1}
#10 0x406a7f1c in QWidget::event(QEvent*) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#11 0x40615e04 in QApplication::internalNotify(QObject*, QEvent*) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#12 0x4061577c in QApplication::notify(QObject*, QEvent*) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#13 0x405bc4ae in QETWidget::translateKeyEvent(_XEvent const*, bool) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#14 0x405b819d in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#15 0x405cd6d1 in QEventLoop::processEvents(unsigned) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#16 0x40629c06 in QEventLoop::enterLoop() () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#17 0x40616091 in QApplication::enter_loop() () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#18 0x4012685f in MythDialog::exec() (this=0xbfffe110) at
mythdialogs.cpp:275
        res = 23165408
#19 0x41da453f in startRipper(QSqlDatabase*) (db=0x84b06c8) at main.cpp:264
        rip = {<MythDialog> = {<> = {<No data fields>}, static metaObj =
0x8500e38, wmult = 1.60000002, hmult = 1.70666671,
    screenwidth = 1280, screenheight = 1024, m_parent = 0x84be660, rescode =
0, in_loop = true}, static metaObj = 0x42305ad0,
  db = 0x84b06c8, bigvb = 0x42308e38, firstdiag = 0x42309048, artistedit = 0
x423085e8, albumedit = 0x4230d240,
  genreedit = 0x4230e7b0, table = 0x42316d78, qualitygroup = 0x42301660,
statusline = 0x4232f6a8, overall = 0x4232f920,
  current = 0x42330180, totaltracks = 4, albumname = {static null = {static
null = <same as static member of an already seen type>,
      d = 0x8429e60, static shared_null = 0x8429e60}, d = 0x423057c8, static
shared_null = 0x8429e60}, artistname = {static null = {
      static null = <same as static member of an already seen type>, d =
0x8429e60, static shared_null = 0x8429e60},
    d = 0x42304fe0, static shared_null = 0x8429e60}, genrename = {static
null = {
      static null = <same as static member of an already seen type>, d =
0x8429e60, static shared_null = 0x8429e60},
    d = 0x42300f68, static shared_null = 0x8429e60}}
#20 0x41da465c in MusicCallback(void*, QString&) (data=0xbfffebc0,
selection=@0x42300720) at main.cpp:289
        mdata = (MusicData *) 0xbfffebc0
        sel = {static null = {static null = <same as static member of an
already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x4230b1f0, static shared_null =
0x8429e60}
#21 0x400de78e in ThemedMenu::handleAction(QString&) (this=0x423005d0,
action=@0x42306534) at themedmenu.cpp:1801
No locals.
#22 0x400dd3f1 in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x423005d0,
e=0xbfffe780) at themedmenu.cpp:1649
        handled = false
        lastbutton = (ThemedButton *) 0x423064f8
        oldrow = 1
#23 0x406a7ebc in QWidget::event(QEvent*) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#24 0x40615e04 in QApplication::internalNotify(QObject*, QEvent*) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#25 0x4061577c in QApplication::notify(QObject*, QEvent*) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#26 0x405bc4ae in QETWidget::translateKeyEvent(_XEvent const*, bool) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#27 0x405b819d in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#28 0x405cd6d1 in QEventLoop::processEvents(unsigned) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#29 0x40629c06 in QEventLoop::enterLoop() () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#30 0x40616091 in QApplication::enter_loop() () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#31 0x4012685f in MythDialog::exec() (this=0x423005d0) at
mythdialogs.cpp:275
        res = 1074948072
#32 0x41da4b81 in runMenu(QString, QString, PlaylistsContainer*, AllMusic*,
QString) (paths=
      {static null = {static null = <same as static member of an already
seen type>, d = 0x8429e60, static shared_null = 0x8429e60}, d = 0x850fd30,
static shared_null = 0x8429e60}, startdir=
      {static null = {static null = <same as static member of an already
seen type>, d = 0x8429e60, static shared_null = 0x8429e60}, d = 0x8520bb8,
static shared_null = 0x8429e60}, all_playlists=0x42300490,
all_music=0x84fa1f0, which_menu=
      {static null = {static null = <same as static member of an already
seen type>, d = 0x8429e60, static shared_null = 0x8429e60}, d = 0x423004f0,
static shared_null = 0x8429e60}) at main.cpp:346
        themedir = {static null = {static null = <same as static member of
an already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x84be560, static shared_null =
0x8429e60}
        db = (struct QSqlDatabase *) 0x84b06c8
        diag = (ThemedMenu *) 0x423005d0
        data = {paths = {static null = {static null = <same as static member
of an already seen type>, d = 0x8429e60,
      static shared_null = 0x8429e60}, d = 0x850fd30, static shared_null =
0x8429e60}, db = 0x84b06c8, startdir = {static null = {
      static null = <same as static member of an already seen type>, d =
0x8429e60, static shared_null = 0x8429e60}, d = 0x8520bb8,
    static shared_null = 0x8429e60}, all_playlists = 0x42300490, all_music =
0x84fa1f0}
#33 0x41da5c28 in mythplugin_run () at main.cpp:431
        translator = <incomplete type>
        db = (struct QSqlDatabase *) 0x84b06c8
        count_query = <incomplete type>
        musicdata_exists = true
        startdir = {static null = {static null = <same as static member of
an already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x8520bb8, static shared_null =
0x8429e60}
        paths = {static null = {static null = <same as static member of an
already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x850fd30, static shared_null =
0x8429e60}
        all_music = (AllMusic *) 0x84fa1f0
        all_playlists = (PlaylistsContainer *) 0x42300490
#34 0x40124905 in MythPluginManager::MythPlugin::run() (this=0x84fb4e8) at
mythplugin.cpp:35
        rfunc = 0x41da4fd8 <mythplugin_run>
#35 0x40124ddd in MythPluginManager::run_plugin(QString const&)
(plugname=@0xbfffee70) at mythplugin.cpp:89
        newname = {static null = {static null = <same as static member of an
already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x8512658, static shared_null =
0x8429e60}
#36 0x400de6dc in ThemedMenu::handleAction(QString&) (this=0x8513378,
action=@0x8520dec) at themedmenu.cpp:1794
        rest = {static null = {static null = <same as static member of an
already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x8500b88, static shared_null =
0x8429e60}
#37 0x400dd3f1 in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x8513378,
e=0xbffff2d0) at themedmenu.cpp:1649
        handled = false
        lastbutton = (ThemedButton *) 0x8520db0
        oldrow = 0
#38 0x406a7ebc in QWidget::event(QEvent*) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#39 0x40615e04 in QApplication::internalNotify(QObject*, QEvent*) () from
/usr/qt/3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#40 0x4061577c in QApplication::notify(QObject*, QEvent*) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#41 0x405bc4ae in QETWidget::translateKeyEvent(_XEvent const*, bool) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#42 0x405b819d in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#43 0x405cd6d1 in QEventLoop::processEvents(unsigned) () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#44 0x40629c06 in QEventLoop::enterLoop() () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#45 0x40616091 in QApplication::enter_loop() () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#46 0x4012685f in MythDialog::exec() (this=0x8513378) at mythdialogs.cpp:275
        res = 1074948072
#47 0x0806de4c in RunMenu(QString) (themedir=
      {static null = {static null = <same as static member of an already
seen type>, d = 0x8429e60, static shared_null = 0x8429e60}, d = 0x84d22c8,
static shared_null = 0x8429e60}) at main.cpp:327
        exitstatus = 0
#48 0x0806f53c in main (argc=1, argv=0xbffff914) at main.cpp:486
        lcd_host = {static null = {static null = <same as static member of
an already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x84eeb60, static shared_null =
0x8429e60}
        lcd_port = 0
        a = <incomplete type>
        translator = <incomplete type>
        db = (struct QSqlDatabase *) 0x84b06c8
        themename = {static null = {static null = <same as static member of
an already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x84d2230, static shared_null =
0x8429e60}
        randomtheme = false
        themedir = {static null = {static null = <same as static member of
an already seen type>, d = 0x8429e60,
    static shared_null = 0x8429e60}, d = 0x84d22c8, static shared_null =
0x8429e60}
        mainWindow = (MythMainWindow *) 0x84be660
        exitstatus = 138591440
#49 0x40bda767 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.



More information about the mythtv-dev mailing list