[mythtv-commits] Ticket #12757: Raspberry pi: Seg Fault when running on Ubuntu Mate xenial
MythTV
noreply at mythtv.org
Mon May 9 16:54:43 UTC 2016
#12757: Raspberry pi: Seg Fault when running on Ubuntu Mate xenial
-----------------------------------------+-------------------------
Reporter: Peter Bennett <pgbennett@…> | Owner:
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.28.0
Severity: high | Resolution:
Keywords: raspberry pi | Ticket locked: 0
-----------------------------------------+-------------------------
Comment (by Peter Bennett <pgbennett@…>):
In Raspberry pi ubuntu xenial there are two copies of libGLESv2.so
{{{
/opt/vc/lib/libGLESv2.so
/usr/lib/arm-linux-gnueabihf/mesa-egl/libGLESv2.so
}}}
The one in /opt/vc/lib/ causes a segfault when the qt show() function is
called.
The workaround for this is change the invocation of mythfrontend to the
following command line
{{{
env LD_LIBRARY_PATH=/usr/lib/arm-linux-gnueabihf/mesa-egl
/usr/bin/mythfrontend
}}}
I tried various ways to build the application so that it will use the
correct libGLESv2.so without an explicit LD_LIBRARY_PATH but it looks like
that would require changes in many files.
This does not apply to Raspbian, it also has two copies of that library
but works fine with the one in /opt/vc/lib.
I tried creating a simple qt program that shows a window and does nothing
else. If I link it with the openmax library (/opt/vc/lib/libopenmaxil.so),
it crashes wuth this same seg fault. If I do not link that library it
works. So the problem is not some bug in MythTV, it occurs with a QT GUI
program if you just link in the openmax library (which is required for
MythTV), unless you use the LD_LIBRARY_PATH override.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12757#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list