[mythtv] sementation fault when running mythtv-setup

Devan Lippman devan.lippman at gmail.com
Sat Apr 2 23:02:55 UTC 2005


My appologies, however it looks like the instructions on that page did not 
enable debugging...

to install I did this:
Edit the settings.pro file. Make sure that the top of the file looks like this:
$ cat settings.pro
CONFIG += debug
#CONFIG += release

then
$ make clean distclean
$ ./configure
$ qmake mythtv.pro
$ make qmake
$ make -j2
$ su
# make install
# exit


at any rate here's the output from gdb:
root at devanLFS:/src/mythtv-related/mythtv/mythtv/setup# gdb ./mythtv-setup
GNU gdb 6.3
Copyright 2004 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 "i686-pc-linux-gnu"...Using host
libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /src/mythtv-related/mythtv/mythtv/setup/mythtv-setup
[Thread debugging using libthread_db enabled]
[New Thread 1106667456 (LWP 3862)]
2005-04-02 17:55:04.691 New DB connection, total: 1
2005-04-02 17:55:04.741 Using screen 0, 1024x740 at 0,0
2005-04-02 17:55:04.758 Switching to square mode (blue)
[New Thread 1120000944 (LWP 3868)]
2005-04-02 17:55:14.879 Joystick disabled.
[Thread 1120000944 (LWP 3868) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1106667456 (LWP 3862)]
0x40f34230 in QFontDatabase::families () from /opt/qt/lib/libqt-mt.so.3
(gdb) thread apply all bt full

Thread 1 (Thread 1106667456 (LWP 3862)):
#0  0x40f34230 in QFontDatabase::families () from /opt/qt/lib/libqt-mt.so.3
No symbol table info available.
#1  0x40f34f16 in QFontDatabase::findFont () from /opt/qt/lib/libqt-mt.so.3
No symbol table info available.
#2  0x40eb9960 in QFontPrivate::load () from /opt/qt/lib/libqt-mt.so.3
No symbol table info available.
#3  0x40eba083 in QFontMetrics::width () from /opt/qt/lib/libqt-mt.so.3
No symbol table info available.
#4  0x410333b9 in QLabel::sizeForWidth () from /opt/qt/lib/libqt-mt.so.3
No symbol table info available.
#5  0x41033ad8 in QLabel::minimumSizeHint () from /opt/qt/lib/libqt-mt.so.3
No symbol table info available.
#6  0x41033cd1 in QLabel::sizeHint () from /opt/qt/lib/libqt-mt.so.3
No symbol table info available.
#7  0x410356a5 in QLabel::setText () from /opt/qt/lib/libqt-mt.so.3
No symbol table info available.
#8  0x40961afd in ListBoxSetting::configWidget (this=0x80f3e90, cg=0x0,
    parent=0x80f4610, widgetName=0x0) at settings.cpp:852
        label = (struct QLabel *) 0x80f4ee8
        box = (struct QWidget *) 0x80f4af0
#9  0x40960902 in ConfigurationDialog::dialogWidget (this=0x80f3ebc,
---Type <return> to continue, or q <return> to quit---
    parent=0x80dc7e8, widgetName=0x0) at settings.cpp:715
        wmult = 1.27999997
        hmult = 1.23333335
        layout = (struct QVBoxLayout *) 0x80f3a78
#10 0x409609a5 in ConfigurationDialog::exec (this=0x80f3ebc,
    saveOnAccept=true, doLoad=true) at settings.cpp:725
        dialog = (class MythDialog *) 0x1e
        ret = 30
#11 0x40a3491b in LanguageSettings::prompt (force=false)
    at langsettings.cpp:105
        ed = (LangEditor *) 0x80f3e90
#12 0x080557dd in main (argc=1, argv=0xbffff934) at main.cpp:138
        a = <incomplete type>
        fileprefix = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x8086388, static shared_null = 0x8086388}, d = 0x80dcaa0,
  static shared_null = 0x8086388}
        dir = <incomplete type>
        mainWindow = (class MythMainWindow *) 0x80dc7e8
        dboxCard = {<MythDialog> = {<> = {<No data fields>},
    static metaObj = 0x80f4988, wmult = 0, hmult = 0,
    screenwidth = 1096755028, screenheight = 1096734640, xbase = 1096700624,
    ybase = 1073840116, m_parent = 0x400184c8, rescode = 1, in_loop = 32,
---Type <return> to continue, or q <return> to quit---
    defaultBigFont = {d = 0xbffff838}, defaultMediumFont = {d = 0x41526611},
    defaultSmallFont = {d = 0x415b0b70}}, static metaObj = 0x0, box = 0x1,
  buttongroup = 0x1, checkbox = 0x0}
        dboxProg = {<MythDialog> = {<> = {<No data fields>},
    static metaObj = 0x80f4988, wmult = 0, hmult = 0,
    screenwidth = 1096755028, screenheight = 1096734640, xbase = 1096700624,
    ybase = 1096683520, m_parent = 0x25, rescode = 1106661736, in_loop = 80,
    defaultBigFont = {d = 0x3df6174}, defaultMediumFont = {d = 0x80526b5},
    defaultSmallFont = {d = 0x40017ff4}}, static metaObj = 0x0,
  box = 0x40018668, buttongroup = 0x0, checkbox = 0xbffff7e4}
(gdb)


On Apr 2, 2005 3:01 PM, Bruce Markey <bjm at lvcm.com> wrote:
> Devan Lippman wrote:
> > Downloaded the latest CVS today to confirm this issue hadn't been resolved.
> > executing mythtv-setup creates the following output:
> >
> > root at devanLFS:/src/mythtv-related/mythtv/mythtv/setup# ./mythtv-setup
> > 2005-04-02 16:44:21.259 New DB connection, total: 1
> > 2005-04-02 16:44:21.275 Using screen 0, 1024x740 at 0,0
> > 2005-04-02 16:44:21.280 Switching to square mode (blue)
> > 2005-04-02 16:44:32.212 Joystick disabled.
> > Showed the main windows <-- I added this line to source
> > Set Main Window <-- I added this line to source
> > Segmentation fault
> >
> > looks like the call to LanguageSettings::prompt() is causing this.
> > added a cout to the first line of LanguageSettings::prompt() and it
> > never gets executed so I'm not sure where to go from here.  I was
> > wondering if I could override LanguageSettings::prompt() to see if
> > this is indeed the issue, and how this would be done?
> 
> http://www.mythtv.org/docs/mythtv-HOWTO-20.html#ss20.2
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 


-- 
Thanks,
Devan Lippman <devan at lippman.net>
617 571-3017


More information about the mythtv-dev mailing list