[mythtv] Channel Editor segfault

Bruce Markey bjm at lvcm.com
Mon Jan 26 15:46:50 EST 2004


I get a segfault in each of several environments when I run
setup, choose Channel Editor, scroll dowm to an existing
channel, then press enter.

--  bjm

: bjm at moktoo ; gdb ./setup/setup
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...
(gdb) run
Starting program: /home/bjm/MC/debug/mythtv/setup/setup
[New Thread 16384 (LWP 1995)]
Would you like to clear all capture card
settings before starting configuration? [no]
Would you like to clear all program/channel
settings before starting configuration? [no]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 1995)]
0x40dea218 in QString::deref() () from /usr/lib/libqt-mt.so.3
(gdb) thread apply all bt full

Thread 1 (Thread 16384 (LWP 1995)):
#0  0x40dea218 in QString::deref() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#1  0x40dea30c in QString::operator=(QString const&) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0x08061cef in Setting::setValue(QString const&) (this=0x833b878,
    newValue=@0xbfffdd80) at settings.h:84
No locals.
#3  0x406c8cda in SelectSetting::setValue(QString const&) (this=0x833b848,
    newValue=@0xbfffdd80) at settings.cpp:277
        found = true
#4  0x406c89ed in SelectSetting::addSelection(QString const&, QString, bool) (
    this=0x833b848, label=@0xbfffdd70, value=
      {static null = {static null = <same as static member of an already seen type>, d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x8337e18, static shared_null = 0x8095c38}, select=false) at settings.cpp:242
No locals.
#5  0x402b502a in TVFormat (this=0x833b848, id=@0x833b660)
    at channelsettings.cpp:113
No locals.
#6  0x402ae6a9 in ChannelOptionsCommon (this=0x80fe0e0, id=@0x833b660)
---Type <return> to continue, or q <return> to quit---
    at channelsettings.cpp:524
        group1 = (class HorizontalConfigurationGroup *) 0x8127d70
        left = (class VerticalConfigurationGroup *) 0x8334b18
        right = (VerticalConfigurationGroup *) 0x8334b78
#7  0x402a7d15 in ChannelWizard (this=0xbfffdfb0, id=1010, _db=0x80e0c80)
    at channeleditor.cpp:27
        common = (class ChannelOptionsCommon *) 0x4009c175
        cardtypes = 7981
        hasDVB = 64
        cardtype = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x83398d0,
  static shared_null = 0x8095c38}
#8  0x402a9d55 in ChannelEditor::edit() (this=0xbfffeb20)
    at channeleditor.cpp:210
        cw = {<ConfigurationWizard> = {<ConfigurationDialog> = {<Configurable> = {<> = {<No data fields>}, _vptr.Configurable = 0x403d3108,
        static metaObj = 0x80fe4f0, labelAboveWidget = false, configName = {
          static null = {
            static null = <same as static member of an already seen type>,
            d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x8095c38,
          static shared_null = 0x8095c38}, label = {static null = {
            static null = <same as static member of an already seen type>,
---Type <return> to continue, or q <return> to quit---
            d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x8335ce0,
          static shared_null = 0x8095c38}, helptext = {static null = {
            static null = <same as static member of an already seen type>,
            d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x8095c38,
          static shared_null = 0x8095c38}, visible = true},
      _vptr.ConfigurationDialog = 0x403d3070,
      dialog = 0x40052484}, <ConfigurationGroup> = {
      _vptr.ConfigurationGroup = 0x403d30a4, static metaObj = 0x8107cf0,
      children = {<_Vector_base<Configurable*,std::allocator<Configurable*> >> = {<_Vector_alloc_base<Configurable*,std::allocator<Configurable*>,true>> = {
            _M_start = 0x80e2820, _M_finish = 0x80e2824,
            _M_end_of_storage = 0x80e2824}, <No data fields>}, <No data fields>}, uselabel = true, useframe = true}, <No data fields>}, static metaObj = 0x0,
  cid = 0x833b660, db = 0x80e0c80}
#9  0x402a9e77 in ChannelEditor::edit(int) (this=0xbfffeb20)
    at channeleditor.cpp:217
No locals.
#10 0x40314811 in ChannelEditor::qt_invoke(int, QUObject*) (this=0xbfffeb20,
    _id=5, _o=0xbfffe100) at moc_channeleditor.cpp:99
No locals.
#11 0x40b348cc in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#12 0x40b34a2d in QObject::activate_signal(int, int) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#13 0x4075e317 in ListBoxSetting::accepted(int) (this=0x81053d8, t0=1)
    at moc_settings.cpp:721
No locals.
#14 0x4075e640 in ListBoxSetting::qt_emit(int, QUObject*) (this=0x81053d8,
    _id=5, _o=0xbfffe220) at moc_settings.cpp:747
No locals.
#15 0x40314f99 in ChannelListSetting::qt_emit(int, QUObject*) (this=0x81053d8,
    _id=5, _o=0xbfffe220) at moc_channeleditor.cpp:281
No locals.
#16 0x40b34901 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#17 0x40b34a2d in QObject::activate_signal(int, int) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#18 0x4075b130 in MythListBox::accepted(int) (this=0x81215a8, t0=1)
    at moc_mythwidgets.cpp:963
No locals.
#19 0x406c1c18 in MythListBox::keyPressEvent(QKeyEvent*) (this=0x81215a8,
    e=0xbfffe750) at mythwidgets.cpp:1024
---Type <return> to continue, or q <return> to quit---
        action = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x80f4240,
  static shared_null = 0x8095c38}
        i = 0
        handled = false
        actions = {<QValueList<QString>> = {sh = 0x8104670}, <No data fields>}
#20 0x40b69975 in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#21 0x40ad8eaf in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#22 0x40ad89ae in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#23 0x40a7361d in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#24 0x40a6f8c5 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#25 0x40a85951 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#26 0x40aec698 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#27 0x40ad9161 in QApplication::enter_loop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#28 0x407419a7 in MythDialog::exec() (this=0x8127ca8) at mythdialogs.cpp:717
        res = 1081350448
#29 0x406cba39 in ConfigurationDialog::exec(QSqlDatabase*, bool) (
    this=0xbfffeb24, db=0x80e0c80, saveOnAccept=true) at settings.cpp:656
        dialog = (class MythDialog *) 0x8127ca8
        ret = 1074154240
#30 0x402a9d0f in ChannelEditor::exec(QSqlDatabase*) (this=0xbfffeb20,
    _db=0x80e0c80) at channeleditor.cpp:205
No locals.
#31 0x08054267 in SetupMenuCallback(void*, QString&) (data=0x80cd540,
    selection=@0x80f4f14) at main.cpp:88
        ce = {<VerticalConfigurationGroup> = {<ConfigurationGroup> = {<Configurable> = {<> = {<No data fields>}, _vptr.Configurable = 0x8093a2c,
        static metaObj = 0x80fe4f0, labelAboveWidget = false, configName = {
          static null = {
            static null = <same as static member of an already seen type>,
            d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x8095c38,
          static shared_null = 0x8095c38}, label = {static null = {
---Type <return> to continue, or q <return> to quit---
            static null = <same as static member of an already seen type>,
            d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x80fcba8,
          static shared_null = 0x8095c38}, helptext = {static null = {
            static null = <same as static member of an already seen type>,
            d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x8095c38,
          static shared_null = 0x8095c38}, visible = true},
      _vptr.ConfigurationGroup = 0x80939c8, static metaObj = 0x8107cf0,
      children = {<_Vector_base<Configurable*,std::allocator<Configurable*> >> = {<_Vector_alloc_base<Configurable*,std::allocator<Configurable*>,true>> = {
            _M_start = 0x80cda58, _M_finish = 0x80cda68,
            _M_end_of_storage = 0x80cda68}, <No data fields>}, <No data fields>}, uselabel = true, useframe = true},
    _vptr.VerticalConfigurationGroup = 0x809394c}, <ConfigurationDialog> = {
    _vptr.ConfigurationDialog = 0x8093984, dialog = 0x8127ca8},
  static metaObj = 0x80f8fb8, list = 0x81053d8, db = 0x80e0c80, id = 1010}
        sel = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x80f5388,
  static shared_null = 0x8095c38}
#32 0x406e7b27 in ThemedMenuPrivate::handleAction(QString const&) (
    this=0x80f4e18, action=@0x80fc6dc) at themedmenu.cpp:2044
No locals.
#33 0x406e639b in ThemedMenuPrivate::keyPressHandler(QKeyEvent*) (
---Type <return> to continue, or q <return> to quit---
    this=0x80f4e18, e=0xbffff500) at themedmenu.cpp:1874
        action = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x80f4240,
  static shared_null = 0x8095c38}
        i = 0
        lastbutton = (ThemedButton *) 0x80fc6a0
        oldrow = 4
        handled = true
        actions = {<QValueList<QString>> = {sh = 0x8107cc8}, <No data fields>}
#34 0x406e8f4a in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x80f4530,
    e=0xbffff500) at themedmenu.cpp:2230
No locals.
#35 0x40b69975 in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#36 0x40ad8eaf in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#37 0x40ad89ae in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#38 0x40740aa5 in MythMainWindow::keyPressEvent(QKeyEvent*) (this=0x80e9e48,
    e=0xbffff500) at mythdialogs.cpp:518
---Type <return> to continue, or q <return> to quit---
        current = (struct QWidget *) 0x80f4530
#39 0x40b69975 in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#40 0x40ad8eaf in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#41 0x40ad89ae in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#42 0x40a7361d in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#43 0x40a6f8c5 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#44 0x40a85951 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#45 0x40aec698 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#46 0x40ad9161 in QApplication::enter_loop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#47 0x407419a7 in MythDialog::exec() (this=0x80f4530) at mythdialogs.cpp:717
---Type <return> to continue, or q <return> to quit---
        res = 1081350448
#48 0x080544a3 in SetupMenu() () at main.cpp:105
        theme = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x80f4930,
  static shared_null = 0x8095c38}
        menu = (class ThemedMenu *) 0x80f4530
#49 0x08054e88 in main (argc=1, argv=0xbffffa64) at main.cpp:158
        a = <incomplete type>
        fileprefix = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x80ee028,
  static shared_null = 0x8095c38}
        dir = <incomplete type>
        response = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8095c38, static shared_null = 0x8095c38}, d = 0x80e9bd8,
  static shared_null = 0x8095c38}
        mainWindow = (class MythMainWindow *) 0x80e9e48
(gdb)


More information about the mythtv-dev mailing list