[mythtv] Re: Segfault in mythfrontend 0.13

Kuwanger neutrino99 at hotmail.com
Thu Dec 11 05:35:04 EST 2003


Sorry, here's a complete backtrace per the docs.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 98311 (LWP 2664)]
0x488f7031 in _int_free () from /lib/libc.so.6
(gdb) thread apply all bt full

Thread 12 (Thread 163851 (LWP 2672)):
#0  0x4892caa6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 11 (Thread 147466 (LWP 2671)):
#0  0x4892caa6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 10 (Thread 131081 (LWP 2670)):
#0  0x489532f1 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x2b2ffc48 in __JCR_LIST__ () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#2  0x2ab9cbd7 in ReadStringList(QSocketDevice*, QStringList&, bool) (
    socket=0x85cae88, list=@0x3065f8bc, quickTimeout=true) at util.cpp:143
        errorcount = 16
        sizestr = <incomplete type>
        size = 1219427095
---Type <return> to continue, or q <return> to quit---
        utf8 = <incomplete type>
        read = 811989044
        zerocnt = 140637276
        str = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x8a2d828,
  static shared_null = 0x85336b0}
#3  0x2ab75a7d in RemoteFile::RequestBlock(int) (this=0x87ce0f8, size=64000)
    at remotefile.cpp:196
        strlist = {<QValueList<QString>> = {sh = 0x85afdd0}, <No data fields>}
#4  0x0816ba89 in RingBuffer::safe_read(RemoteFile*, void*, unsigned) (
    this=0x89b21a8, rf=0x87ce0f8, data=0x2d50a208, sz=64000)
    at RingBuffer.cpp:494
        ret = 144384424
        tot = 0
        zerocnt = 0
        hiteof = false
        reqsize = 64000
        sock = (struct QSocketDevice *) 0x85d74d8
        available = 0
#5  0x0816c63e in RingBuffer::ReadAheadThread() (this=0x89b21a8)
    at RingBuffer.cpp:753
        totfree = 64000
---Type <return> to continue, or q <return> to quit---
        ret = 64000
        used = 80764
#6  0x0816c393 in RingBuffer::startReader(void*) (type=0x89b21a8)
    at RingBuffer.cpp:692
        rbuffer = (RingBuffer *) 0x89b21a8
#7  0x48aeecc0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0x48aeedc2 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
 
Thread 9 (Thread 114696 (LWP 2669)):
#0  0x48af4806 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x48aedea9 in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
No symbol table info available.
#3  0x2b144033 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0816cd99 in RingBuffer::ReadFromBuf(void*, int) (this=0x89b21a8,
    buf=0x87755a0, count=2300) at RingBuffer.cpp:862
        readone = false
---Type <return> to continue, or q <return> to quit---
        avail = 886
#5  0x0816d075 in RingBuffer::Read(void*, int) (this=0x89b21a8, buf=0x87755a0,
    count=2300) at RingBuffer.cpp:932
        ret = -1
#6  0x081a8ed0 in NuppelDecoder::GetFrame(int) (this=0x85f3828, avignore=0)
    at nuppeldecoder.cpp:915
        currentposition = 319102
        framesearch = false
        gotvideo = false
        ret = false
        seeklen = 0
#7  0x080fec62 in NuppelVideoPlayer::GetFrame(int, bool) (this=0x85dd988,
    onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:599
No locals.
#8  0x081019b5 in NuppelVideoPlayer::StartPlaying() (this=0x85dd988)
    at NuppelVideoPlayer.cpp:1567
        output_video = 163851
        pausecheck = 1
#9  0x08187663 in SpawnDecode(void*) (param=0x85dd988) at tv_play.cpp:150
        nvp = (NuppelVideoPlayer *) 0x85dd988
#10 0x48aeecc0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#11 0x48aeedc2 in pthread_start_thread_event () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
 
Thread 8 (Thread 98311 (LWP 2664)):
#0  0x488f7031 in _int_free () from /lib/libc.so.6
No symbol table info available.
#1  0x488f5eca in free () from /lib/libc.so.6
No symbol table info available.
#2  0x2b159394 in QGArray::~QGArray() () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#3  0x2b167479 in QRegExpEngine::~QRegExpEngine() ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#4  0x2b1701cf in QCache<QRegExpEngine>::deleteItem(void*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#5  0x2b15b122 in QGCache::makeRoomFor(int, int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#6  0x2b15aa38 in QGCache::insert_string(QString const&, void*, int, int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#7  0x2b16da1a in regexpEngine(QRegExpEngine*&, QString const&, bool, bool) ()
   from /usr/qt/3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#8  0x2b16f300 in QRegExp::invalidateEngine() ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#9  0x2b16e202 in QRegExp::~QRegExp() () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#10 0x2b178064 in QString::replace(QRegExp const&, QString const&) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#11 0x0812e9e6 in OSDSet::SetTextByRegexp(QMap<QString, QString>&) (
    this=0x886b258, regexpMap=@0x2f65f73c) at osdtypes.cpp:255
        riter = {node = 0x89b0128}
        new_text = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85d9138,
  static shared_null = 0x85336b0}
        full_regex = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85cb100,
  static shared_null = 0x85336b0}
        item = (OSDTypeText *) 0x886b528
        type = (OSDType *) 0x886b528
        iter = 
{<iterator<std::random_access_iterator_tag,OSDType*,int,OSDType**---Type 
<return> to continue, or q <return> to quit---
,OSDType*&>> = {<No data fields>}, _M_current = 0x85ad778}
#12 0x08124409 in OSD::SetTextByRegexp(QString const&, QMap<QString, 
QString>&, int) (this=0x861f4e8, name=@0x2f65f70c, regexpMap=@0x2f65f73c, 
length=-1)
    at osd.cpp:1002
        container = (class OSDSet *) 0x886b258
#13 0x0819600d in TV::BrowseDispInfo(int) (this=0x89ac730, direction=0)
    at tv_play.cpp:2650
        curtime = {d = {jd = 2452985}, t = {ds = 19584362}}
        maxtime = {d = {jd = 2452985}, t = {ds = 33984362}}
        lastprogtime = {d = {jd = 2452985}, t = {ds = 18000000}}
        regexpMap = {sh = 0x89b5d80}
        startts = {d = {jd = 2452985}, t = {ds = 18000000}}
        program_info = (ProgramInfo *) 0x87bd5c8
#14 0x08195834 in TV::BrowseStart() (this=0x89ac730) at tv_play.cpp:2587
        oset = (class OSDSet *) 0x886b258
        title = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x89989d8,
  static shared_null = 0x85336b0}
        subtitle = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x87d54a0,
  static shared_null = 0x85336b0}
---Type <return> to continue, or q <return> to quit---
        desc = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x8628118,
  static shared_null = 0x85336b0}
        category = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x8944ca8,
  static shared_null = 0x85336b0}
        starttime = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x895fb08,
  static shared_null = 0x85336b0}
        endtime = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x860e570,
  static shared_null = 0x85336b0}
        callsign = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85ae978,
  static shared_null = 0x85336b0}
        iconpath = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x890e668,
---Type <return> to continue, or q <return> to quit---
  static shared_null = 0x85336b0}
        channum = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x88e8818,
  static shared_null = 0x85336b0}
        chanid = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85d0dd0,
  static shared_null = 0x85336b0}
#15 0x08195b0f in TV::BrowseDispInfo(int) (this=0x89ac730, direction=2)
    at tv_play.cpp:2612
        curtime = {d = {jd = 795212052}, t = {ds = 1219464152}}
        maxtime = {d = {jd = 795212204}, t = {ds = 140349424}}
        lastprogtime = {d = {jd = 795212052}, t = {ds = 722936732}}
        regexpMap = {sh = 0x88eb278}
        startts = {d = {jd = 795211956}, t = {ds = 1219427522}}
        program_info = (ProgramInfo *) 0x489a9720
#16 0x0818dbaa in TV::ProcessKeypress(QKeyEvent*) (this=0x89ac730, 
e=0x85402b0)
    at tv_play.cpp:1294
        i = 0
        was_doing_ff_rew = false
        actions = {<QValueList<QString>> = {sh = 0x85aeac0}, <No data fields>}
        action = {static null = {
---Type <return> to continue, or q <return> to quit---
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85d4398,
  static shared_null = 0x85336b0}
        handled = true
#17 0x0818bc0c in TV::RunTV() (this=0x89ac730) at tv_play.cpp:863
        keypressed = (QKeyEvent *) 0x85402b0
        updatecheck = 15
#18 0x0818b875 in TV::EventThread(void*) (param=0x89ac730) at tv_play.cpp:800
        thetv = (class TV *) 0x89ac730
#19 0x48aeecc0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#20 0x48aeedc2 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
 
Thread 2 (Thread 32769 (LWP 2652)):
#0  0x48951a45 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x48aee8d0 in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x48aeeb1a in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.
 
Thread 1 (Thread 16384 (LWP 2643)):
---Type <return> to continue, or q <return> to quit---
#0  0x4892caa6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0xffffffc0 in ?? ()
No symbol table info available.
#2  0x08072a5a in startTV() () at main.cpp:190
        db = (struct QSqlDatabase *) 0x85bb2d8
        tv = (class TV *) 0x89ac730
        timeout = {d = {jd = 2452985}, t = {ds = 19579515}}
        tryTV = false
        tryRecorder = false
        quitAll = false
        showDialogs = true
#3  0x080734f7 in TVMenuCallback(void*, QString&) (data=0x85ad068,
    selection=@0x85dd8b4) at main.cpp:279
        sel = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x89b3960,
  static shared_null = 0x85336b0}
#4  0x2ab9428b in ThemedMenu::handleAction(QString&) (this=0x85dd708,
    action=@0x861009c) at themedmenu.cpp:1864
No locals.
#5  0x2ab92a9e in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x85dd708,
    e=0x7fffe830) at themedmenu.cpp:1694
---Type <return> to continue, or q <return> to quit---
        action = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85cd318,
  static shared_null = 0x85336b0}
        i = 0
        lastbutton = (ThemedButton *) 0x8610060
        oldrow = 0
        handled = true
        actions = {<QValueList<QString>> = {sh = 0x89b2628}, <No data fields>}
#6  0x2aef2e1c in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#7  0x2ae638c5 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#8  0x2ae63171 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#9  0x2adfd7e1 in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#10 0x2adf930f in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#11 0x2ae101c7 in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#12 0x2ae76a86 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#13 0x2ae63b71 in QApplication::enter_loop() ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#14 0x2abe55e5 in MythDialog::exec() (this=0x85dd708) at mythdialogs.cpp:582
        res = 717116782
#15 0x080744a4 in RunMenu(QString) (themedir=
      {static null = {static null = <same as static member of an already seen 
type>, d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85d9330, static 
shared_null = 0x85336b0}) at main.cpp:405
        exitstatus = 0
#16 0x08077886 in main (argc=1, argv=0x7fffef14) at main.cpp:750
        lcd_host = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85de040,
  static shared_null = 0x85336b0}
        lcd_port = 13666
        a = <incomplete type>
        translator = <incomplete type>
---Type <return> to continue, or q <return> to quit---
        logfile = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85ad008,
  static shared_null = 0x85336b0}
        verboseString = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85ad020,
  static shared_null = 0x85336b0}
        pluginname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85ad038,
  static shared_null = 0x85336b0}
        binname = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85ad050,
  static shared_null = 0x85336b0}
        logfd = -1
        db = (struct QSqlDatabase *) 0x85bb2d8
        themename = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85d9208,
  static shared_null = 0x85336b0}
        randomtheme = false
---Type <return> to continue, or q <return> to quit---
        themedir = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x85336b0, static shared_null = 0x85336b0}, d = 0x85d9330,
  static shared_null = 0x85336b0}
        mainWindow = (class MythMainWindow *) 0x85cb290
        exitstatus = 139681368
#17 0x488987a6 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#0  0x488f7031 in _int_free () from /lib/libc.so.6




More information about the mythtv-dev mailing list