[mythtv-users] Ubuntu-mate on Raspberry pi and mythtv library problems.

jrh jharbestonus at gmail.com
Wed May 11 18:11:27 UTC 2016


Peter,

I am replying to our irc conversation here as it is rather lengthy.

Yes, I am still getting segfaults when starting mythfrontend.

I have tried it setting LD_LIBRARY_PATH using env and on the same line as the mythfrontend command, as well as explicitly exporting it and running mythfrontend on its own.

I then uninstalled the mythbuntu mythtv packages and installed your version and have the same results as above.

Information:

2016-05-11 13:50:08.637676 I  No joystick configuration found, not enabling joystick control
2016-05-11 13:50:08.681297 E  CECAdapter: Failed to load libcec.
2016-05-11 13:50:08.681427 I  UDPListener: Enabling
2016-05-11 13:50:08.685268 I  Binding to UDP 127.0.0.1:6948 <http://127.0.0.1:6948/>
2016-05-11 13:50:08.685489 I  Binding to UDP 192.168.2.138:6948 <http://192.168.2.138:6948/>
2016-05-11 13:50:08.685666 I  Binding to UDP [::1]:6948
2016-05-11 13:50:08.685972 I  Binding to UDP [fe80::aa12:3be3:c1ac:2771%enxb827eb47b56a]:6948
2016-05-11 13:50:08.686192 I  Binding to UDP 192.168.2.255:6948 <http://192.168.2.255:6948/>
Unable to find an X11 visual which matches EGL config 20
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
2016-05-11 13:50:08.919415 I  Using Frameless Window
2016-05-11 13:50:08.919442 I  Using Full Screen Window
Handling Segmentation fault
Segmentation fault (core dumped)
jrh at rpiq3ubutest:~$ ^C
jrh at rpiq3ubutest:~$ 


I found something interesting in that the library in /usr/lib/arm-linux-gnueabihf/mesa-egl did not have a link or a file named libGLESv2.so so I created one that was linked to libGLESv2.so.2.0.0

The sizes after linking are as follows:

ls -l /opt/vc/lib/libGLESv2.so
-rw-r--r-- 1 root root 105768 Apr 20 14:59 /opt/vc/lib/libGLESv2.so
 ls -lL /usr/lib/arm-linux-gnueabihf/mesa-egl/libGLESv2.so
-rw-r--r-- 1 root root 25900 A/usr/lib/arm-linux-gnueabihf/mesa-egl/pr 14 15:29 libGLESv2.so

After I created the link, the segfault no longer occurs, however an error happens much sooner as follows:

mythfrontend
mythfrontend: symbol lookup error: /opt/vc/lib/libEGL.so: undefined symbol: glPointSizePointerOES

The above occurs regardless of whether I use the env version of the command, or exporting the library path explicitly before exec.

Regards!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160511/f8e5210a/attachment.html>


More information about the mythtv-users mailing list