Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582608 - =media-tv/mythtv-0.28: runtime crash during video playback with QT < 5.6.0
Summary: =media-tv/mythtv-0.28: runtime crash during video playback with QT < 5.6.0
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: MythTV Maintainers
URL: https://forum.mythtv.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-09 22:11 UTC by Nicolas Pöhlmann
Modified: 2017-03-12 00:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Pöhlmann 2016-05-09 22:11:06 UTC
When compiling mythtv-0.28 with QT 5.5.1 and running the video playback with an OpenGL renderer the video playback in the mythfrontend will crash with: "QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined"

This is a known (https://forum.mythtv.org/viewtopic.php?f=29&t=1393) error which can be avoided by compiling it with a QT version 5.6.0 or higher.

So it would be better the ebuild depends on slot 5/5.6 for the QT libraries instead of only slot 5.

Reproducible: Always

Steps to Reproduce:
Playing a video with an OpenGL renderer in mythfrontend
Actual Results:  
mythfrontend playback crashes

Expected Results:  
Like in <media-tv/mythtv-0.28,play it nicely without a crash.

Compiling it with QT >= 5.6.0 solves the problem
Comment 1 Nicolas Pöhlmann 2016-05-09 23:36:24 UTC
We also noticed that this bug keeps alive even with QT 5.6.0 when the paint method in mythtv is set to QT instead of auto. If the paint method is set to "Auto" mythfrontend is working fine with QT 5.6.0.
Comment 2 Stephen Kirkby 2016-07-10 15:40:05 UTC
Thanks Nicolas for this bug report - I had the same issue when enabling any of the OpenGL renderers. I tried changing the qt dependencies in the ebuild as follows:

	dev-qt/qtcore:5/5.6
	dev-qt/qtdbus:5/5.6
	dev-qt/qtgui:5/5.6
	dev-qt/qtscript:5/5.6
	dev-qt/qtsql:5/5.6[mysql]
	dev-qt/qtopengl:5/5.6
	dev-qt/qtwebkit:5/5.6

to pull in the 5.6 subslot and everything worked nicely.

As you mentioned, you need to change the paint to Auto - I must have left this set to QT from years ago for some reason, and now I have lovely UI fades :)
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-03-12 00:54:48 UTC
<qt-5.6.0 is no longer in the tree.