[mythtv] [mythtv-commits] mythtv commit: r18189 by stuartm

Paul Harrison mythtv at dsl.pipex.com
Sun Aug 24 14:37:18 UTC 2008


mythtv at cvs.mythtv.org wrote:
>       Author: stuartm
>         Date: 2008-08-24 10:46:56 +0000 (Sun, 24 Aug 2008)
> New Revision: 18189
>    Changeset: http://cvs.mythtv.org/trac/changeset/18189
>
> Modified:
>
>    trunk/mythtv/libs/libmythui/mythuiimage.cpp
>
> Log:
>
> Fix some images redraw issues reported with the QT painter.
>
>
>
>   
Did you actually test this? Seems to segfault whenever I exit a screen.

This one is from pressing escape in the main menu.

Removing the  SetRedraw() in Clear() you added seems to fix it.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb3e676f0 (LWP 14085)]
0xb5ce18ee in QRegion::isEmpty () from /usr/lib/qt4/libQtGui.so.4
(gdb) bt full
#0  0xb5ce18ee in QRegion::isEmpty () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#1  0xb69ba9e2 in MythUIType::SetChildNeedsRedraw (this=0x837cfe8, 
child=0x838cb58) at mythuitype.cpp:197
        childRegion = {d = 0x0, static shared_empty = {ref = {_q_value = 
266}, rgn = 0x0, xrectangles = 0x0,
    qt_rgn = 0x0}}
#2  0xb69bab2e in MythUIType::SetChildNeedsRedraw (this=0x838cb58, 
child=0x82f77d0) at mythuitype.cpp:212
        childRegion = {d = 0x8314b20, static shared_empty = {ref = 
{_q_value = 266}, rgn = 0x0,
    xrectangles = 0x0, qt_rgn = 0x0}}
#3  0xb69bad12 in MythUIType::SetRedraw (this=0x82f77d0) at 
mythuitype.cpp:191
No locals.
#4  0xb69bf90f in MythUIImage::Clear (this=0x82f77d0) at mythuiimage.cpp:63
No locals.
#5  0xb69c0730 in ~MythUIImage (this=0x82f77d0) at mythuiimage.cpp:53
No locals.
#6  0xb5643d2e in QObjectPrivate::deleteChildren () from 
/usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#7  0xb564afea in QObject::~QObject () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#8  0xb69bc584 in ~MythUIType (this=0x838cb58) at mythuitype.cpp:42
No locals.
#9  0xb69c65d9 in ~MythUIStateType (this=0x838cb58) at 
mythuistatetype.cpp:17
No locals.
#10 0xb5643d2e in QObjectPrivate::deleteChildren () from 
/usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#11 0xb564afea in QObject::~QObject () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#12 0xb69bc584 in ~MythUIType (this=0x837cfe8) at mythuitype.cpp:42
No locals.
#13 0xb69f0978 in ~ThemedButton (this=0x837cfe8) at myththemedmenu.cpp:48
No locals.
#14 0xb5643d2e in QObjectPrivate::deleteChildren () from 
/usr/lib/qt4/libQtCore.so.4
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#15 0xb564afea in QObject::~QObject () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#16 0xb69bc584 in ~MythUIType (this=0x82f8868) at mythuitype.cpp:42
No locals.
#17 0xb69b5d38 in ~MythScreenType (this=0x82f8868) at mythscreentype.cpp:43
No locals.
#18 0xb69eaba9 in ~MythThemedMenu (this=0x82f8868) at 
myththemedmenu.cpp:2446
No locals.
#19 0xb69b40fd in MythScreenStack::PopScreen (this=0x843a2b8, 
allowFade=true, deleteScreen=true)
    at mythscreenstack.cpp:96
        top = (class MythScreenType *) 0x82f8868
        mainwindow = (class MythMainWindow *) 0x830fb88
#20 0xb69ececc in MythThemedMenu::keyPressEvent (this=0x82f8868, 
e=0xbfe86014) at myththemedmenu.cpp:2524
        ret = true
#21 0xb697d25d in MythMainWindow::eventFilter (this=0x830fb88, 
e=0xbfe86014) at mythmainwindow.cpp:1332
        top = (class MythScreenType *) 0x82f8868
        ke = (struct QKeyEvent *) 0xbfe86014
        it = (class MythScreenStack **) 0x843bc44
        ge = (MythGestureEvent *) 0x82870c8
#22 0xb5634292 in QCoreApplicationPrivate::sendThroughObjectEventFilters 
() from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#23 0xb5b37c34 in QApplicationPrivate::notify_helper () from 
/usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#24 0xb5b3d1f3 in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#25 0xb5633e01 in QCoreApplication::notifyInternal () from 
/usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#26 0xb5b9742d in ?? () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#27 0xb5bc7b62 in ?? () from /usr/lib/qt4/libQtGui.so.4
No symbol table info available.
#28 0xb5bc9cfa in ?? () from /usr/lib/qt4/libQtGui.so.4


Paul H.


More information about the mythtv-dev mailing list