[mythtv-commits] Ticket #2448: frontend hangs when switching livetv/guide

MythTV mythtv at cvs.mythtv.org
Mon Oct 9 02:31:36 UTC 2006


#2448: frontend hangs when switching livetv/guide
--------------------------------------+-------------------------------------
 Reporter:  spam1001 at 2thebatcave.com  |        Owner:  ijr    
     Type:  defect                    |       Status:  new    
 Priority:  minor                     |    Milestone:  unknown
Component:  mythtv                    |      Version:  0.20   
 Severity:  medium                    |   Resolution:         
--------------------------------------+-------------------------------------
Comment (by jwestfall):

 I ran into this today, trying to get myself switched to using mythtv for
 livetv.

 There seems to be some weirdness when using qt painter when opengl painter
 is compiled in.

 I got the following backtrace when using qt painter.


 {{{
 #0  0xb67c18d0 in QGLContext::makeCurrent () from /usr/lib/libqt-mt.so.3
 #1  0xb67bd2e4 in QGLWidget::makeCurrent () from /usr/lib/libqt-mt.so.3
 #2  0xb67c2b15 in QGLWidget::resizeEvent () from /usr/lib/libqt-mt.so.3
 #3  0xb6566ae6 in QWidget::event () from /usr/lib/libqt-mt.so.3
 #4  0xb64c1e56 in QApplication::internalNotify () from /usr/lib/libqt-
 mt.so.3
 #5  0xb64c2bd6 in QApplication::notify () from /usr/lib/libqt-mt.so.3
 #6  0xb6df006b in QApplication::sendEvent (receiver=0x826f498,
 event=0xa1aff054) at qapplication.h:520
 #7  0xb648d475 in QWidget::internalSetGeometry () from /usr/lib/libqt-
 mt.so.3
 #8  0xb6560d32 in QWidget::resize () from /usr/lib/libqt-mt.so.3
 #9  0xb648d7af in QWidget::setMinimumSize () from /usr/lib/libqt-mt.so.3
 #10 0xb64bc2e4 in QWidget::setMinimumSize () from /usr/lib/libqt-mt.so.3
 #11 0xb655eae4 in QWidget::setFixedSize () from /usr/lib/libqt-mt.so.3
 #12 0xb7a59f90 in TV::doEditSchedule (this=0xb2e01fe0, editType=0) at
 tv_play.cpp:4767
 #13 0xb7a5a0cf in TV::EPGMenuHandler (param=0xb2e01fe0) at
 tv_play.cpp:4780
 #14 0xb6014341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
 #15 0xb5ea74ee in clone () from /lib/tls/i686/cmov/libc.so.6
 }}}

 which causes the QGLContext::makeCurrent: Failed error.

 The following code forces the QWidget to be QGLWidget at compile time.

 {{{

 #ifdef USE_OPENGL_PAINTER
 #define QWidget QGLWidget
 #endif

 MythMainWindow::MythMainWindow()
               : QWidget(NULL, "mainWindow")
 {

 #undef QWidget

 }}}

 Forcing USE_OPENGL_PAINTER to be disabled fixes the hang for me.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2448#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list