[mythtv] MythTV and Raspberry Pi xenial

Peter Bennett pgbennett at comcast.net
Thu Apr 28 18:46:03 UTC 2016


On the new release version of Ubuntu Xenial on raspberry Pi, the MythTV
GUI programs mythfrontend, mythtv-setup, mythwelcome all fail with a
segmentation fault.
If you run them with --version, so that they are not starting a GUI,
they work and display the version.
Non GUI programs work fine, for example
mythutil --checkrecordings
It seems that QT5 is trying to open an EGL surface, and failing with a
seg fault. GL and EGL are disabled in the compile.

LOG
Unable to find an X11 visual which matches EGL config 20
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
2016-04-28 14:13:10.555541 I  Using Frameless Window
2016-04-28 14:13:10.555581 I  Using Full Screen Window
Handling Segmentation fault
Segmentation fault (core dumped)

Examining core dump with gdb gives this backtrace
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x7127314c in platform_get_handle () from /opt/vc/lib/libEGL.so
[Current thread is 1 (Thread 0x6e9e1000 (LWP 17607))]
(gdb) bt
#0  0x7127314c in platform_get_handle () from /opt/vc/lib/libEGL.so
#1  0x71268e80 in eglCreateWindowSurface () from /opt/vc/lib/libEGL.so
#2  0x6e7d89d2 in ?? () from
/usr/lib/arm-linux-gnueabihf/qt5/plugins/xcbglintegrations/libqxcb-egl-integration.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

gdb on this system does not work for debugging. Trying to run a program
under gdb, even a non-gui one that works perfectly, like mythutil, gives
the following failure in gdb before it even reaches the first line of
the program being debugged:
Program received signal SIGSEGV, Segmentation fault.
0x76fd9822 in ?? () from /lib/ld-linux-armhf.so.3

Anybody have any suggestions on what to try?

Peter


More information about the mythtv-dev mailing list