[mythtv] sementation fault when running mythtv-setup

Devan Lippman devan.lippman at gmail.com
Mon Apr 4 02:00:22 UTC 2005


So I ran the QT "hello" example and sure enough I get the same
segmentation fault...  anyone know if there is a user group for QT
that could help me with this?  I'm running QT-free-3.3.3

thanks,
Devan


On Apr 3, 2005 7:40 AM, Devan Lippman <devan.lippman at gmail.com> wrote:
> rebuilt qt last night to include debugging, thought it might offer a
> little more information...
> 
> this looks pretty promising: qfontdatabase_x11.cpp: No such file or directory
> 
> so any idea where I get one of these?
> 
> root at devanLFS:/usr/local/bin# 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: /usr/local/bin/mythtv-setup
> [Thread debugging using libthread_db enabled]
> [New Thread 1099854192 (LWP 31064)]
> Qt: gdb: -nograb added to command-line options.
>          Use the -dograb option to enforce grabbing.
> 2005-04-03 10:33:29.815 New DB connection, total: 1
> 2005-04-03 10:33:29.831 Using screen 0, 1024x740 at 0,0
> 2005-04-03 10:33:29.836 Switching to square mode (blue)
> [New Thread 1111374768 (LWP 31070)]
> 2005-04-03 10:33:37.525 Joystick disabled.
> [Thread 1111374768 (LWP 31070) exited]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1099854192 (LWP 31064)]
> 0x40fa949e in loadFontConfigFont (fp=0x80d8c00, request=@0xbffff1c0,
>     script=QFont::Latin) at qfontdatabase_x11.cpp:1809
> 1809    qfontdatabase_x11.cpp: No such file or directory.
>         in qfontdatabase_x11.cpp
> (gdb) thread apply all bt full
> 
> Thread 1 (Thread 1099854192 (LWP 31064)):
> #0  0x40fa949e in loadFontConfigFont (fp=0x80d8c00, request=@0xbffff1c0,
>     script=QFont::Latin) at qfontdatabase_x11.cpp:1809
>         i = 0
>         family_list = {<QValueList<QString>> = {
>     sh = 0x80f18a0}, <No data fields>}
>         key = {italic = 0, oblique = 0, weight = 75, stretch = 100}
>         pattern = (FcPattern *) 0x80f1888
>         scale = 1
>         result = 135208016
>         fs = (FcFontSet *) 0x0
>         ch = 65
>         size_value = 19
>         fe = (class QFontEngine *) 0x0
> #1  0x40faa53d in QFontDatabase::findFont (script=QFont::Latin, fp=0x80d8c00,
>     request=@0xbffff1c0, force_encoding_id=-1) at kernel/qfontdatabase.cpp:977
>         styleKey = {italic = 0, oblique = 0, weight = 75, stretch = 100}
>         fe = (class QFontEngine *) 0x0
>         family_name = {static null = {
>     static null = <same as static member of an already seen type>,
>     d = 0x8086050, static shared_null = 0x8086050}, d = 0x8086050,
>   static shared_null = 0x8086050}
> ---Type <return> to continue, or q <return> to quit---
>         foundry_name = {static null = {
>     static null = <same as static member of an already seen type>,
>     d = 0x8086050, static shared_null = 0x8086050}, d = 0x8086050,
>   static shared_null = 0x8086050}
>         pitch = 42 '*'
>         usesFontConfig = false
> #2  0x40f2df8a in QFontPrivate::load (this=0x80d8c00, script=QFont::Latin)
>     at kernel/qfont_x11.cpp:412
>         engine = (class QFontEngine *) 0x0
>         family_list = {<QValueList<QString>> = {
>     sh = 0x80f2ce0}, <No data fields>}
>         end = {node = 0x80f2cf0}
>         req = {family = {static null = {
>       static null = <same as static member of an already seen type>,
>       d = 0x8086050, static shared_null = 0x8086050}, d = 0x8086050,
>     static shared_null = 0x8086050}, addStyle = {static null = {
>       static null = <same as static member of an already seen type>,
>       d = 0x8086050, static shared_null = 0x8086050}, d = 0x8086050,
>     static shared_null = 0x8086050}, pointSize = 0, pixelSize = 19,
>   styleHint = 5, styleStrategy = 1, weight = 75, italic = 0, fixedPitch = 0,
>   stretch = 100, ignorePitch = 1, fixedPitchComputed = 1, reserved = 3274}
>         it = {node = 0x80f3110}
> #3  0x40f2eefc in QFontPrivate::engineForScript (this=0x80d8c00,
> ---Type <return> to continue, or q <return> to quit---
>     script=QFont::Latin) at qfontdata_p.h:152
> No locals.
> #4  0x40f2e627 in QFontMetrics::width (this=0xbffff370, ch=
>       {static null = {static null = <same as static member of an
> already seen type>, static replacement = {static null = <same as
> static member of an already seen type>, static replacement = <same as
> static member of an already seen type>, static byteOrderMark = {static
> null = <same as static member of an already seen type>, static
> replacement = <same as static member of an already seen type>, static
> byteOrderMark = <same as static member of an already seen type>,
> static byteOrderSwapped = {static null = <same as static member of an
> already seen type>, static replacement = <same as static member of an
> already seen type>, static byteOrderMark = <same as static member of
> an already seen type>, static byteOrderSwapped = <same as static
> member of an already seen type>, static nbsp = {static null = <same as
> static member of an already seen type>, static replacement = <same as
> static member of an already seen type>, static byteOrderMark = <same
> as static member of an already seen type>, static byteOrderSwapped =
> <same as static member of an already seen type>, static nbsp = <same
> as static member of an already seen type>, ucs = 160}, ucs = 65534},
> static nbsp = <same as static member of an already seen type>, ucs =
> 65279}, static byteOrderSwapped = <same as static member of an already
> seen type>, static nbsp = <same as static member of an already seen
> type>, ucs = 65533}, static byteOrderMark = <same as static member of
> an already seen type>, static byteOrderSwapped = <same as static
> member of an already seen type>, static nbsp = <same as static member
> of an already seen type>, u---Type <return> to continue, or q <return>
> to quit---
> cs = 0}, static replacement = <same as static member of an already
> seen type>, static byteOrderMark = <same as static member of an
> already seen type>, static byteOrderSwapped = <same as static member
> of an already seen type>, static nbsp = <same as static member of an
> already seen type>, ucs = 120})
>     at kernel/qfont_x11.cpp:668
>         uc = 120
>         engine = (class QFontEngine *) 0xbffff2d8
>         nglyphs = 1087209088
>         script = QFont::Latin
>         glyphs = {59564, 16595, 63012, 16710, 17224, 2063, 32032, 16385}
>         advances = {0, 1, 1, 0, 0, 1095185872, 7577, 1087966930}
> #5  0x40ff5515 in QFontMetrics::width (this=0xbffff370, c=120 'x')
>     at qfontmetrics.h:80
> No locals.
> #6  0x410b39cc in QLabel::sizeForWidth (this=0x80f4098, w=-1)
>     at widgets/qlabel.cpp:544
>         mov = (QMovie *) 0x0
>         wid = -1073744912
>         hextra = 0
>         fm = {d = 0x80d8c00, painter = 0x0, fscript = 56}
>         xw = 1087208672
>         br = {x1 = 0, y1 = 0, x2 = -1, y2 = -1}
>         pix = (class QPixmap *) 0x0
> ---Type <return> to continue, or q <return> to quit---
>         pic = (class QPicture *) 0x0
>         vextra = 0
>         hei = 1073840116
> #7  0x410b4152 in QLabel::minimumSizeHint (this=0x80f4098)
>     at widgets/qlabel.cpp:638
>         sz = {wd = -1073744840, ht = 1073795120}
> #8  0x410b4098 in QLabel::sizeHint (this=0x80f4098) at widgets/qlabel.cpp:623
> No locals.
> #9  0x410b322e in QLabel::setText (this=0x80f4098, text=@0xbffff4f0)
>     at widgets/qlabel.cpp:272
>         osh = {wd = -1073744712, ht = 1083590888}
>         hadRichtext = 64
>         useRichText = 174
> #10 0x40961afd in ListBoxSetting::configWidget (this=0x80f2f20, cg=0x0,
>     parent=0x80f3780, widgetName=0x0) at settings.cpp:852
>         label = (class QLabel *) 0x80f4098
>         box = (QWidget *) 0x80f3ca0
> #11 0x40960902 in ConfigurationDialog::dialogWidget (this=0x80f2f4c,
>     parent=0x80dc440, widgetName=0x0) at settings.cpp:715
>         wmult = 1.27999997
>         hmult = 1.23333335
>         layout = (class QVBoxLayout *) 0x80f3a08
> #12 0x409609a5 in ConfigurationDialog::exec (this=0x80f2f4c,
> ---Type <return> to continue, or q <return> to quit---
>     saveOnAccept=true, doLoad=true) at settings.cpp:725
>         dialog = (class MythDialog *) 0x80edc20
>         ret = 135212908
> #13 0x40a3491b in LanguageSettings::prompt (force=false)
>     at langsettings.cpp:105
>         ed = (LangEditor *) 0x80f2f20
> #14 0x080557dd in main (argc=1, argv=0xbffff984) at main.cpp:138
>         a = {<QObject> = {<Qt> = {static color0 = @0x4149dc40,
>       static color1 = @0x4149dc48, static black = @0x4149dc50,
>       static white = @0x4149dc58, static darkGray = @0x4149dc60,
>       static gray = @0x4149dc68, static lightGray = @0x4149dc70,
>       static red = @0x4149dc78, static green = @0x4149dc80,
>       static blue = @0x4149dc88, static cyan = @0x4149dc90,
>       static magenta = @0x4149dc98, static yellow = @0x4149dca0,
>       static darkRed = @0x4149dca8, static darkGreen = @0x4149dcb0,
>       static darkBlue = @0x4149dcb8, static darkCyan = @0x4149dcc0,
>       static darkMagenta = @0x4149dcc8, static darkYellow = @0x4149dcd0,
>       static arrowCursor = @0x4149c340, static upArrowCursor = @0x4149c344,
>       static crossCursor = @0x4149c348, static waitCursor = @0x4149c34c,
>       static ibeamCursor = @0x4149c350, static sizeVerCursor = @0x4149c354,
>       static sizeHorCursor = @0x4149c358,
>       static sizeBDiagCursor = @0x4149c35c,
>       static sizeFDiagCursor = @0x4149c360,
> ---Type <return> to continue, or q <return> to quit---
>       static sizeAllCursor = @0x4149c364, static blankCursor = @0x4149c368,
>       static splitVCursor = @0x4149c36c, static splitHCursor = @0x4149c370,
>       static pointingHandCursor = @0x4149c374,
>       static forbiddenCursor = @0x4149c378,
>       static whatsThisCursor = @0x4149c37c, static busyCursor = @0x4149c380},
>     _vptr.QObject = 0x4148db28, static metaObj = 0x8086ac8, isSignal = 0,
>     isWidget = 0, pendTimer = 0, blockSig = 0, wasDeleted = 0, isTree = 1,
>     objname = 0x8094cc8 "mythtv-setup", parentObj = 0x0,
>     childObjects = 0x809f0a0, connections = 0x0, senderObjects = 0x0,
>     eventFilters = 0x0, postedEvents = 0x809c5b8, d = 0x0},
>   static metaObj = 0x0, static qt_mutex = 0x80ad068, app_argc = 1,
>   app_argv = 0xbffff984, quit_now = false, quit_code = 0,
>   static app_style = 0x80ec0f8, static app_cspec = 0,
>   static app_pal = 0x80a9000, static app_font = 0x8087e80,
>   static app_cursor = 0x0, static eventloop = 0x80cc2c0,
>   static app_tracking = 0, static is_app_running = true,
>   static is_app_closing = false, static app_exit_loop = <optimized out>,
>   static loop_level = 0, static main_widget = 0x0, static focus_widget = 0x0,
>   static active_window = 0x0, static obey_desktop_settings = true,
>   static cursor_flash_time = 1000, static mouse_double_click_time = 400,
>   static wheel_scroll_lines = 3, static composedUnicode = 0,
>   static animate_ui = false, static animate_menu = false,
>   static animate_tooltip = false, static animate_combo = false,
> ---Type <return> to continue, or q <return> to quit---
>   static fade_menu = false, static fade_tooltip = false,
>   static animate_toolbox = false, static widgetCount = false,
>   static metaComposeUnicode = false, translators = 0x0,
>   session_manager = 0x80c8e90, session_id = {static null = {
>       static null = <same as static member of an already seen type>,
>       d = 0x8086050, static shared_null = 0x8086050}, d = 0x8086050,
>     static shared_null = 0x8086050}, static session_key = 0x80c8e80,
>   is_session_restored = false, static app_strut = {wd = 0, ht = 0},
>   static app_libpaths = 0x8094d58, static app_palettes = 0x80c8de8,
>   static app_fonts = 0x0, static popupWidgets = 0x0}
>         fileprefix = {static null = {
>     static null = <same as static member of an already seen type>,
>     d = 0x8086050, static shared_null = 0x8086050}, d = 0x80d8380,
>   static shared_null = 0x8086050}
>         dir = {_vptr.QDir = 0x4148bee8, dPath = {static null = {
>       static null = <same as static member of an already seen type>,
>       d = 0x8086050, static shared_null = 0x8086050}, d = 0x80dc5c0,
>     static shared_null = 0x8086050}, fList = 0x0, fiList = 0x0, nameFilt = {
>     static null = {
>       static null = <same as static member of an already seen type>,
>       d = 0x8086050, static shared_null = 0x8086050}, d = 0x8087dc0,
>     static shared_null = 0x8086050}, filtS = QDir::All,
>   sortS = QDir::IgnoreCase, dirty = 1, allDirs = 0}
> ---Type <return> to continue, or q <return> to quit---
>         mainWindow = (class MythMainWindow *) 0x80dc440
>         dboxCard = {<MythDialog> = {<QFrame> = {<QWidget> = {<QObject>
> = {<Qt> = {static color0 = @0x4149dc40, static color1 = @0x4149dc48,
>             static black = @0x4149dc50, static white = @0x4149dc58,
>             static darkGray = @0x4149dc60, static gray = @0x4149dc68,
>             static lightGray = @0x4149dc70, static red = @0x4149dc78,
>             static green = @0x4149dc80, static blue = @0x4149dc88,
>             static cyan = @0x4149dc90, static magenta = @0x4149dc98,
>             static yellow = @0x4149dca0, static darkRed = @0x4149dca8,
>             static darkGreen = @0x4149dcb0, static darkBlue = @0x4149dcb8,
>             static darkCyan = @0x4149dcc0, static darkMagenta = @0x4149dcc8,
>             static darkYellow = @0x4149dcd0, static arrowCursor = @0x4149c340,
>             static upArrowCursor = @0x4149c344,
>             static crossCursor = @0x4149c348, static waitCursor = @0x4149c34c,
>             static ibeamCursor = @0x4149c350,
>             static sizeVerCursor = @0x4149c354,
>             static sizeHorCursor = @0x4149c358,
>             static sizeBDiagCursor = @0x4149c35c,
>             static sizeFDiagCursor = @0x4149c360,
>             static sizeAllCursor = @0x4149c364,
>             static blankCursor = @0x4149c368,
>             static splitVCursor = @0x4149c36c,
>             static splitHCursor = @0x4149c370,
> ---Type <return> to continue, or q <return> to quit---
>             static pointingHandCursor = @0x4149c374,
>             static forbiddenCursor = @0x4149c378,
>             static whatsThisCursor = @0x4149c37c,
>             static busyCursor = @0x4149c380}, _vptr.QObject = 0x400081a3,
>           static metaObj = 0x8086ac8, isSignal = 0, isWidget = 0,
>           pendTimer = 1, blockSig = 0, wasDeleted = 1, isTree = 1,
>           objname = 0xbffff7f0 " =iA", parentObj = 0x40018618,
>           childObjects = 0x14, connections = 0x41881bd8, senderObjects = 0x1,
>           eventFilters = 0x0, postedEvents = 0x1, d = 0x1}, <QPaintDevice> = {
>           _vptr.QPaintDevice = 0x41655d10, hd = 1, rendhd = 3221223408,
>           devFlags = 63460, painters = 49151, static x_appdisplay = 0x8094fa8,
>           static x_appscreen = 0, static x_appdepth = 24,
>           static x_appcells = 256, static x_approotwindow = 58,
>           static x_appcolormap = 32, static x_appdefcolormap = true,
>           static x_appvisual = 0x8099748, static x_appdefvisual = true,
>           static x_appdepth_arr = 0x8094e88,
>           static x_appcells_arr = 0x80995d0,
>           static x_approotwindow_arr = 0x80995e0,
>           static x_appcolormap_arr = 0x80995f0,
>           static x_appdefcolormap_arr = 0x8094dc8,
>           static x_appvisual_arr = 0x8094dd8,
>           static x_appdefvisual_arr = 0x8099600, x11Data = 0x41633c7f},
>         static metaObj = 0x80d8338, winid = 1, widget_state = 21427748,
> ---Type <return> to continue, or q <return> to quit---
>         widget_flags = 0, focus_policy = 6, own_font = 1, own_palette = 0,
>         sizehint_forced = 0, is_closing = 1, in_show = 0,
>         in_show_maximized = 1, fstrut_dirty = 0, im_enabled = 0, crect = {
>           x1 = 1098508160, y1 = 64971124, x2 = -1073743776, y2 = 1073841352},
>         bg_col = {static color_init = true, static globals_init = true,
>           static colormodel = QColor::d32, d = {argb = 134555317, d8 = {
>               argb = 134555317, pix = 131 '\203', invalid = 227 'ã',
>               dirty = 0 '\0', direct = 64 '@'}, d32 = {argb = 134555317,
>               pix = 1073800067}}}, pal = {data = 0x805269c}, fnt = {
>           d = 0x414a0ec8}, lay_out = 0x40017ff4, extra = 0x41693d20,
>         static instanceCounter = 5, static maxInstances = 5,
>         static mapper = 0x80ad430}, static metaObj = 0x80f3ae0, frect = {
>         x1 = 1097379840, y1 = -1073743796, x2 = 1073774481, y2 = 1097451154},
>       fstyle = 134555419, lwidth = 23824, mwidth = 16741, mlwidth = 20,
>       fwidth = 0, d = 0x20}, static metaObj = 0x80f3b38, wmult = 0, hmult = 0,
>     screenwidth = 1097451348, screenheight = 1097430960, xbase = 1097396944,
>     ybase = 1073840116, m_parent = 0x400184c8, rescode = 1, in_loop = 112,
>     defaultBigFont = {d = 0xbffff888}, defaultMediumFont = {d = 0x415d0611},
>     defaultSmallFont = {d = 0x4165ab70}}, static metaObj = 0x0, box = 0x1,
>   buttongroup = 0x1, checkbox = 0x0}
>         dboxProg = {<MythDialog> = {<QFrame> = {<QWidget> = {<QObject>
> = {<Qt> = {static color0 = @0x4149dc40, static color1 = @0x4149dc48,
>             static black = @0x4149dc50, static white = @0x4149dc58,
> ---Type <return> to continue, or q <return> to quit---
>             static darkGray = @0x4149dc60, static gray = @0x4149dc68,
>             static lightGray = @0x4149dc70, static red = @0x4149dc78,
>             static green = @0x4149dc80, static blue = @0x4149dc88,
>             static cyan = @0x4149dc90, static magenta = @0x4149dc98,
>             static yellow = @0x4149dca0, static darkRed = @0x4149dca8,
>             static darkGreen = @0x4149dcb0, static darkBlue = @0x4149dcb8,
>             static darkCyan = @0x4149dcc0, static darkMagenta = @0x4149dcc8,
>             static darkYellow = @0x4149dcd0, static arrowCursor = @0x4149c340,
>             static upArrowCursor = @0x4149c344,
>             static crossCursor = @0x4149c348, static waitCursor = @0x4149c34c,
>             static ibeamCursor = @0x4149c350,
>             static sizeVerCursor = @0x4149c354,
>             static sizeHorCursor = @0x4149c358,
>             static sizeBDiagCursor = @0x4149c35c,
>             static sizeFDiagCursor = @0x4149c360,
>             static sizeAllCursor = @0x4149c364,
>             static blankCursor = @0x4149c368,
>             static splitVCursor = @0x4149c36c,
>             static splitHCursor = @0x4149c370,
>             static pointingHandCursor = @0x4149c374,
>             static forbiddenCursor = @0x4149c378,
>             static whatsThisCursor = @0x4149c37c,
>             static busyCursor = @0x4149c380}, _vptr.QObject = 0x4179e780,
> ---Type <return> to continue, or q <return> to quit---
>           static metaObj = 0x8086ac8, isSignal = 0, isWidget = 0,
>           pendTimer = 0, blockSig = 0, wasDeleted = 0, isTree = 0,
>           objname = 0x4179eb80
> "xëyAxëyA\200ëyA\200ëyA\210ëyA\210ëyA\220ëyA\220ëyA\230ëyA\230ëyA ëyA
> ëyA¨ëyA¨ëyA°ëyA°ëyA¸ëyA¸ëyAD", parentObj = 0x4179e7c8,
>           childObjects = 0x40d6d10c, connections = 0xbffff72c,
>           senderObjects = 0x40018618, eventFilters = 0xd, postedEvents = 0x0,
>           d = 0x1}, <QPaintDevice> = {_vptr.QPaintDevice = 0x0, hd = 1,
>           rendhd = 1087209088, devFlags = 0, painters = 0,
>           static x_appdisplay = 0x8094fa8, static x_appscreen = 0,
>           static x_appdepth = 24, static x_appcells = 256,
>           static x_approotwindow = 58, static x_appcolormap = 32,
>           static x_appdefcolormap = true, static x_appvisual = 0x8099748,
>           static x_appdefvisual = true, static x_appdepth_arr = 0x8094e88,
>           static x_appcells_arr = 0x80995d0,
>           static x_approotwindow_arr = 0x80995e0,
>           static x_appcolormap_arr = 0x80995f0,
>           static x_appdefcolormap_arr = 0x8094dc8,
>           static x_appvisual_arr = 0x8094dd8,
>           static x_appdefvisual_arr = 0x8099600, x11Data = 0x416ed861},
>         static metaObj = 0x80d8338, winid = 1098508160,
>         widget_state = 1087676332, widget_flags = 17, focus_policy = 8,
>         own_font = 0, own_palette = 0, sizehint_forced = 0, is_closing = 0,
>         in_show = 0, in_show_maximized = 0, fstrut_dirty = 0, im_enabled = 0,
> ---Type <return> to continue, or q <return> to quit---
>         crect = {x1 = 69889, y1 = 134823664, x2 = 0, y2 = 1097783393},
>         bg_col = {static color_init = true, static globals_init = true,
>           static colormodel = QColor::d32, d = {argb = 40, d8 = {argb = 40,
>               pix = 131 '\203', invalid = 227 'ã', dirty = 0 '\0',
>               direct = 64 '@'}, d32 = {argb = 40, pix = 1073800067}}}, pal = {
>           data = 0x805269c}, fnt = {d = 0x414a0ec8}, lay_out = 0x40017ff4,
>         extra = 0x41682680, static instanceCounter = 5,
>         static maxInstances = 5, static mapper = 0x80ad430},
>       static metaObj = 0x80f3ae0, frect = {x1 = 0, y1 = -1073744004,
>         x2 = 1073774481, y2 = 1097451198}, fstyle = 134555407, lwidth = -5248,
>       mwidth = 16761, mlwidth = -6200, fwidth = 16761, d = 0x60},
>     static metaObj = 0x80f3b38, wmult = 0, hmult = 0,
>     screenwidth = 1097451348, screenheight = 1097430960, xbase = 1097396944,
>     ybase = 1097379840, m_parent = 0x23, rescode = 1099438840, in_loop = 216,
>     defaultBigFont = {d = 0x3df6174}, defaultMediumFont = {d = 0x80526b5},
>     defaultSmallFont = {d = 0x40017ff4}}, static metaObj = 0x0,
>   box = 0x40018668, buttongroup = 0x0, checkbox = 0xbffff834}
> (gdb)
> 
> --
> Thanks,
> Devan Lippman <devan at lippman.net>
>


More information about the mythtv-dev mailing list