gstreamer crash on Raspberry Pi Zero
Posted: Sat Aug 13, 2016 5:21 pm
Hi,
I want to stream a USB webcam connected to a (1.2GHz A7 quad core, no HDMI) NanoPi Neo to Raspberry Pi Zero connected to HDMI monitor.
Yesterday I successfully streamed from NanoPi Neo to old T42 Thinkpad running Ubuntu:
https://www.youtube.com/watch?v=vXccgX8 ... e=youtu.be
This article says I need to install these packages:
I did install the first three only because bad and ugly are missing.
After verifying with Wireshark (installed and run on Pi Zero!) that NanoPi Neo USB webcam video stream UDP packets really arrive on Pi Zero I did run simple gstreamer selftest on Pi Zero and saw a crash.
Runing the same simple selftest "gst-launch-1.0 videotestsrc ! autovideosink" on an Ubuntu Desktop just works:

Doing the same on Raspberry Pi Zero gives this crash (full Raspbian install):
Following the gdb instructions gives this:
Is my Zero messed up?
Or did I miss to install something?
Has anybody used gstreamer successfully with Pi Zero before?
Hermann.
P.S:
The 8$ NanoPi Neo does not have GPU and HDMI, its bigger 13$ brother NanoPi M1 does have all of that, but I don't have one or want one (Neo is good enough for me). But the missing HDMI of Neo is the reason I tried to video stream from Neo to Zero ...
I want to stream a USB webcam connected to a (1.2GHz A7 quad core, no HDMI) NanoPi Neo to Raspberry Pi Zero connected to HDMI monitor.
Yesterday I successfully streamed from NanoPi Neo to old T42 Thinkpad running Ubuntu:
https://www.youtube.com/watch?v=vXccgX8 ... e=youtu.be
This article says I need to install these packages:
Code: Select all
sudo apt-get install gstreamer1.0-tools \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly
After verifying with Wireshark (installed and run on Pi Zero!) that NanoPi Neo USB webcam video stream UDP packets really arrive on Pi Zero I did run simple gstreamer selftest on Pi Zero and saw a crash.
Runing the same simple selftest "gst-launch-1.0 videotestsrc ! autovideosink" on an Ubuntu Desktop just works:

Doing the same on Raspberry Pi Zero gives this crash (full Raspbian install):
Code: Select all
pi@raspberrypi01:~ $ gst-launch-1.0 videotestsrc ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'autovideosink0-actual-sink-glimage': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayEGL\)\ gldisplayegl0";
Caught SIGSEGV
#0 0xb6be6c80 in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0xb6cd1528 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Spinning. Please run 'gdb gst-launch-1.0 5047' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
Code: Select all
...
Loaded symbols for /usr/lib/arm-linux-gnueabihf/libgbm.so.1
Reading symbols from /lib/arm-linux-gnueabihf/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/arm-linux-gnueabihf/libexpat.so.1
0xb6be6c80 in poll () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt
Cannot access memory at address 0x1
#0 0xb6be6c80 in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0xb6cd1528 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Cannot access memory at address 0x1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
Or did I miss to install something?
Has anybody used gstreamer successfully with Pi Zero before?
Hermann.
P.S:
The 8$ NanoPi Neo does not have GPU and HDMI, its bigger 13$ brother NanoPi M1 does have all of that, but I don't have one or want one (Neo is good enough for me). But the missing HDMI of Neo is the reason I tried to video stream from Neo to Zero ...