[Bug 759133] New: glimagesink: dlopen's wrong libGLESv2 on Raspberry Pi

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Dec 7 09:10:40 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=759133

            Bug ID: 759133
           Summary: glimagesink: dlopen's wrong libGLESv2 on Raspberry Pi
    Classification: Platform
           Product: GStreamer
           Version: 1.6.1
                OS: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ydirson at free.fr
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

On the Raspberry Pi, the vendor libGLESv2.so with hardware acceleration support
has for SONAME just "libGLESv2.so", and the plugin is correctly linked with
this
one.  However, the plugin then dlopen's "libGLESv2.so.2", which, when
libgles2-mesa
is installed, resolves to that one, leading to:

pi at raspberrypi ~ $ lsof -p 4844|grep GLES
gst-launc 4844   pi  mem    REG      179,2    29996  48656
/usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
gst-launc 4844   pi  mem    REG      179,2   105151 138994
/opt/vc/lib/libGLESv2.so

... and rapidly to a segfault with a corrupted gdb backtrace, which is not that
trivial to investigate.

The SONAME used for opening is hardcoded, and should surely be computed at
configure time instead to match that of the selected GLESv2 implementation.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list