SIGSEGV with glimagesink

Linus Lüssing linus.luessing at c0d3.blue
Tue Jan 19 22:38:07 PST 2016


On Tue, Jan 19, 2016 at 12:29:33PM -0800, Matthew Waters wrote:
> 1. create a symlink from libGLESv2.so.1 in a directory pointed by
> LD_LIBRARY_PATH to RPi's libGLESv2.so (and the same for libEGL.so)

Tried that but does not seem to help (or am I doing something
wrong?):

-----
$ ls -lah ~/foobar
total 8.0K
drwxr-xr-x  2 pi pi 4.0K Jan 20 07:19 .
drwxr-xr-x 41 pi pi 4.0K Jan 20 07:20 ..
lrwxrwxrwx  1 pi pi   21 Jan 20 07:19 libEGL.so.1 -> /opt/vc/lib/libEGL.so
lrwxrwxrwx  1 pi pi   24 Jan 20 07:19 libGLESv2.so.1 -> /opt/vc/lib/libGLESv2.so
$ ls -lah /opt/vc/lib/libEGL.so /opt/vc/lib/libGLESv2.so 
-rw-r--r-- 1 root root 196K Nov 18 17:01 /opt/vc/lib/libEGL.so
-rw-r--r-- 1 root root 103K Nov 18 17:01 /opt/vc/lib/libGLESv2.so
$ LD_LIBRARY_PATH=/home/pi/foobar/ gst-launch-1.0 videotestsrc \! glimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'glimagesink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayEGL\)\ gldisplayegl0";
Caught SIGSEGV
#0  0xb6c17730 in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0xb6d01528 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Spinning.  Please run 'gdb gst-launch-1.0 3467' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
^Chandling interrupt.
Interrupt: Stopping pipeline ...
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
^C
$ LD_LIBRARY_PATH=/opt/vc/lib/ gst-launch-1.0 videotestsrc \! glimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'glimagesink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayEGL\)\ gldisplayegl0";
Caught SIGSEGV
#0  0xb6c0a730 in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0xb6cf4528 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Spinning.  Please run 'gdb gst-launch-1.0 3553' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
^Chandling interrupt.
Interrupt: Stopping pipeline ...
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
^C
-----


More information about the gstreamer-devel mailing list