After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 785804 - gdppay : segmentation fault when use gdppay and gdpdepay
gdppay : segmentation fault when use gdppay and gdpdepay
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.12.2
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-08-04 10:00 UTC by Stephen Lu
Modified: 2018-11-03 14:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stephen Lu 2017-08-04 10:00:23 UTC
This is a sample. 
rtspsrc protocols=4 location=rtsp://ip_address ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! gdppay  ! gdpdepay ! autovideosink

** (gst-launch-1.0:13870): CRITICAL **: gst_video_info_from_caps: assertion 'gst_caps_is_fixed (caps)' failed
Caught SIGSEGV
Spinning.  Please run 'gdb gst-launch-1.0 13870' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
Comment 1 Sebastian Dröge (slomo) 2017-08-04 10:26:07 UTC
Please provide a sample stream that causes this, or at least a backtrace with debug symbols.
Comment 2 Stephen Lu 2017-08-07 14:19:29 UTC
Hi, 
Thanks for your reply.
So I need to provide real IP address, right?

Best regards,
Stephen
Comment 3 Sebastian Dröge (slomo) 2017-08-08 07:41:01 UTC
If it's publicly available that would help, yes. Otherwise you could either provide a backtrace of all threads with debug symbols, or alternatively you can capture data from the stream and store it in a file as long as the crash is reproducible from that file.
Comment 4 Stephen Lu 2017-08-10 10:56:48 UTC
(In reply to Sebastian Dröge (slomo) from comment #3)
> If it's publicly available that would help, yes. Otherwise you could either
> provide a backtrace of all threads with debug symbols, or alternatively you
> can capture data from the stream and store it in a file as long as the crash
> is reproducible from that file.

Hi, 
I changed pipeline from rtspsrc protocols=4 location=rtsp://ip_address ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! gdppay  ! gdpdepay  ! xvimagesink
                                       to rtspsrc protocols=4 location=rtsp://ip_address ! rtph264depay ! h264parse ! avdec_h264 ! gdppay  ! gdpdepay ! videoconvert ! xvimagesink
This pile can preview the window successful.

when I changed codec from avdec_h264 to vaapih264, it can't work.
pipeline   rtspsrc protocols=4 location=rtsp://ip_address ! rtph264depay ! h264parse ! vaapih264dec ! gdppay  ! gdpdepay ! vappipostproc ! vaapisink

but When I close the gdp, it was fine as below,
pipeline   rtspsrc protocols=4 location=rtsp://ip_address ! rtph264depay ! h264parse ! vaapih264dec  ! vappipostproc ! vaapisink

So, could you please give me the suggestion, where is the stage I need to capture the file?

Thanks,
Stephen
Comment 5 Stephen Lu 2017-08-16 02:26:39 UTC
distribution ubuntu 14.04.5
CPU i7-7700 HQ 2.8GHz

dump file
rtspsrc protocols=4 location=rtsp://ip_address ! rtph264depay ! h264parse ! vaapih264dec ! gdppay  ! gdpdepay ! vappipostproc ! filesink location=dump.file


URL-->   https://drive.google.com/open?id=0B8BMRxjBsFHUTG1VWW1KTW0zVmM
Comment 6 Sebastian Dröge (slomo) 2017-08-16 10:51:32 UTC
I meant a file as created by
> rtspsrc protocols=4 location=rtsp://ip_address ! rtph264depay ! h264parse ! vaapih264dec ! gdppay ! filesink location=whatever.gdp

Something that can be loaded again later from the file to reproduce the crash.
Comment 7 Stephen Lu 2017-08-17 06:05:32 UTC
Hi,
I share the global IP.
gst-launch-1.0 rtspsrc protocols=4 location=rtsp://122.116.92.9:8505/test ! rtph264depay ! h264parse ! vaapih264dec ! gdppay ..........
Comment 8 Stephen Lu 2017-08-23 08:55:13 UTC
Hi Sebastian,
I try to replace vaapih264dec to nvdec, it has the same problem, too.
Comment 9 Stephen Lu 2017-12-05 02:45:43 UTC
bugfix:
increase videoconvert between vaapih264dec and gdppay
rtspsrc protocols=4 location=rtsp://ip_address ! rtph264depay ! h264parse ! vaapih264dec ! videoconvert ! video/x-raw,format=I420 ! gdppay  ! gdpdepay ! videoconvert ! autovideosink
Comment 10 GStreamer system administrator 2018-11-03 14:11:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/592.