[mythtv] Frontend crashing in OpenGL when going from livetv to guide

Steve Atkins steve at blighty.com
Mon Oct 9 15:45:43 UTC 2006


In 0.20 and head (rev 11466) I'm seeing the frontend crash with an
assert in opengl most times I switch from livetv to the guide. It's a  
new
problem since 0.19. This is using a PVR350 for output, so we don't have
real opengl support, just mesa.

     mythfrontend: ../../../src/mesa/glapi/glapi.c:341:  
_glapi_get_dispatch: Assertion `api != ((void *)0)' failed.
     Aborted

Googling around I've seen several workaround suggestions about
similar errors, so I've tried running it with UseOpenGLPainter=0,
disabling OpenGL frame sync and setting the UI resolution to be
the same as the playback resolution.

The last one worked, the others didn't. (This bug report is mostly
so other people with the same problem can find a workaround that
works.)

The relevant backtrace looks like this:

#3  0xb5ce1f51 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#4  0xb602b0d0 in _glapi_get_dispatch () from /usr/lib/libGL.so.1
No symbol table info available.
#5  0xb602b137 in _glapi_check_multithread () from /usr/lib/libGL.so.1
No symbol table info available.
#6  0xb6043085 in glXMakeCurrentReadSGI () from /usr/lib/libGL.so.1
No symbol table info available.
#7  0xb604344a in glXMakeCurrent () from /usr/lib/libGL.so.1
No symbol table info available.
#8  0xb66839bd in QGLContext::makeCurrent () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#9  0xb667f2e4 in QGLWidget::makeCurrent () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#10 0xb6684b15 in QGLWidget::resizeEvent () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#11 0xb6428ae6 in QWidget::event () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#12 0xb6383e56 in QApplication::internalNotify () from /usr/lib/libqt- 
mt.so.3
No symbol table info available.
#13 0xb6384bd6 in QApplication::notify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#14 0xb6de7ab7 in QApplication::sendEvent (receiver=0x82eb1d8,  
event=0xae0c5054) at qapplicatio
n.h:520
No locals.
#15 0xb634f475 in QWidget::internalSetGeometry () from /usr/lib/libqt- 
mt.so.3
No symbol table info available.
#16 0xb6422d32 in QWidget::resize () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#17 0xb634fa54 in QWidget::setMaximumSize () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#18 0xb642925e in QWidget::setMaximumSize () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#19 0xb6420af6 in QWidget::setFixedSize () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#20 0xb7a4a041 in TV::doEditSchedule (this=0x828c808, editType=0) at  
tv_play.cpp:4711
         mwnd = (class MythMainWindow *) 0x82eb1d8
         using_gui_size_for_tv = false
         changeChannel = true
         chanid = 0
         channum = {static null = {static null = <same as static  
member of an already seen type>
, d = 0x81970c0, static shared_null = 0x81970c0}, d = 0x9bca6d8,  
static shared_null = 0x81970c0
}
#21 0xb7a4a4a3 in TV::EPGMenuHandler (param=0x828c808) at tv_play.cpp: 
4780
         obj = (class TV *) 0x828c808
#22 0xb5ef5341 in start_thread () from /lib/tls/i686/cmov/ 
libpthread.so.0
No symbol table info available.
#23 0xb5d894ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.

Cheers,
   Steve



More information about the mythtv-dev mailing list