SIGSEGV with glimagesink

Matthew Waters ystreet00 at gmail.com
Tue Jan 19 23:46:49 PST 2016


On 19/01/16 22:38, Linus Lüssing wrote:
> 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

libGLESv2.so.2 here ;)

If you don't already have /opt/vc/lib in LD_LIBRARY_PATH you'll need
that as well as your symlinks (as the rpi libraries depend on other
libraries there).

Cheers
-Matt

> $ 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
> -----


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160119/470e51c7/attachment.sig>


More information about the gstreamer-devel mailing list