[mythtv] Scan for channels kills mythtv-setup

Seth Heckard seth.lists at gmail.com
Sun Oct 23 23:58:53 UTC 2005


I'm running revision 7466, which I know is a bit old, but works fine
for everything that I've tossed at it except for this.  When I scan
for channels (full scan, using QAM-256) on my AirStar HD card, it more
than often dies.  The point at which it dies is not consistent.

Here is the (long) backtrace:

Thread 3 (Thread -1240466512 (LWP 6054)):
#0  0xb7ac2e37 in std::vector<unsigned char*, std::allocator<unsigned char*> >::
begin (this=0x32002a)
    at /usr/lib/gcc/i386-redhat-linux/4.0.1/../../../../include/c++/4.0.1/bits/s
tl_vector.h:343
No locals.
#1  0xb7ac2efc in std::vector<unsigned char*, std::allocator<unsigned char*> >::
size (this=0x32002a)
    at /usr/lib/gcc/i386-redhat-linux/4.0.1/../../../../include/c++/4.0.1/bits/s
tl_vector.h:403
No locals.
#2  0xb7b384de in ProgramMapTable::StreamCount (this=0x32000a) at mpeg/mpegtable
s.h:417
No locals.
#3  0xb7bc9f1a in ProgramMapTable::IsStillPicture (this=0x32000a) at mpeg/mpegta
bles.cpp:164
        i = 0
        STILL_PICTURE_FLAG = 1 '\001'
#4  0xb7b7af79 in SIScan::UpdatePATinDB (this=0x8214670, tid_db=34, pat=0xb215fb
a0, pmt_map=@0xb60ff0c8) at siscan.cpp:991
        pmt = (const ProgramMapTable *) 0x32000a
        chanid = 136330552
        chan_num = {static null = {static null = <same as static member of an al
ready seen type>, d = 0x80a13d8, static shared_null = 0x80a13d8}, d = 0xb2160078
,
  static shared_null = 0x80a13d8}
        callsign = {static null = {static null = <same as static member of an al
ready seen type>, d = 0x80a13d8, static shared_null = 0x80a13d8}, d = 0x67fa92,
  static shared_null = 0x80a13d8}
        service_name = {static null = {static null = <same as static member of a
n already seen type>, d = 0x80a13d8, static shared_null = 0x80a13d8}, d = 0xb60f
eff4,
  static shared_null = 0x80a13d8}
        common_status_info = {static null = {static null = <same as static membe
r of an already seen type>, d = 0x80a13d8, static shared_null = 0x80a13d8}, d =
0x0,
  static shared_null = 0x80a13d8}
        i = 1
        db_mplexid = 34
        db_source_id = 2
        freqid = 108
#5  0xb7b7e7c5 in SIScan::HandleMPEGDBInsertion (this=0x8214670, sd=0x8c1eda0) a
t siscan.cpp:361
        pmt_map = {sh = 0xb2137720}
        pat = (const ProgramAssociationTable *) 0xb215fba0
#6  0xb7b7f4b5 in SIScan::HandlePostInsertion (this=0x8214670) at siscan.cpp:462
        dtvSigMon = (class DTVSignalMonitor *) 0x8c1eab8
        sd = (const class ScanStreamData *) 0x8c1eda0
        mgt = (const MasterGuideTable *) 0x0
        pat = (const ProgramAssociationTable *) 0xb215fba0
#7  0xb7b8328a in SIScan::HandleActiveScan (this=0x8214670) at siscan.cpp:625
        do_post_insertion = true
#8  0xb7b8fe2f in SIScan::RunScanner (this=0x8214670) at siscan.cpp:560
No locals.
#9  0xb7b8fe7d in SIScan::SpawnScanner (param=0x8214670) at siscan.cpp:532
        scanner = (class SIScan *) 0x8214670
#10 0x0067eb80 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#11 0x005d69ce in clone () from /lib/libc.so.6
No symbol table info available.

Thread 2 (Thread -1228702800 (LWP 5904)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0068313b in __read_nocancel () from /lib/libpthread.so.0
No symbol table info available.
#2  0x48f8ce82 in lirc_nextcode (code=0xb6c373ac) at lirc_client.c:1498
        packet_size = 100
        end_len = 0
        len = Variable "len" is not available.

Thread 1 (Thread -1224750592 (LWP 5898)):
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0x005cf221 in ___newselect_nocancel () from /lib/libc.so.6
No symbol table info available.
#2  0x0569e168 in QEventLoop::processEvents () from /usr/lib/qt-3.3/lib/libqt-mt
.so.3
No symbol table info available.
#3  0x0570c812 in QEventLoop::enterLoop () from /usr/lib/qt-3.3/lib/libqt-mt.so.
3
No symbol table info available.
#4  0x056f3acf in QApplication::enter_loop () from /usr/lib/qt-3.3/lib/libqt-mt.
so.3
No symbol table info available.
#5  0xb71b7f9e in MythDialog::exec (this=0x81b9f60) at mythdialogs.cpp:1042
        res = -1221735184
#6  0xb711f80e in ConfigurationDialog::exec (this=0xbfd388c0, saveOnAccept=false
, doLoad=true) at settings.cpp:932
        dialog = (class MythDialog *) 0x81b9f60
        ret = 136341024
#7  0xb7cdaf4e in ChannelEditor::scan (this=0xbfd393a4) at channeleditor.cpp:347
        scanwizard = {<ConfigurationWizard> = {<ConfigurationDialog> = {<Configu
rable> = {<> = {<No data fields>}, _vptr.Configurable = 0xb7f17d14,
        static metaObj = 0x819f108, labelAboveWidget = false, enabled = true, co
nfigName = {static null = {
            static null = <same as static member of an already seen type>, d = 0
x80a13d8, static shared_null = 0x80a13d8}, d = 0x80a13d8,
          static shared_null = 0x80a13d8}, label = {static null = {static null =
 <same as static member of an already seen type>, d = 0x80a13d8,
            static shared_null = 0x80a13d8}, d = 0x80a13d8, static shared_null =
  0x80a13d8}, helptext = {static null = {
            static null = <same as static member of an already seen type>, d = 0
x80a13d8, static shared_null = 0x80a13d8}, d = 0x80a13d8,
          static shared_null = 0x80a13d8}, visible = true}, _vptr.ConfigurationD
ialog = 0xb7f17c70, dialog = 0x81b9f60}, <ConfigurationGroup> = {
      _vptr.ConfigurationGroup = 0xb7f17ca4, static metaObj = 0x8198880, childre
n = {<std::_Vector_base<Configurable*,std::allocator<Configurable*> >> = {
          _M_impl = {<std::allocator<Configurable*>> = {<__gnu_cxx::__mt_alloc<C
onfigurable*,__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >> = {<__g
nu_cxx::__mt_alloc_base<Configurable*>> = {<No data fields>}, <No data fields>},
 <No data fields>}, _M_start = 0x817a5e8, _M_finish = 0x817a5f0,
            _M_end_of_storage = 0x817a5f0}}, <No data fields>}, uselabel = true,
  useframe = true, zeroMargin = false, zeroSpace = false}, <No data fields>},
  static metaObj = 0x8205220, db = 0x81d5d88, paneOFDM = 0x81da1d8, paneQPSK = 0
x81f58b8, paneATSC = 0x8201e48, paneQAM = 0x81f0958, nVideoDev = -1, nCardType =
 5,
  nCaptureCard = 1, page1 = 0x82084d0}
#8  0xb7d1af7e in ChannelEditor::qt_invoke (this=0xbfd393a4, _id=8, _o=0xbfd389f
8) at moc_channeleditor.cpp:104
No locals.
#9  0x05758eb4 in QObject::activate_signal () from /usr/lib/qt-3.3/lib/libqt-mt.
so.3
No symbol table info available.
#10 0x05759374 in QObject::activate_signal () from /usr/lib/qt-3.3/lib/libqt-mt.
so.3
No symbol table info available.
#11 0xb724c0eb in ButtonSetting::pressed (this=0x81a1fb0) at moc_settings.cpp:15
59
No locals.
#12 0xb724c169 in ButtonSetting::qt_emit (this=0x81a1fb0, _id=3, _o=0xbfd38ae8)
at moc_settings.cpp:1570
No locals.
#13 0x05758ef8 in QObject::activate_signal () from /usr/lib/qt-3.3/lib/libqt-mt.
so.3
No symbol table info available.
#14 0x05759374 in QObject::activate_signal () from /usr/lib/qt-3.3/lib/libqt-mt.
so.3
No symbol table info available.
#15 0x05ad8c19 in QButton::pressed () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#16 0xb71150b4 in MythPushButton::keyPressEvent (this=0x820f920, e=0xbfd38e70) a
t mythwidgets.cpp:950
        action = {static null = {static null = <same as static member of an alre
ady seen type>, d = 0x80a13d8, static shared_null = 0x80a13d8}, d = 0x80e43c0,
  static shared_null = 0x80a13d8}
        i = 0
        handled = false
        actions = {<QValueList<QString>> = {sh = 0x8210f30}, <No data fields>}
#17 0x05796e65 in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#18 0x056f40dd in QApplication::internalNotify () from /usr/lib/qt-3.3/lib/libqt
-mt.so.3
No symbol table info available.
#19 0x056f4d69 in QApplication::notify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#20 0xb7108a03 in QApplication::sendEvent (receiver=0x820f920, event=0xbfd38e70)
 at /usr/lib/qt-3.3/include/qapplication.h:515
No locals.
#21 0xb71c7f8a in MythMainWindow::customEvent (this=0x817eb40, ce=0x81d8b60) at
mythdialogs.cpp:840
        k = 32
        ascii = 0
        key = {<> = {<No data fields>}, txt = {static null = {static null = <sam
e as static member of an already seen type>, d = 0x80a13d8,
      static shared_null = 0x80a13d8}, d = 0x80a13d8, static shared_null = 0x80a
13d8}, k = 32, s = 0, a = 0 '\0', accpt = 1, autor = 0, c = 1}
        mod = 0
        text = {static null = {static null = <same as static member of an alread
y seen type>, d = 0x80a13d8, static shared_null = 0x80a13d8}, d = 0x80a13d8,
  static shared_null = 0x80a13d8}
        key_target = (struct QObject *) 0x820f920
        lke = (LircKeycodeEvent *) 0x81d8b60
        keycode = 32
#22 0x05758a1b in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#23 0x05796e0c in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#24 0x056f40dd in QApplication::internalNotify () from /usr/lib/qt-3.3/lib/libqt
-mt.so.3
No symbol table info available.
#25 0x056f4a36 in QApplication::notify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#26 0x056f5863 in QApplication::sendPostedEvents () from /usr/lib/qt-3.3/lib/lib
qt-mt.so.3
No symbol table info available.
#27 0x056f59f8 in QApplication::sendPostedEvents () from /usr/lib/qt-3.3/lib/lib
qt-mt.so.3
No symbol table info available.
#28 0x0569df7e in QEventLoop::processEvents () from /usr/lib/qt-3.3/lib/libqt-mt
.so.3
No symbol table info available.
#29 0x0570c812 in QEventLoop::enterLoop () from /usr/lib/qt-3.3/lib/libqt-mt.so.
3
No symbol table info available.
#30 0x056f3acf in QApplication::enter_loop () from /usr/lib/qt-3.3/lib/libqt-mt.
so.3
No symbol table info available.
#31 0xb71b7f9e in MythDialog::exec (this=0x81b5938) at mythdialogs.cpp:1042
        res = -1222934746
#32 0xb711f80e in ConfigurationDialog::exec (this=0xbfd393a8, saveOnAccept=true,
 doLoad=true) at settings.cpp:932
        dialog = (class MythDialog *) 0x81b5938
        ret = 6498432
#33 0xb7cdab2c in ChannelEditor::exec (this=0xbfd393a4) at channeleditor.cpp:280
No locals.
#34 0x08081082 in SetupMenuCallback (data=0x80e1aa0, selection=@0x81a4798) at ma
in.cpp:74
        ce = {<VerticalConfigurationGroup> = {<ConfigurationGroup> = {<Configura
ble> = {<> = {<No data fields>}, _vptr.Configurable = 0x809e664,
        static metaObj = 0x819f108, labelAboveWidget = false, enabled = true, co
nfigName = {static null = {
            static null = <same as static member of an already seen type>, d = 0
x80a13d8, static shared_null = 0x80a13d8}, d = 0x80a13d8,
          static shared_null = 0x80a13d8}, label = {static null = {static null =
 <same as static member of an already seen type>, d = 0x80a13d8,
            static shared_null = 0x80a13d8}, d = 0x8197a78, static shared_null =
 0x80a13d8}, helptext = {static null = {
            static null = <same as static member of an already seen type>, d = 0
x80a13d8, static shared_null = 0x80a13d8}, d = 0x80a13d8,
          static shared_null = 0x80a13d8}, visible = true}, _vptr.ConfigurationG
roup = 0x809e5f4, static metaObj = 0x8198880,
      children = {<std::_Vector_base<Configurable*,std::allocator<Configurable*>
 >> = {
          _M_impl = {<std::allocator<Configurable*>> = {<__gnu_cxx::__mt_alloc<C
onfigurable*,__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >> = {<__g
nu_cxx::__mt_alloc_base<Configurable*>> = {<No data fields>}, <No data fields>},
 <No data fields>}, _M_start = 0x812c170, _M_finish = 0x812c184,
            _M_end_of_storage = 0x812c190}}, <No data fields>}, uselabel = true,
 useframe = true, zeroMargin = false, zeroSpace = false},
    _vptr.VerticalConfigurationGroup = 0x809e574}, <ConfigurationDialog> = {_vpt
r.ConfigurationDialog = 0x809e5b0, dialog = 0x81b5938}, static metaObj = 0x81c26
48,
  list = 0x81953a8, id = 6498432, buttonScan = 0x81a1fb0, buttonAdvanced = 0x819
58c0}
        sel = {static null = {static null = <same as static member of an already
 seen type>, d = 0x80a13d8, static shared_null = 0x80a13d8}, d = 0x81c0660,
  static shared_null = 0x80a13d8}
#35 0xb714d982 in ThemedMenuPrivate::handleAction (this=0x81a46a0, action=@0x81b
6e88) at themedmenu.cpp:2497
        ok = true
#36 0xb714df53 in ThemedMenuPrivate::keyPressHandler (this=0x81a46a0, e=0xbfd399
a0) at themedmenu.cpp:2325
        it = {node = 0x81b6e80}
        action = {static null = {static null = <same as static member of an alre
ady seen type>, d = 0x80a13d8, static shared_null = 0x80a13d8}, d = 0x80e43c0,
  static shared_null = 0x80a13d8}
        i = 0
        lastbutton = (ThemedButton *) 0x81bd290
        oldrow = 0
        handled = true
        actions = {<QValueList<QString>> = {sh = 0x819a960}, <No data fields>}
#37 0xb714e26a in ThemedMenu::keyPressEvent (this=0x819b0f8, e=0xbfd399a0) at th
emedmenu.cpp:2695
No locals.
#38 0x05796e65 in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#39 0x056f40dd in QApplication::internalNotify () from /usr/lib/qt-3.3/lib/libqt
-mt.so.3
No symbol table info available.
#40 0x056f4d69 in QApplication::notify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#41 0xb7108a03 in QApplication::sendEvent (receiver=0x819b0f8, event=0xbfd399a0)
 at /usr/lib/qt-3.3/include/qapplication.h:515
No locals.
#42 0xb71c7f8a in MythMainWindow::customEvent (this=0x817eb40, ce=0x81b0db8) at
mythdialogs.cpp:840
        k = 32
        ascii = 0
        key = {<> = {<No data fields>}, txt = {static null = {static null = <sam
e as static member of an already seen type>, d = 0x80a13d8,
      static shared_null = 0x80a13d8}, d = 0x80a13d8, static shared_null = 0x80a
13d8}, k = 32, s = 0, a = 0 '\0', accpt = 1, autor = 0, c = 1}
        mod = 0
        text = {static null = {static null = <same as static member of an alread
y seen type>, d = 0x80a13d8, static shared_null = 0x80a13d8}, d = 0x80a13d8,
  static shared_null = 0x80a13d8}
        key_target = (struct QObject *) 0x819b0f8
        lke = (LircKeycodeEvent *) 0x81b0db8
        keycode = 32
#43 0x05758a1b in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#44 0x05796e0c in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#45 0x056f40dd in QApplication::internalNotify () from /usr/lib/qt-3.3/lib/libqt
-mt.so.3
No symbol table info available.
#46 0x056f4a36 in QApplication::notify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#47 0x056f5863 in QApplication::sendPostedEvents () from /usr/lib/qt-3.3/lib/lib
qt-mt.so.3
No symbol table info available.
#48 0x056f59f8 in QApplication::sendPostedEvents () from /usr/lib/qt-3.3/lib/lib
qt-mt.so.3
No symbol table info available.
#49 0x0569df7e in QEventLoop::processEvents () from /usr/lib/qt-3.3/lib/libqt-mt
.so.3
No symbol table info available.
#50 0x0570c82b in QEventLoop::enterLoop () from /usr/lib/qt-3.3/lib/libqt-mt.so.
3
No symbol table info available.
#43 0x05758a1b in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#44 0x05796e0c in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#45 0x056f40dd in QApplication::internalNotify () from /usr/lib/qt-3.3/lib/libqt
-mt.so.3
No symbol table info available.
#46 0x056f4a36 in QApplication::notify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
No symbol table info available.
#47 0x056f5863 in QApplication::sendPostedEvents () from /usr/lib/qt-3.3/lib/lib
qt-mt.so.3
No symbol table info available.
#48 0x056f59f8 in QApplication::sendPostedEvents () from /usr/lib/qt-3.3/lib/lib
qt-mt.so.3
No symbol table info available.
#49 0x0569df7e in QEventLoop::processEvents () from /usr/lib/qt-3.3/lib/libqt-mt
.so.3
No symbol table info available.
#50 0x0570c82b in QEventLoop::enterLoop () from /usr/lib/qt-3.3/lib/libqt-mt.so.
3
No symbol table info available.
#51 0x056f3acf in QApplication::enter_loop () from /usr/lib/qt-3.3/lib/libqt-mt.
so.3
No symbol table info available.
#52 0xb71b7f9e in MythDialog::exec (this=0x819b0f8) at mythdialogs.cpp:1042
        res = 135901432
#53 0x0807e820 in SetupMenu () at main.cpp:91
        theme = {static null = {static null = <same as static member of an alrea
dy seen type>, d = 0x80a13d8, static shared_null = 0x80a13d8}, d = 0x8195f28,
  static shared_null = 0x80a13d8}
        menu = (class ThemedMenu *) 0x819b0f8
#54 0x08080836 in main (argc=1, argv=0xbfd3a384) at main.cpp:325
        problems = (QString *) 0x1
        geometry = {static null = {static null = <same as static member of an al
ready seen type>, d = 0x80a13d8, static shared_null = 0x80a13d8}, d = 0x80b3ce8,
  static shared_null = 0x80a13d8}
        verboseString = {static null = {static null = <same as static member of
an already seen type>, d = 0x80a13d8, static shared_null = 0x80a13d8}, d = 0x80b
3d28,
  static shared_null = 0x80a13d8}
        a = <incomplete type>
        fileprefix = {static null = {static null = <same as static member of an
already seen type>, d = 0x80a13d8, static shared_null = 0x80a13d8}, d = 0x817ef8
8,
  static shared_null = 0x80a13d8}
        dir = <incomplete type>
        mainWindow = (class MythMainWindow *) 0x817eb40
        clr = {<VerticalConfigurationGroup> = {<ConfigurationGroup> = {<Configur
able> = {<> = {<No data fields>}, _vptr.Configurable = 0x80947dc,
        static metaObj = 0x819f108, labelAboveWidget = false, enabled = true, co
nfigName = {static null = {
            static null = <same as static member of an already seen type>, d = 0
x80a13d8, static shared_null = 0x80a13d8}, d = 0x80a13d8,
          static shared_null = 0x80a13d8}, label = {static null = {static null =
 <same as static member of an already seen type>, d = 0x80a13d8,
            static shared_null = 0x80a13d8}, d = 0x80a13d8, static shared_null =
 0x80a13d8}, helptext = {static null = {
            static null = <same as static member of an already seen type>, d = 0
x80a13d8, static shared_null = 0x80a13d8}, d = 0x80a13d8,
          static shared_null = 0x80a13d8}, visible = true}, _vptr.ConfigurationG
roup = 0x809476c, static metaObj = 0x8198880,
      children = {<std::_Vector_base<Configurable*,std::allocator<Configurable*>
 >> = {
          _M_impl = {<std::allocator<Configurable*>> = {<__gnu_cxx::__mt_alloc<C
onfigurable*,__gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >> = {<__g
nu_cxx::__mt_alloc_base<Configurable*>> = {<No data fields>}, <No data fields>},
 <No data fields>}, _M_start = 0x817a1c8, _M_finish = 0x817a1d0,
            _M_end_of_storage = 0x817a1d0}}, <No data fields>}, uselabel = true,
 useframe = true, zeroMargin = false, zeroSpace = false},
    _vptr.VerticalConfigurationGroup = 0x80946f4}, <ConfigurationDialog> = {_vpt
r.ConfigurationDialog = 0x8094728, dialog = 0x8193f48}, static metaObj = 0x0,
  ccard = 0x8193a38, cchan = 0x8192dc8, okbtn = 0x8193938}
        dia = (class DialogBox *) 0x0
        haveProblems = false


More information about the mythtv-dev mailing list