[mythtv] backend crash caused by mythweb [bt]

Greg Oldendick oldendic at mailbox.sc.edu
Wed Oct 15 03:17:43 EDT 2003


Here's a backtrace of the crash caused by selecting the Recorded
Programs link from mythweb.  The backtrace for the backend is
first (and quite short... hmm, I wonder if it is useful?), and I also 
got
a backtrace for the frontend after it noticed that the backend had
died (not sure if that's useful either).

Backend:

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 131081 (LWP 776)]
0x40a3f8ab in write () from /lib/libpthread.so.0
(gdb) thread apply all bt full

Thread 11 (Thread 147466 (LWP 777)):
#0  0x40a3c364 in __pthread_sigsuspend () from /lib/libpthread.so.0
No symbol table info available.
#1  0x40a3c128 in __pthread_wait_for_restart_signal () from 
/lib/libpthread.so.0
No symbol table info available.
#2  0x40a38ccb in pthread_cond_wait at GLIBC_2.0 () from 
/lib/libpthread.so.0
No symbol table info available.
#3  0x40794442 in QWaitCondition::wait(unsigned long) () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0xbe7ffa4c in ?? ()
No symbol table info available.
#5  0xbe7ffa54 in ?? ()
No symbol table info available.
#6  0x08086d93 in _Construct<ProcessRequestThread*, 
ProcessRequestThread*> (__p=0xbe7ffbe0,
__value=@0x0)
     at stl_construct.h:78
No locals.
Previous frame inner to this frame (corrupt stack?)
#0  0x40a3f8ab in write () from /lib/libpthread.so.0
(gdb)


**********
Frontend:

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 16384 (LWP 1000)]
0x40a3f8ab in write () from /lib/libpthread.so.0
(gdb) thread apply all bt full

Thread 3 (Thread 16386 (LWP 1004)):
#0  0x40a3f92b in read () from /lib/libpthread.so.0
No symbol table info available.
#1  0x401f449c in ?? () from /usr/lib/liblirc_client.so.0
No symbol table info available.

Thread 2 (Thread 32769 (LWP 1003)):
#0  0x40c35666 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x40a3990e in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x40a39b07 in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.
#3  0x40c3dae7 in clone () from /lib/libc.so.6
No symbol table info available.

Thread 1 (Thread 16384 (LWP 1000)):
#0  0x40a3f8ab in write () from /lib/libpthread.so.0
No symbol table info available.
#1  0x41410c4c in ?? () from /usr/lib/libmysqlclient.so.10
No symbol table info available.
#2  0x00000038 in ?? ()
No symbol table info available.
#3  0x413f681a in net_real_write () from /usr/lib/libmysqlclient.so.10
No symbol table info available.
#4  0x413f659f in net_flush () from /usr/lib/libmysqlclient.so.10
No symbol table info available.
#5  0x413f6704 in net_write_command () from 
/usr/lib/libmysqlclient.so.10
No symbol table info available.
#6  0x413e53ba in simple_command () from /usr/lib/libmysqlclient.so.10
No symbol table info available.
#7  0x413e6d83 in mysql_real_query () from /usr/lib/libmysqlclient.so.10
No symbol table info available.
#8  0x413cb2a1 in QMYSQLResult::reset(QString const&) ()
    from /usr/lib/qt3/plugins/sqldrivers/libqsqlmysql.so
No symbol table info available.
#9  0x40755335 in QSqlQuery::exec(QString const&) () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#10 0x407599a0 in QSqlDatabase::exec(QString const&) const () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#11 0x400acf49 in MythContext::KickDatabase(QSqlDatabase*) 
(db=0x8504278) at mythcontext.cpp:535
         result = <incomplete type>
         i = 0
         query = {static null = {static null = <same as static member of 
an already seen type>,
     d = 0x84dd978, static shared_null = 0x84dd978}, d = 0x42d08480, 
static shared_null =
0x84dd978}
#12 0x400adaa3 in MythContext::GetSetting(QString const&, QString 
const&) (this=0x8503a80,
---Type <return> to continue, or q <return> to quit---
     key=@0xbfffea20, defaultval=@0xbfffea30) at mythcontext.cpp:614
         query = {static null = {static null = <same as static member of 
an already seen type>,
     d = 0x84dd978, static shared_null = 0x84dd978}, d = 0x4092fae0, 
static shared_null =
0x84dd978}
         result = <incomplete type>
         found = false
         value = {static null = {static null = <same as static member of 
an already seen type>,
     d = 0x84dd978, static shared_null = 0x84dd978}, d = 0x84dd978, 
static shared_null = 0x84dd978}
#13 0x080791d9 in PlaybackBox (this=0xbfffea90, ltype=Play, 
parent=0x8527c08, name=0x8335b60
"play")
     at playbackbox.cpp:75
         container = (LayerSet *) 0x40bd7716
#14 0x08069749 in startPlayback() () at main.cpp:90
         pbb = {<MythDialog> = {<> = {<No data fields>}, static metaObj 
= 0x852ce88, wmult =
1.44000006,
     hmult = 1.44000006, screenwidth = 1152, screenheight = 864, xbase = 
0, ybase = 0,
     m_parent = 0x8527c08, rescode = 0, in_loop = false, defaultBigFont 
= {d = 0x42d01fa0},
     defaultMediumFont = {d = 0x42d403b8}, defaultSmallFont = {d = 
0x42d03940}},
   static metaObj = 0x8523f30, backup = {<Qt> = {static color0 = 
@0x4095b7c0,
       static color1 = @0x4095b7c8, static black = @0x4095b7d0, static 
white = @0x4095b7d8,
       static darkGray = @0x4095b7e0, static gray = @0x4095b7e8, static 
lightGray = @0x4095b7f0,
       static red = @0x4095b7f8, static green = @0x4095b800, static blue 
= @0x4095b808,
       static cyan = @0x4095b810, static magenta = @0x4095b818, static 
yellow = @0x4095b820,
       static darkRed = @0x4095b828, static darkGreen = @0x4095b830, 
static darkBlue = @0x4095b838,
       static darkCyan = @0x4095b840, static darkMagenta = @0x4095b848, 
static darkYellow =
@0x4095b850,
       static arrowCursor = @0x40959ea0, static upArrowCursor = 
@0x40959ea4,
       static crossCursor = @0x40959ea8, static waitCursor = @0x40959eac,
       static ibeamCursor = @0x40959eb0, static sizeVerCursor = 
@0x40959eb4,
       static sizeHorCursor = @0x40959eb8, static sizeBDiagCursor = 
@0x40959ebc,
       static sizeFDiagCursor = @0x40959ec0, static sizeAllCursor = 
@0x40959ec4,
       static blankCursor = @0x40959ec8, static splitVCursor = 
@0x40959ecc,
       static splitHCursor = @0x40959ed0, static pointingHandCursor = 
@0x40959ed4,
       static forbiddenCursor = @0x40959ed8, static whatsThisCursor = 
@0x40959edc}, flags = 4, d =
0x0,
     pdev = 0x0, bg_col = {static color_init = true, static globals_init 
= true, static colormodel
= d32,
       d = {argb = 4294967295, d8 = {argb = 4294967295, pix = 84 'T', 
invalid = 82 'R', dirty = 73
'I',
           direct = 68 'D'}, d32 = {argb = 4294967295, pix = 
1145655892}}}, bg_mode = 0 '\0',
     rop = 0 '\0', pu = 0 '\0', bro = {xp = 0, yp = 0}, cfont = {d = 
0x84e7d08}, pfont = 0x0,
     cpen = {<Qt> = {static color0 = @0x4095b7c0, static color1 = 
@0x4095b7c8,
         static black = @0x4095b7d0, static white = @0x4095b7d8, static 
darkGray = @0x4095b7e0,
         static gray = @0x4095b7e8, static lightGray = @0x4095b7f0, 
static red = @0x4095b7f8,
         static green = @0x4095b800, static blue = @0x4095b808, static 
cyan = @0x4095b810,
         static magenta = @0x4095b818, static yellow = @0x4095b820, 
static darkRed = @0x4095b828,
         static darkGreen = @0x4095b830, static darkBlue = @0x4095b838, 
static darkCyan =
@0x4095b840,
         static darkMagenta = @0x4095b848, static darkYellow = 
@0x4095b850,
         static arrowCursor = @0x40959ea0, static upArrowCursor = 
@0x40959ea4,
         static crossCursor = @0x40959ea8, static waitCursor = 
@0x40959eac,
         static ibeamCursor = @0x40959eb0, static sizeVerCursor = 
@0x40959eb4,
         static sizeHorCursor = @0x40959eb8, static sizeBDiagCursor = 
@0x40959ebc,
         static sizeFDiagCursor = @0x40959ec0, static sizeAllCursor = 
@0x40959ec4,
         static blankCursor = @0x40959ec8, static splitVCursor = 
@0x40959ecc,
---Type <return> to continue, or q <return> to quit---
         static splitHCursor = @0x40959ed0, static pointingHandCursor = 
@0x40959ed4,
         static forbiddenCursor = @0x40959ed8, static whatsThisCursor = 
@0x40959edc}, data =
0x42d406c8},
     cbrush = {<Qt> = {static color0 = @0x4095b7c0, static color1 = 
@0x4095b7c8,
         static black = @0x4095b7d0, static white = @0x4095b7d8, static 
darkGray = @0x4095b7e0,
         static gray = @0x4095b7e8, static lightGray = @0x4095b7f0, 
static red = @0x4095b7f8,
         static green = @0x4095b800, static blue = @0x4095b808, static 
cyan = @0x4095b810,
         static magenta = @0x4095b818, static yellow = @0x4095b820, 
static darkRed = @0x4095b828,
         static darkGreen = @0x4095b830, static darkBlue = @0x4095b838, 
static darkCyan =
@0x4095b840,
         static darkMagenta = @0x4095b848, static darkYellow = 
@0x4095b850,
         static arrowCursor = @0x40959ea0, static upArrowCursor = 
@0x40959ea4,
         static crossCursor = @0x40959ea8, static waitCursor = 
@0x40959eac,
         static ibeamCursor = @0x40959eb0, static sizeVerCursor = 
@0x40959eb4,
         static sizeHorCursor = @0x40959eb8, static sizeBDiagCursor = 
@0x40959ebc,
         static sizeFDiagCursor = @0x40959ec0, static sizeAllCursor = 
@0x40959ec4,
         static blankCursor = @0x40959ec8, static splitVCursor = 
@0x40959ecc,
         static splitHCursor = @0x40959ed0, static pointingHandCursor = 
@0x40959ed4,
         static forbiddenCursor = @0x40959ed8, static whatsThisCursor = 
@0x40959edc}, data =
0x84e76d8},
     crgn = {data = 0x8514c58}, tabstops = 0, tabarray = 0x0, 
tabarraylen = 0, block_ext = false,
wx = 0,
     wy = 1083506724, ww = 1120954544, wh = -1073745360, vx = 
-1073747000, vy = 1088341044,
     vw = 1120954544, vh = 1120927760, wxmat = {_m11 = 1, _m12 = 0, _m21 
= 0, _m22 = 1, _dx = 0,
       _dy = 0}, xmat = {_m11 = 1, _m12 = 0, _m21 = 0, _m22 = 1, _dx = 
0, _dy = 0}, ixmat = {_m11 =
1,
       _m12 = 0, _m21 = 0, _m22 = 1, _dx = 0, _dy = 0}, txop = 0, txinv 
= false, penRef = 0x0,
     brushRef = 0x0, ps_stack = 0x0, wm_stack = 0x0, dpy = 0x0, scrn = 
1120927760, hd = 3221220488,
     rendhd = 1086158194, gc = 0x0, gc_brush = 0x0, curPt = {xp = 0, yp 
= 0}, clip_serial = 0},
   skipUpdate = false, noUpdate = false, pageDowner = false, connected = 
66, curitem = 0x0,
   delitem = 0x0, theme = 0x14, xmldata = <incomplete type>, skipNum = 
0, skipCnt = 0, listCount =
0,
   inTitle = true, playingVideo = false, leftRight = false, curTitle = 
1083506724, curShowing = 0,
   titleData = 0x0, showList = {sh = 0x42d406e8}, showData = {sh = 
0x42d2a0b0}, showDateData = {
     sh = 0x42d0c5b0}, type = Play, timer = 0x24, nvp = 0x0, rbuffer = 
0x0, decoder = 139333048,
   lastUpdateTime = {d = {jd = 0}, t = {ds = 0}}, ignoreevents = false, 
graphicPopup = true,
   playbackPreview = 209, generatePreviewPixmap = 66, displayChanNum = 
84, dateformat = {static
null = {
       static null = <same as static member of an already seen type>, d 
= 0x84dd978,
       static shared_null = 0x84dd978}, d = 0x84dd978, static 
shared_null = 0x84dd978}, timeformat
= {
     static null = {static null = <same as static member of an already 
seen type>, d = 0x84dd978,
       static shared_null = 0x84dd978}, d = 0x84dd978, static 
shared_null = 0x84dd978},
showDateFormat = {
     static null = {static null = <same as static member of an already 
seen type>, d = 0x84dd978,
       static shared_null = 0x84dd978}, d = 0x84dd978, static 
shared_null = 0x84dd978},
showTimeFormat = {
     static null = {static null = <same as static member of an already 
seen type>, d = 0x84dd978,
       static shared_null = 0x84dd978}, d = 0x84dd978, static 
shared_null = 0x84dd978}, popup =
0x0,
   myBackground = <incomplete type>, containerPixmap = 0xbfffed50, 
fillerPixmap = 0x40a38aa0,
   bgTransBackup = 0x40a32d28, fullRect = {x1 = 0, y1 = 0, x2 = 1151, y2 
= 863}, listRect = {x1 =
0,
     y1 = 0, x2 = -1, y2 = -1}, infoRect = {x1 = 0, y1 = 0, x2 = -1, y2 
= -1}, usageRect = {x1 = 0,
     y1 = 0, x2 = -1, y2 = -1}, videoRect = {x1 = 0, y1 = 0, x2 = -1, y2 
= -1}, listsize =
139329652,
   titleitems = 0, popupForeground = {static color_init = true, static 
globals_init = true,
     static colormodel = d32, d = {argb = 1224736768, d8 = {argb = 
1224736768, pix = 84 'T',
         invalid = 82 'R', dirty = 73 'I', direct = 68 'D'}, d32 = {argb 
= 1224736768,
         pix = 1145655892}}}, popupBackground = {static color_init = 
true, static globals_init =
true,
---Type <return> to continue, or q <return> to quit---
     static colormodel = d32, d = {argb = 1224736768, d8 = {argb = 
1224736768, pix = 84 'T',
         invalid = 82 'R', dirty = 73 'I', direct = 68 'D'}, d32 = {argb 
= 1224736768,
         pix = 1145655892}}}, popupHighlight = {static color_init = 
true, static globals_init =
true,
     static colormodel = d32, d = {argb = 1224736768, d8 = {argb = 
1224736768, pix = 84 'T',
         invalid = 82 'R', dirty = 73 'I', direct = 68 'D'}, d32 = {argb 
= 1224736768,
         pix = 1145655892}}}, expectingPopup = false}
#15 0x08069db8 in TVMenuCallback(void*, QString&) (data=0x8503a80, 
selection=@0x8537c84) at
main.cpp:223
         sel = {static null = {static null = <same as static member of 
an already seen type>,
     d = 0x84dd978, static shared_null = 0x84dd978}, d = 0x42d02040, 
static shared_null =
0x84dd978}
#16 0x400dd742 in ThemedMenu::handleAction(QString&) (this=0x8537ad8, 
action=@0x855f984)
     at themedmenu.cpp:1864
No locals.
#17 0x400dc313 in ThemedMenu::keyPressEvent(QKeyEvent*) 
(this=0x8537ad8, e=0xbffff4d0)
     at themedmenu.cpp:1701
         handled = false
         lastbutton = (ThemedButton *) 0x855f948
         oldrow = 1
#18 0x40542975 in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#19 0x404b1eaf in QApplication::internalNotify(QObject*, QEvent*) () 
from /usr/lib/libqt-mt.so.3
No symbol table info available.
#20 0x404b19ae in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#21 0x4044c61d in QETWidget::translateKeyEvent(_XEvent const*, bool) () 
from
/usr/lib/libqt-mt.so.3
No symbol table info available.
#22 0x404488c5 in QApplication::x11ProcessEvent(_XEvent*) () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#23 0x4045e951 in QEventLoop::processEvents(unsigned) () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#24 0x404c5698 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#25 0x404b2161 in QApplication::enter_loop() () from 
/usr/lib/libqt-mt.so.3
No symbol table info available.
#26 0x40127621 in MythDialog::exec() (this=0x8537ad8) at 
mythdialogs.cpp:279
         res = 1074951594
#27 0x0806ac60 in RunMenu(QString) (themedir=
       {static null = {static null = <same as static member of an 
already seen type>, d =
0x84dd978, static shared_null = 0x84dd978}, d = 0x85321f0, static 
shared_null = 0x84dd978}) at
main.cpp:342
         exitstatus = 0
#28 0x0806d88c in main (argc=1, argv=0xbffffb34) at main.cpp:663
         lcd_host = {static null = {static null = <same as static member 
of an already seen type>,
     d = 0x84dd978, static shared_null = 0x84dd978}, d = 0x852bf98, 
static shared_null = 0x84dd978}
         lcd_port = 0
         a = <incomplete type>
         translator = <incomplete type>
         logfile = {static null = {static null = <same as static member 
of an already seen type>,
     d = 0x84dd978, static shared_null = 0x84dd978}, d = 0x8503a20, 
static shared_null = 0x84dd978}
---Type <return> to continue, or q <return> to quit---
         verboseString = {static null = {static null = <same as static 
member of an already seen
type>,
     d = 0x84dd978, static shared_null = 0x84dd978}, d = 0x8503a38, 
static shared_null = 0x84dd978}
         pluginname = {static null = {static null = <same as static 
member of an already seen
type>,
     d = 0x84dd978, static shared_null = 0x84dd978}, d = 0x8503a50, 
static shared_null = 0x84dd978}
         binname = {static null = {static null = <same as static member 
of an already seen type>,
     d = 0x84dd978, static shared_null = 0x84dd978}, d = 0x8503a68, 
static shared_null = 0x84dd978}
         logfd = -1
         db = (struct QSqlDatabase *) 0x8515970
         themename = {static null = {static null = <same as static 
member of an already seen type>,
     d = 0x84dd978, static shared_null = 0x84dd978}, d = 0x8532010, 
static shared_null = 0x84dd978}
         randomtheme = false
         themedir = {static null = {static null = <same as static member 
of an already seen type>,
     d = 0x84dd978, static shared_null = 0x84dd978}, d = 0x85321f0, 
static shared_null = 0x84dd978}
         mainWindow = (class MythMainWindow *) 0x8527c08
         exitstatus = 139332992
(gdb)



More information about the mythtv-dev mailing list