[mythtv] Backtrace: problem when backend goes away

Ed Wildgoose lists at wildgooses.com
Sat Feb 19 02:51:45 UTC 2005


Hi folks, just updated to CVS and now seeing quite a few issues compared 
with my couple of weeks old version from before. 

Just trying to track down and fix what I can, but I perhaps someone can 
help quickly with this one: Basically I am seeing the backend die fairly 
frequently, and if it happens while the frontend is on the playback 
screen then when you quit watching some program you get the "backend has 
gone away" message, and then the UI freezes.

Below is a backtrace from that frozen point.  I would be grateful if 
someone could have a quick look at it whilst I try to figure out why the 
backend is dying in the first place.

Thanks

Ed W


2005-02-19 02:45:33.153 Changing from WatchingPreRecorded to None
Finishing playback
2005-02-19 02:45:33.242 Changing from None to None
[Thread -1335886928 (LWP 22718) exited]
Errm, event socket just closed.
[New Thread -1335886928 (LWP 22727)]
[New Thread -1352672336 (LWP 22728)]
[Thread -1352672336 (LWP 22728) exited]
[Thread -1335886928 (LWP 22727) exited]
2005-02-19 02:45:37.812 ReadStringList: Bad socket
Connection to backend server lost
2005-02-19 02:45:39.112 Connecting to backend server: 127.0.0.1:6543 
(try 1 of 5)
Connection timed out.
You probably should modify the Master Server settings
in the setup program and set the proper IP address.

Program received signal SIGINT, Interrupt.
[Switching to Thread -1243570032 (LWP 22231)]
0xffffe410 in ?? ()
(gdb) thread apply all bt full

Thread 4 (Thread -1258902608 (LWP 22704)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xb4f6aa30 in ?? ()
No symbol table info available.
#2  0x00000001 in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0xb69417c5 in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
No symbol table info available.
#5  0xb6b59457 in QThread::exit () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#6  0xb6b59562 in QThread::msleep () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#7  0xb74dd927 in MonitorThread::run (this=0xb46129e8) at 
mythmediamonitor.cpp:77
No locals.
#8  0xb6b590da in QThreadInstance::start () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#9  0xb693f97b in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#10 0xb67fea8a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 2 (Thread -1246323792 (LWP 22248)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xb5b699a8 in ?? ()
No symbol table info available.
#2  0x00000003 in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0xb69415d2 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
No symbol table info available.
#5  0xb6e5e8c9 in QWaitCondition::wait () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#6  0xb73eb882 in MythContext::waitPrivRequest (this=0x81d8ca8) at 
mythcontext.cpp:2138
No locals.
#7  0x0806d034 in run_priv_thread (data=0x0) at main.cpp:663
No locals.
#8  0xb693f97b in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0xb67fea8a in clone () from /lib/libc.so.6
No symbol table info available.

---Type <return> to continue, or q <return> to quit---
Thread 1 (Thread -1243570032 (LWP 22231)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xbfffd128 in ?? ()
No symbol table info available.
#2  0x081ea804 in ?? ()
No symbol table info available.
#3  0x081ea680 in ?? ()
No symbol table info available.
#4  0xb67f8791 in ___newselect_nocancel () from /lib/libc.so.6
No symbol table info available.
#5  0xb6b0e8ba in QEventLoop::processEvents () from 
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#6  0xb6b77da8 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#7  0xb6b65e91 in QApplication::enter_loop () from 
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#8  0xb749059b in MythDialog::exec (this=0xbfffd1a0) at mythdialogs.cpp:954
        res = 22545500
#9  0x08069e58 in startPlayback () at main.cpp:199
        pbb = {<MythDialog> = {<> = {<No data fields>}, static metaObj = 
0xb461b338, wmult = 0.899999976,
    hmult = 0.959999979, screenwidth = 720, screenheight = 576, xbase = 
0, ybase = 0, m_parent = 0x8200230,
    rescode = 0, in_loop = true, defaultBigFont = {d = 0xb46206c8}, 
defaultMediumFont = {d = 0xb463cd38},
    defaultSmallFont = {d = 0xb460fcd8}}, static metaObj = 0xb46287d0, 
backup = {<Qt> = {static color0 = @0xb702fbc0,
      static color1 = @0xb702fbc8, static black = @0xb702fbd0, static 
white = @0xb702fbd8,
      static darkGray = @0xb702fbe0, static gray = @0xb702fbe8, static 
lightGray = @0xb702fbf0,
      static red = @0xb702fbf8, static green = @0xb702fc00, static blue 
= @0xb702fc08, static cyan = @0xb702fc10,
      static magenta = @0xb702fc18, static yellow = @0xb702fc20, static 
darkRed = @0xb702fc28,
      static darkGreen = @0xb702fc30, static darkBlue = @0xb702fc38, 
static darkCyan = @0xb702fc40,
      static darkMagenta = @0xb702fc48, static darkYellow = @0xb702fc50, 
static arrowCursor = @0xb702e2a0,
      static upArrowCursor = @0xb702e2a4, static crossCursor = 
@0xb702e2a8, static waitCursor = @0xb702e2ac,
      static ibeamCursor = @0xb702e2b0, static sizeVerCursor = 
@0xb702e2b4, static sizeHorCursor = @0xb702e2b8,
      static sizeBDiagCursor = @0xb702e2bc, static sizeFDiagCursor = 
@0xb702e2c0, static sizeAllCursor = @0xb702e2c4,
      static blankCursor = @0xb702e2c8, static splitVCursor = 
@0xb702e2cc, static splitHCursor = @0xb702e2d0,
      static pointingHandCursor = @0xb702e2d4, static forbiddenCursor = 
@0xb702e2d8,
      static whatsThisCursor = @0xb702e2dc, static busyCursor = 
@0xb702e2e0}, flags = 0, d = 0x0, pdev = 0x0,
    bg_col = {static color_init = true, static globals_init = true, 
static colormodel = d32, d = {argb = 4282541972,
        d8 = {argb = 4282541972, pix = 148 '\224', invalid = 103 'g', 
dirty = 66 'B', direct = 255 'ÿ'}, d32 = {
          argb = 4282541972, pix = 4282541972}}}, bg_mode = 0 '\0', rop 
= 0 '\0', pu = 255 'ÿ', bro = {xp = 0,
      yp = 0}, cfont = {d = 0x81ff7a0}, pfont = 0x0, cpen = {<Qt> = 
{static color0 = @0xb702fbc0,
        static color1 = @0xb702fbc8, static black = @0xb702fbd0, static 
white = @0xb702fbd8,
        static darkGray = @0xb702fbe0, static gray = @0xb702fbe8, static 
lightGray = @0xb702fbf0,
        static red = @0xb702fbf8, static green = @0xb702fc00, static 
blue = @0xb702fc08, static cyan = @0xb702fc10,
        static magenta = @0xb702fc18, static yellow = @0xb702fc20, 
static darkRed = @0xb702fc28,
        static darkGreen = @0xb702fc30, static darkBlue = @0xb702fc38, 
static darkCyan = @0xb702fc40,
        static darkMagenta = @0xb702fc48, static darkYellow = 
@0xb702fc50, static arrowCursor = @0xb702e2a0,
        static upArrowCursor = @0xb702e2a4, static crossCursor = 
@0xb702e2a8, static waitCursor = @0xb702e2ac,
---Type <return> to continue, or q <return> to quit---
        static ibeamCursor = @0xb702e2b0, static sizeVerCursor = 
@0xb702e2b4, static sizeHorCursor = @0xb702e2b8,
        static sizeBDiagCursor = @0xb702e2bc, static sizeFDiagCursor = 
@0xb702e2c0,
        static sizeAllCursor = @0xb702e2c4, static blankCursor = 
@0xb702e2c8, static splitVCursor = @0xb702e2cc,
        static splitHCursor = @0xb702e2d0, static pointingHandCursor = 
@0xb702e2d4,
        static forbiddenCursor = @0xb702e2d8, static whatsThisCursor = 
@0xb702e2dc, static busyCursor = @0xb702e2e0},
      data = 0xb4641280}, cbrush = {<Qt> = {static color0 = @0xb702fbc0, 
static color1 = @0xb702fbc8,
        static black = @0xb702fbd0, static white = @0xb702fbd8, static 
darkGray = @0xb702fbe0,
        static gray = @0xb702fbe8, static lightGray = @0xb702fbf0, 
static red = @0xb702fbf8,
        static green = @0xb702fc00, static blue = @0xb702fc08, static 
cyan = @0xb702fc10,
        static magenta = @0xb702fc18, static yellow = @0xb702fc20, 
static darkRed = @0xb702fc28,
        static darkGreen = @0xb702fc30, static darkBlue = @0xb702fc38, 
static darkCyan = @0xb702fc40,
        static darkMagenta = @0xb702fc48, static darkYellow = 
@0xb702fc50, static arrowCursor = @0xb702e2a0,
        static upArrowCursor = @0xb702e2a4, static crossCursor = 
@0xb702e2a8, static waitCursor = @0xb702e2ac,
        static ibeamCursor = @0xb702e2b0, static sizeVerCursor = 
@0xb702e2b4, static sizeHorCursor = @0xb702e2b8,
        static sizeBDiagCursor = @0xb702e2bc, static sizeFDiagCursor = 
@0xb702e2c0,
        static sizeAllCursor = @0xb702e2c4, static blankCursor = 
@0xb702e2c8, static splitVCursor = @0xb702e2cc,
        static splitHCursor = @0xb702e2d0, static pointingHandCursor = 
@0xb702e2d4,
        static forbiddenCursor = @0xb702e2d8, static whatsThisCursor = 
@0xb702e2dc, static busyCursor = @0xb702e2e0},
      data = 0x81b7ff0}, crgn = {data = 0xb461a6b0}, tabstops = 0, 
tabarray = 0x0, tabarraylen = 0, block_ext = false,
    wx = 0, wy = 0, ww = 720, wh = 576, vx = 0, vy = 0, vw = 720, vh = 
576, 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 = 0, 
hd = 2097747, rendhd = 3026404120, gc = 0x0,
    gc_brush = 0x0, curPt = {xp = 0, yp = 0}, clip_serial = 2319}, 
haveGroupInfoSet = false, skipUpdate = true,
  pageDowner = false, connected = false, curitem = 0x0, delitem = 
0xb4647790, theme = 0xb462d658,
  xmldata = <incomplete type>, skipCnt = 0, inTitle = false, 
playingVideo = false, leftRight = false, titleIndex = 0,
  progIndex = 0, titleList = {<QValueList<QString>> = {sh = 0xb462bd78}, 
<No data fields>},
  playList = {<QValueList<QString>> = {sh = 0xb4615448}, <No data 
fields>}, onPlaylist = false, progLists = {
    sh = 0xb4656060}, type = Play, arrowAccel = true, timer = 
0xb4632170, nvp = 0x0, rbuffer = 0x0,
  decoder = 2959080368, state = kStarting, killState = kDone, 
killTimeout = {ds = 9936805}, nvpTimeout = {
    ds = 9934239}, waitToStartPreviewTimer = {ds = 9937920}, waitToStart 
= false, lastUpdateTime = {d = {
      jd = 2453421}, t = {ds = 9933357}}, graphicPopup = true, 
playbackPreview = true, generatePreviewPixmap = false,
  dateformat = {static null = {static null = <same as static member of 
an already seen type>, d = 0x8150380,
      static shared_null = 0x8150380}, d = 0xb462f268, static 
shared_null = 0x8150380}, timeformat = {static null = {
      static null = <same as static member of an already seen type>, d = 
0x8150380, static shared_null = 0x8150380},
    d = 0xb462ead0, static shared_null = 0x8150380}, showDateFormat = 
{static null = {
      static null = <same as static member of an already seen type>, d = 
0x8150380, static shared_null = 0x8150380},
    d = 0xb4603908, static shared_null = 0x8150380}, showTimeFormat = 
{static null = {
      static null = <same as static member of an already seen type>, d = 
0x8150380, static shared_null = 0x8150380},
    d = 0xb4661b68, static shared_null = 0x8150380}, popup = 0x0, 
myBackground = <incomplete type>,
  containerPixmap = 0xb460baf0, fillerPixmap = 0xbfffd468, bgTransBackup 
= 0xb46908e8, fullRect = {x1 = 0, y1 = 0,
    x2 = 719, y2 = 575}, listRect = {x1 = 0, y1 = 38, x2 = 718, y2 = 
334}, infoRect = {x1 = 0, y1 = 326, x2 = 718,
    y2 = 612}, usageRect = {x1 = 0, y1 = 527, x2 = 718, y2 = 564}, 
videoRect = {x1 = 551, y1 = 336, x2 = 693,
    y2 = 450}, curGroupRect = {x1 = 17, y1 = 9, x2 = 267, y2 = 41}, 
listsize = 7, popupForeground = {
    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}}}, 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 = 4278286258, d8 = {
        argb = 4278286258, pix = 84 'T', invalid = 82 'R', dirty = 73 
'I', direct = 68 'D'}, d32 = {argb = 4278286258,
        pix = 1145655892}}}, expectingPopup = false, updateFreeSpace = 
true, freeSpaceTimer = 0xb4684918,
  freeSpaceTotal = 0, freeSpaceUsed = 0, groupDisplayName = {static null = {
      static null = <same as static member of an already seen type>, d = 
0x8150380, static shared_null = 0x8150380},
    d = 0xb4689890, static shared_null = 0x8150380}, recGroup = {static 
null = {
      static null = <same as static member of an already seen type>, d = 
0x8150380, static shared_null = 0x8150380},
    d = 0xb4660068, static shared_null = 0x8150380}, recGroupPassword = 
{static null = {
      static null = <same as static member of an already seen type>, d = 
0x8150380, static shared_null = 0x8150380},
    d = 0xb4633618, static shared_null = 0x8150380}, curGroupPassword = 
{static null = {
      static null = <same as static member of an already seen type>, d = 
0x8150380, static shared_null = 0x8150380},
    d = 0xb461b078, static shared_null = 0x8150380}, recGroupType = {sh 
= 0xb461ac60}, recGroupPwCache = {
    sh = 0xb4668b18}, choosePopup = 0xb7ff6c69, chooseListBox = 
0xb7feb1a0, chooseComboBox = 0x0,
  chooseLineEdit = 0x67, chooseOldPassword = 0x1, chooseNewPassword = 
0x0, chooseOkButton = 0x0,
  chooseDeleteButton = 0x8040074, chooseGroupPassword = {static null = {
      static null = <same as static member of an already seen type>, d = 
0x8150380, static shared_null = 0x8150380},
    d = 0x8150380, static shared_null = 0x8150380}, groupnameAsAllProg = 
false, previewPixmap = 0x0, previewStartts = {
    d = {jd = 2453421}, t = {ds = 9828993}}, previewChanid = {static 
null = {
      static null = <same as static member of an already seen type>, d = 
0x8150380, static shared_null = 0x8150380},
    d = 0xb460a9c0, static shared_null = 0x8150380}, listOrder = 1, 
overrectime = 300, underrectime = 0,
  playingSomething = false, titleView = true}
#10 0x0806a620 in TVMenuCallback (data=0x81d8ca8, selection=@0xb468a4ec) 
at main.cpp:356
        sel = {static null = {static null = <same as static member of an 
already seen type>, d = 0x8150380,
    static shared_null = 0x8150380}, d = 0xb4683f08, static shared_null 
= 0x8150380}
#11 0xb742734d in ThemedMenuPrivate::handleAction (this=0xb468a3f0, 
action=@0xb465e258) at themedmenu.cpp:2467
No locals.
#12 0xb7425847 in ThemedMenuPrivate::keyPressHandler (this=0xb468a3f0, 
e=0xbfffdda0) at themedmenu.cpp:2296
        it = {node = 0xb465e250}
        action = {static null = {static null = <same as static member of 
an already seen type>, d = 0x8150380,
    static shared_null = 0x8150380}, d = 0xb4600758, static shared_null 
= 0x8150380}
        i = 0
        lastbutton = (ThemedButton *) 0xb468d2a8
        oldrow = 0
        handled = true
        actions = {<QValueList<QString>> = {sh = 0xb4633550}, <No data 
fields>}
#13 0xb7428966 in ThemedMenu::keyPressEvent (this=0xb461d868, 
e=0xbfffdda0) at themedmenu.cpp:2662
No locals.
#14 0xb6bf80e5 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#15 0xb6b65bdf in QApplication::internalNotify () from 
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#16 0xb6b65444 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#17 0xb6afc4c0 in QETWidget::translateKeyEvent () from 
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#18 0xb6af7d47 in QApplication::x11ProcessEvent () from 
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#19 0xb6b0efb4 in QEventLoop::processEvents () from 
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#20 0xb6b77da8 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#21 0xb6b65e91 in QApplication::enter_loop () from 
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#22 0xb749059b in MythDialog::exec (this=0xb461d868) at mythdialogs.cpp:954
        res = -1219951324
#23 0x0806b7e2 in RunMenu (themedir=
      {static null = {static null = <same as static member of an already 
seen type>, d = 0x8150380, static shared_null = 0x8150380}, d = 
0x81fe900, static shared_null = 0x8150380}) at main.cpp:510
        exitstatus = 0
#24 0x0807011b in main (argc=1, argv=0xbfffe524) at main.cpp:1036
        lcd_host = {static null = {static null = <same as static member 
of an already seen type>, d = 0x8150380,
    static shared_null = 0x8150380}, d = 0x81ebee8, static shared_null = 
0x8150380}
        lcd_port = 13666
        a = <incomplete type>
        logfile = {static null = {static null = <same as static member 
of an already seen type>, d = 0x8150380,
    static shared_null = 0x8150380}, d = 0x81d8a50, static shared_null = 
0x8150380}
        verboseString = {static null = {static null = <same as static 
member of an already seen type>, d = 0x8150380,
    static shared_null = 0x8150380}, d = 0x81d8a68, static shared_null = 
0x8150380}
        pluginname = {static null = {static null = <same as static 
member of an already seen type>, d = 0x8150380,
    static shared_null = 0x8150380}, d = 0x81d8a80, static shared_null = 
0x8150380}
        finfo = {fn = {static null = {static null = <same as static 
member of an already seen type>, d = 0x8150380,
      static shared_null = 0x8150380}, d = 0x81d8ac8, static shared_null 
= 0x8150380}, fic = 0x0, cache = true,
  symLink = false}
        binname = {static null = {static null = <same as static member 
of an already seen type>, d = 0x8150380,
    static shared_null = 0x8150380}, d = 0x81d8ae0, static shared_null = 
0x8150380}
        logfd = -1
        fileprefix = {static null = {static null = <same as static 
member of an already seen type>, d = 0x8150380,
    static shared_null = 0x8150380}, d = 0x81d8bb0, static shared_null = 
0x8150380}
        dir = <incomplete type>
        priv_thread = 3048643504
        status = 0
        db = (struct QSqlDatabase *) 0x81eb210
        themename = {static null = {static null = <same as static member 
of an already seen type>, d = 0x8150380,
    static shared_null = 0x8150380}, d = 0x829c238, static shared_null = 
0x8150380}
        randomtheme = false
        themedir = {static null = {static null = <same as static member 
of an already seen type>, d = 0x8150380,
    static shared_null = 0x8150380}, d = 0x81fe900, static shared_null = 
0x8150380}
        mainWindow = (class MythMainWindow *) 0x8200230
        pmanager = (MythPluginManager *) 0xb4603b60
        mon = (class MediaMonitor *) 0xb46129b8
        exitstatus = 0



More information about the mythtv-dev mailing list