[mythtv] Single window popup segfault.

Bruce Markey bjm at lvcm.com
Sun Jun 15 20:42:10 EDT 2003


mythtv at ijr.dnsalias.org wrote:
> ----------------------------------------------------------------------------
> Changes committed by ijr on Sat Jun 14 19:21:15 2003
...
> Log Message:
> Every program is now only one window.  Stuff's probably slightly broken, so
> let me know.

Well, that'll solve a lot of focus and stacking problems =).

What's amazing is how few bugs there are for such a
drastic change. The only problem I'm seeing so far is
exiting the deletion popup. After choosing "Yes, get rid
of it", the console usually (but not always) reports
"Not removing top most widget, error" then the frontend
segfaults.

--  bjm

(gdb) run
Starting program: /usr/local/bin/mythfrontend
[New Thread 16384 (LWP 29779)]
connecting to backend server: 192.168.0.35:6543
[New Thread 32769 (LWP 29796)]
[New Thread 16386 (LWP 29797)]
Changing from None to WatchingRecording
[New Thread 32771 (LWP 29798)]
[New Thread 49156 (LWP 29799)]
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
Using XV port 55
[New Thread 65541 (LWP 29800)]
Your soundcard is not reporting free space correctly.
Falling back to old method...
[New Thread 81926 (LWP 29801)]
Video timing method: reduce jitter
Refresh rate: 13376, frame interval: 33366
Changing from WatchingRecording to None
Changing from None to None
Not removing top most widget, error

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 29779)]
0x40109f76 in MythMainWindow::detach(QWidget*) (this=0x83dd108,
     child=0x84616d8) at mythdialogs.cpp:65
65              current->setFocus();
(gdb) thread apply all bt full

Thread 2 (Thread 32769 (LWP 29796)):
#0  0x40c252c0 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x40a4aa8e in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x40a4ac55 in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 29779)):
#0  0x40109f76 in MythMainWindow::detach(QWidget*) (this=0x83dd108,
     child=0x84616d8) at mythdialogs.cpp:65
         current = (struct QWidget *) 0x8461dc0
#1  0x4010a666 in ~MythDialog (this=0x84616d8) at mythdialogs.cpp:121
No locals.
#2  0x4010ee44 in ~MythPopupBox (this=0x84616d8) at iostream:79
No locals.
#3  0x0807f644 in PlaybackBox::doDelete() (this=0xbfffecd0)
     at playbackbox.cpp:1514
No locals.
#4  0x080b9e64 in PlaybackBox::qt_invoke(int, QUObject*) (this=0xbfffecd0,
     _id=61, _o=0xbfffe5c0) at moc_playbackbox.cpp:138
No locals.
#5  0x4052408d in QObject::activate_signal(QConnectionList*, QUObject*) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#6  0x40523f1b in QObject::activate_signal(int) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#7  0x4083aebc in QButton::pressed() () from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#8  0x400a130b in MythPushButton::keyPressEvent(QKeyEvent*) (this=0x843e9d8,
     e=0xbfffe8d0) at mythwidgets.cpp:868
No locals.
#9  0x4055a568 in QWidget::event(QEvent*) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#10 0x404c4ed5 in QApplication::internalNotify(QObject*, QEvent*) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#11 0x404c4a6c in QApplication::notify(QObject*, QEvent*) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#12 0x4046a994 in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#13 0x40466c19 in QApplication::x11ProcessEvent(_XEvent*) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#14 0x4047b17d in QEventLoop::processEvents(unsigned) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#15 0x404d7b37 in QEventLoop::enterLoop() ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#16 0x404c514c in QApplication::enter_loop() ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#17 0x4010a975 in MythDialog::exec() (this=0xbfffecd0) at 
mythdialogs.cpp:166
         res = 29846720
#18 0x08067316 in startPlayback() () at main.cpp:61
         pbb = {<MythDialog> = {<> = {<No data fields>},
     static metaObj = 0x83f31b8, wmult = 0.800000012, hmult = 0.800000012,
     screenwidth = 640, screenheight = 480, m_parent = 0x83dd108, 
rescode = 0,
     in_loop = true}, static metaObj = 0x83f4490, backup = {<Qt> = {
       static color0 = @0x40a43380, static color1 = @0x40a43388,
       static black = @0x40a43390, static white = @0x40a43398,
       static darkGray = @0x40a433a0, static gray = @0x40a433a8,
       static lightGray = @0x40a433b0, static red = @0x40a433b8,
       static green = @0x40a433c0, static blue = @0x40a433c8,
       static cyan = @0x40a433d0, static magenta = @0x40a433d8,
       static yellow = @0x40a433e0, static darkRed = @0x40a433e8,
       static darkGreen = @0x40a433f0, static darkBlue = @0x40a433f8,
       static darkCyan = @0x40a43400, static darkMagenta = @0x40a43408,
       static darkYellow = @0x40a43410, static arrowCursor = @0x40a41ac0,
       static upArrowCursor = @0x40a41ac4, static crossCursor = @0x40a41ac8,
       static waitCursor = @0x40a41acc, static ibeamCursor = @0x40a41ad0,
       static sizeVerCursor = @0x40a41ad4, static sizeHorCursor = 
@0x40a41ad8,
       static sizeBDiagCursor = @0x40a41adc,
       static sizeFDiagCursor = @0x40a41ae0,
       static sizeAllCursor = @0x40a41ae4, static blankCursor = @0x40a41ae8,
       static splitVCursor = @0x40a41af0, static splitHCursor = @0x40a41aec,
       static pointingHandCursor = @0x40a41af4,
       static forbiddenCursor = @0x40a41af8,
       static whatsThisCursor = @0x40a41afc}, 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 = 0 '\0'}, d32 = {argb = 4282541972,
           pix = 4351892}}}, bg_mode = 0 '\0', rop = 0 '\0', pu = 255 'ÿ',
     bro = {xp = 0, yp = 0}, cfont = {d = 0x83ec8e0}, pfont = 0x0,
     cpen = {<Qt> = {static color0 = @0x40a43380, static color1 = 
@0x40a43388,
         static black = @0x40a43390, static white = @0x40a43398,
         static darkGray = @0x40a433a0, static gray = @0x40a433a8,
         static lightGray = @0x40a433b0, static red = @0x40a433b8,
         static green = @0x40a433c0, static blue = @0x40a433c8,
         static cyan = @0x40a433d0, static magenta = @0x40a433d8,
         static yellow = @0x40a433e0, static darkRed = @0x40a433e8,
         static darkGreen = @0x40a433f0, static darkBlue = @0x40a433f8,
         static darkCyan = @0x40a43400, static darkMagenta = @0x40a43408,
         static darkYellow = @0x40a43410, static arrowCursor = @0x40a41ac0,
         static upArrowCursor = @0x40a41ac4, static crossCursor = 
@0x40a41ac8,
         static waitCursor = @0x40a41acc, static ibeamCursor = @0x40a41ad0,
         static sizeVerCursor = @0x40a41ad4,
         static sizeHorCursor = @0x40a41ad8,
         static sizeBDiagCursor = @0x40a41adc,
         static sizeFDiagCursor = @0x40a41ae0,
         static sizeAllCursor = @0x40a41ae4, static blankCursor = 
@0x40a41ae8,
         static splitVCursor = @0x40a41af0, static splitHCursor = 
@0x40a41aec,
         static pointingHandCursor = @0x40a41af4,
         static forbiddenCursor = @0x40a41af8,
         static whatsThisCursor = @0x40a41afc}, data = 0x84a5b28},
     cbrush = {<Qt> = {static color0 = @0x40a43380,
         static color1 = @0x40a43388, static black = @0x40a43390,
         static white = @0x40a43398, static darkGray = @0x40a433a0,
         static gray = @0x40a433a8, static lightGray = @0x40a433b0,
         static red = @0x40a433b8, static green = @0x40a433c0,
         static blue = @0x40a433c8, static cyan = @0x40a433d0,
         static magenta = @0x40a433d8, static yellow = @0x40a433e0,
         static darkRed = @0x40a433e8, static darkGreen = @0x40a433f0,
         static darkBlue = @0x40a433f8, static darkCyan = @0x40a43400,
         static darkMagenta = @0x40a43408, static darkYellow = @0x40a43410,
         static arrowCursor = @0x40a41ac0, static upArrowCursor = 
@0x40a41ac4,
         static crossCursor = @0x40a41ac8, static waitCursor = @0x40a41acc,
         static ibeamCursor = @0x40a41ad0, static sizeVerCursor = 
@0x40a41ad4,
         static sizeHorCursor = @0x40a41ad8,
         static sizeBDiagCursor = @0x40a41adc,
         static sizeFDiagCursor = @0x40a41ae0,
         static sizeAllCursor = @0x40a41ae4, static blankCursor = 
@0x40a41ae8,
         static splitVCursor = @0x40a41af0, static splitHCursor = 
@0x40a41aec,
         static pointingHandCursor = @0x40a41af4,
         static forbiddenCursor = @0x40a41af8,
         static whatsThisCursor = @0x40a41afc}, data = 0x83b59e8}, crgn = {
       data = 0x83d5410}, tabstops = 0, tabarray = 0x0, tabarraylen = 0,
     block_ext = false, wx = 0, wy = 0, ww = 640, wh = 480, vx = 0, vy = 0,
     vw = 640, vh = 480, 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 = 4194808, rendhd = 0, gc = 0x0, gc_brush = 0x0, curPt = {xp = 0,
       yp = 0}, clip_serial = 282}, skipUpdate = true, noUpdate = false,
   pageDowner = true, curitem = 0x8436008, delitem = 0x8489af0,
   theme = 0x83f0a00, xmldata = <incomplete type>, skipNum = 0, skipCnt = 0,
   listCount = 7, inTitle = false, playingVideo = false, leftRight = false,
   curTitle = 0, curShowing = 1, titleData = 0x8437b34, showList = {
     sh = 0x83ed6a0}, showData = {sh = 0x83f12a0}, showDateData = {
     sh = 0x8438bc8}, type = Play, timer = 0x8435420, nvp = 0x0, rbuffer 
= 0x0,
   decoder = 138363288, lastUpdateTime = {d = {jd = 2452806}, t = {
       ds = 68276423}}, ignoreevents = false, graphicPopup = true,
   playbackPreview = false, generatePreviewPixmap = false,
   displayChanNum = false, dateformat = {static null = {
       static null = <same as static member of an already seen type>,
       d = 0x83abc88, static shared_null = 0x83abc88}, d = 0x8434eb8,
     static shared_null = 0x83abc88}, timeformat = {static null = {
       static null = <same as static member of an already seen type>,
       d = 0x83abc88, static shared_null = 0x83abc88}, d = 0x83f2da8,
     static shared_null = 0x83abc88}, showDateFormat = {static null = {
       static null = <same as static member of an already seen type>,
       d = 0x83abc88, static shared_null = 0x83abc88}, d = 0x8466c78,
     static shared_null = 0x83abc88}, showTimeFormat = {static null = {
       static null = <same as static member of an already seen type>,
       d = 0x83abc88, static shared_null = 0x83abc88}, d = 0x842cfd8,
     static shared_null = 0x83abc88}, popup = 0x84616d8,
   myBackground = <incomplete type>, containerPixmap = 0xbffff0d0,
   fillerPixmap = 0xbfffef70, bgTransBackup = 0x84665c0, fullRect = {x1 = 0,
     y1 = 0, x2 = 639, y2 = 479}, listRect = {x1 = 0, y1 = 40, x2 = 639,
     y2 = 287}, infoRect = {x1 = 0, y1 = 288, x2 = 478, y2 = 479}, 
usageRect = {     x1 = 0, y1 = 440, x2 = 639, y2 = 479}, videoRect = {x1 
= 488, y1 = 320,
     x2 = 615, y2 = 415}, listsize = 7, titleitems = 36, 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,
     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}}}}
#19 0x08067719 in TVMenuCallback(void*, QString&) (data=0x83c2088,
     selection=@0x83f0db0) at main.cpp:131
         sel = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x83abc88, static shared_null = 0x83abc88}, d = 0x83f0e58,
   static shared_null = 0x83abc88}
#20 0x400c5676 in ThemedMenu::handleAction(QString&) (this=0x83f0c60,
     action=@0x8428ba4) at themedmenu.cpp:1673
No locals.
#21 0x400c49ca in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x83f0c60,
     e=0xbffff490) at themedmenu.cpp:1575
         handled = false
         lastbutton = (ThemedButton *) 0x8428b68
         oldrow = 2
#22 0x4055a568 in QWidget::event(QEvent*) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#23 0x404c4ed5 in QApplication::internalNotify(QObject*, QEvent*) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#24 0x404c4a6c in QApplication::notify(QObject*, QEvent*) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#25 0x4046a994 in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#26 0x40466c19 in QApplication::x11ProcessEvent(_XEvent*) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#27 0x4047b17d in QEventLoop::processEvents(unsigned) ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#28 0x404d7b37 in QEventLoop::enterLoop() ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#29 0x404c514c in QApplication::enter_loop() ()
    from /usr/local/qt/lib/libqt-mt.so.3
No symbol table info available.
#30 0x4010a975 in MythDialog::exec() (this=0x83f0c60) at mythdialogs.cpp:166
         res = 1074833658
#31 0x080683a8 in RunMenu(QString) (themedir=
       {static null = {static null = <same as static member of an 
already seen type>, d = 0x83abc88, static shared_null = 0x83abc88}, d = 
0x83d93f8, static shared_null = 0x83abc88}) at main.cpp:218
         exitstatus = 0
#32 0x08069cfe in main (argc=1, argv=0xbffffac4) at main.cpp:371
         lcd_host = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x83abc88, static shared_null = 0x83abc88}, d = 0x83ee2a0,
   static shared_null = 0x83abc88}
         lcd_port = 0
         a = <incomplete type>
         translator = <incomplete type>
         db = (struct QSqlDatabase *) 0x83c42b0
         server = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x83abc88, static shared_null = 0x83abc88}, d = 0x83d9688,
   static shared_null = 0x83abc88}
         port = 6543
         themename = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x83abc88, static shared_null = 0x83abc88}, d = 0x83c1630,
   static shared_null = 0x83abc88}
         randomtheme = false
         themedir = {static null = {
     static null = <same as static member of an already seen type>,
     d = 0x83abc88, static shared_null = 0x83abc88}, d = 0x83d93f8,
   static shared_null = 0x83abc88}
         mainWindow = (class MythMainWindow *) 0x83dd108
         exitstatus = 1086811328
(gdb)



More information about the mythtv-dev mailing list