[mythtv-users] Some TRUNK (Qt4) issues (amd64)

Simon Levitt maillists at whattf.com
Wed Apr 30 09:37:42 UTC 2008


Hi,

I took the plunge into Qt4 land last night, and the experience was generally 
positive.

I do have a few issues which I thought it would be useful to feedback.

I'm running on a code revision somewhere close to 17164 (Can't tell exactly as 
done an update since building), on an AMD64 platform (in 64bit) running 
Gentoo using an ATI 9200 based video card running against Qt 4.3.4.

a) mythfrontend SEGV.
I've got a 100% reproducable SEGV that occurs after viewing LiveTV, a 
recording, or a video file (basically after using the internal player).

Attached is a file containing stack traces from two of these. Interestingly it 
occurs straight away when exitting LiveTV, but doesn't occur until you exit 
the recording list (if you don't view a recording leaving the recording list 
works fine).

BTW: I've got the live preview on the recordings screen turned off.


b) mythwelcome / LIRC interaction
Mythwelcome doesn't appear to be playing with LIRC in the same way it used 
to - Basically it doesn't seem to be receiving any LIRC events for entries 
defined with 'prog = mythtv' which it used to, and thus you get stuck on that 
screen with no way to start the frontend.
I've worked round this for the time being by remapping the select key on my 
remote to one that causes a 'Return' to be placed in the keyboard buffer; and 
that works fine.


c) font face issue
I was using a slightly altered version of 'glass-wide' as my theme using the 
HandleGotD font face. Now since the move to QT4 its using some other font 
(some default I assume).

I've done some digging and can't see any real reason for this; in fact if I 
start mythfrontend displaying on a remote display I do actually get the 
correct font.

The Qt example program 'fontsampler' displays the font correctly (although it 
occurs to me that I have only run that on external displays so far).


Cheers.

Simon.,
-------------- next part --------------
Trace exiting 'watch recordings' screen after actually watching a recording:

(gdb) bt
#0  0x00002aaaadc800e0 in ?? ()
#1  0x00002b5a02c98466 in glXMakeCurrentReadSGI ()
   from //usr/lib64/opengl/xorg-x11/lib/libGL.so.1
#2  0x00002b5a027b4245 in QGLContext::makeCurrent (this=0xaaa860)
    at qgl_x11.cpp:659
#3  0x00002b5a0164f022 in MythOpenGLPainter::Begin ()
   from /opt/mythtv/mythtv-current/lib64/libmythui-0.22.so.0
#4  0x00002b5a015ea643 in MythMainWindow::drawScreen ()
   from /opt/mythtv/mythtv-current/lib64/libmythui-0.22.so.0
#5  0x00002b5a015eab6c in MythPainterWindowGL::paintEvent ()
   from /opt/mythtv/mythtv-current/lib64/libmythui-0.22.so.0
#6  0x00002b5a030d976b in QWidget::event (this=0xaaa350, event=0x7fffabc37a30)
    at kernel/qwidget.cpp:6277
#7  0x00002b5a027b5815 in QGLWidget::event (this=0xaaa350, e=0x7fffabc37a30)
    at qgl_x11.cpp:1077
#8  0x00002b5a03095bcb in QApplicationPrivate::notify_helper (this=0x8b70a0,
    receiver=0xaaa350, e=0x7fffabc37a30) at kernel/qapplication.cpp:3563
#9  0x00002b5a03097ca9 in QApplication::notify (this=0x7fffabc38890,
    receiver=0xaaa350, e=0x7fffabc37a30) at kernel/qapplication.cpp:3504
#10 0x00002b5a055608a0 in QCoreApplication::notifyInternal (
    this=0x7fffabc38890, receiver=0xaaa350, event=0x7fffabc37a30)
    at kernel/qcoreapplication.cpp:537
#11 0x00002b5a030e0e9c in qt_sendSpontaneousEvent (receiver=0xa0001c,
    event=0xa0001c)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:210
#12 0x00002b5a031ec607 in QWidgetPrivate::drawWidget (
    this=<value optimized out>, pdev=0xaaa360, rgn=@0x7fffabc37d00,
    offset=@0x7fffabc37ca0, flags=<value optimized out>)
    at painting/qbackingstore.cpp:1217
#13 0x00002b5a031ee3ae in QWidget::repaint (this=0xaaa350, rgn=@0x7fffabc37d00)
    at painting/qbackingstore.cpp:1312
#14 0x00002b5a031ee649 in qt_syncBackingStore (rgn=<value optimized out>,
    widget=0xaaa350) at painting/qbackingstore.cpp:258
#15 0x00002b5a030e0e06 in QETWidget::translatePaintEvent (this=0xaaa350,
    event=<value optimized out>) at kernel/qapplication_x11.cpp:4434
#16 0x00002b5a030eb5a2 in QApplication::x11ProcessEvent (this=0x7fffabc38890,
    event=0x7fffabc38300) at kernel/qapplication_x11.cpp:2942
#17 0x00002b5a0310ded3 in x11EventSourceDispatch (s=0x8b98c0, callback=0,
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#18 0x00002b5a05c62ab2 in IA__g_main_context_dispatch (context=0x8b8f00)
    at gmain.c:2061
#19 0x00002b5a05c65dad in g_main_context_iterate (context=0x8b8f00, block=1,
    dispatch=1, self=<value optimized out>) at gmain.c:2694
#20 0x00002b5a05c662ce in IA__g_main_context_iteration (context=0x8b8f00,
    may_block=1) at gmain.c:2753
#21 0x00002b5a055822f0 in QEventDispatcherGlib::processEvents (this=0x821be0,
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:345
#22 0x00002b5a0310dcef in QGuiEventDispatcherGlib::processEvents (
    this=0x8c3c20, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:198
#23 0x00002b5a0555ff38 in QEventLoop::processEvents (
    this=<value optimized out>, flags=<value optimized out>)
    at kernel/qeventloop.cpp:147
#24 0x00002b5a05560049 in QEventLoop::exec (this=0x7fffabc386a0,
    flags=@0x7fffabc386b0) at kernel/qeventloop.cpp:193
#25 0x00002b5a0556248e in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:766
#26 0x000000000042af59 in ?? ()
#27 0x00002b5a067c2b74 in __libc_start_main () from /lib/libc.so.6
#28 0x000000000041f459 in ?? ()
#29 0x00007fffabc39338 in ?? ()
#30 0x0000000000000000 in ?? ()



Trace exiting 'LiveTV':

(gdb) bt
#0  0x00002aaaadc800e0 in ?? ()
#1  0x00002ae8b2c6f466 in glXMakeCurrentReadSGI ()
   from //usr/lib64/opengl/xorg-x11/lib/libGL.so.1
#2  0x00002ae8b278b245 in QGLContext::makeCurrent (this=0xaaa6e0)
    at qgl_x11.cpp:659
#3  0x00002ae8b1626022 in MythOpenGLPainter::Begin ()
   from /opt/mythtv/mythtv-current/lib64/libmythui-0.22.so.0
#4  0x00002ae8b15c1643 in MythMainWindow::drawScreen ()
   from /opt/mythtv/mythtv-current/lib64/libmythui-0.22.so.0
#5  0x00002ae8b15c1b6c in MythPainterWindowGL::paintEvent ()
   from /opt/mythtv/mythtv-current/lib64/libmythui-0.22.so.0
#6  0x00002ae8b30b076b in QWidget::event (this=0xaa7670, event=0x7ffffbc60ba0)
    at kernel/qwidget.cpp:6277
#7  0x00002ae8b278c815 in QGLWidget::event (this=0xaa7670, e=0x7ffffbc60ba0)
    at qgl_x11.cpp:1077
#8  0x00002ae8b306cbcb in QApplicationPrivate::notify_helper (this=0x8b70a0,
    receiver=0xaa7670, e=0x7ffffbc60ba0) at kernel/qapplication.cpp:3563
#9  0x00002ae8b306eca9 in QApplication::notify (this=0x7ffffbc618c0,
    receiver=0xaa7670, e=0x7ffffbc60ba0) at kernel/qapplication.cpp:3504
#10 0x00002ae8b55378a0 in QCoreApplication::notifyInternal (
    this=0x7ffffbc618c0, receiver=0xaa7670, event=0x7ffffbc60ba0)
    at kernel/qcoreapplication.cpp:537
#11 0x00002ae8b30b7e9c in qt_sendSpontaneousEvent (receiver=0xa0001c,
    event=0xa0001c)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:210
#12 0x00002ae8b31c3607 in QWidgetPrivate::drawWidget (
    this=<value optimized out>, pdev=0xaa7680, rgn=@0x7ffffbc60e90,
    offset=@0x7ffffbc60e10, flags=<value optimized out>)
    at painting/qbackingstore.cpp:1217
#13 0x00002ae8b31c53ae in QWidget::repaint (this=0xaa7670, rgn=@0x7ffffbc60e90)
    at painting/qbackingstore.cpp:1312
#14 0x00002ae8b31c553b in qt_syncBackingStore (widget=0xaa7670)
    at painting/qbackingstore.cpp:334
#15 0x00002ae8b30b0591 in QWidget::event (this=0xaa7670, event=0x2aaac403f9c0)
    at kernel/qwidget.cpp:6419
#16 0x00002ae8b278c815 in QGLWidget::event (this=0xaa7670, e=0x2aaac403f9c0)
    at qgl_x11.cpp:1077
#17 0x00002ae8b306cbcb in QApplicationPrivate::notify_helper (this=0x8b70a0,
    receiver=0xaa7670, e=0x2aaac403f9c0) at kernel/qapplication.cpp:3563
#18 0x00002ae8b306eca9 in QApplication::notify (this=0x7ffffbc618c0,
    receiver=0xaa7670, e=0x2aaac403f9c0) at kernel/qapplication.cpp:3504
#19 0x00002ae8b55378a0 in QCoreApplication::notifyInternal (
    this=0x7ffffbc618c0, receiver=0xaa7670, event=0x2aaac403f9c0)
    at kernel/qcoreapplication.cpp:537
#20 0x00002ae8b55390a4 in QCoreApplicationPrivate::sendPostedEvents (
    receiver=0x0, event_type=0, data=0x7a70a0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:207
#21 0x00002ae8b5558ffc in postEventSourceDispatch (s=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:214
#22 0x00002ae8b5c39ab2 in IA__g_main_context_dispatch (context=0x8b8f00)
    at gmain.c:2061
#23 0x00002ae8b5c3cdad in g_main_context_iterate (context=0x8b8f00, block=1,
    dispatch=1, self=<value optimized out>) at gmain.c:2694
#24 0x00002ae8b5c3d2ce in IA__g_main_context_iteration (context=0x8b8f00,
    may_block=1) at gmain.c:2753
#25 0x00002ae8b55592f0 in QEventDispatcherGlib::processEvents (this=0x821be0,
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:345
#26 0x00002ae8b30e4cef in QGuiEventDispatcherGlib::processEvents (
    this=0x8c3c20, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:198
#27 0x00002ae8b5536f38 in QEventLoop::processEvents (
    this=<value optimized out>, flags=<value optimized out>)
    at kernel/qeventloop.cpp:147
#28 0x00002ae8b5537049 in QEventLoop::exec (this=0x7ffffbc616d0,
    flags=@0x7ffffbc616e0) at kernel/qeventloop.cpp:193
#29 0x00002ae8b553948e in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:766
#30 0x000000000042af59 in ?? ()
#31 0x00002ae8b6799b74 in __libc_start_main () from /lib/libc.so.6
#32 0x000000000041f459 in ?? ()
#33 0x00007ffffbc62368 in ?? ()
#34 0x0000000000000000 in ?? ()
(gdb) quit



More information about the mythtv-users mailing list