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 398299 - [smpte] crashes if fed empty buffers from fakesrc
[smpte] crashes if fed empty buffers from fakesrc
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.5
Other All
: Normal critical
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-19 08:37 UTC by Sameer Naik
Modified: 2007-01-19 13:08 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Sameer Naik 2007-01-19 08:37:43 UTC
Steps to reproduce:
1. gst-launch videotestsrc ! .sink1 smpte name=s ! ffmpegcolorspace ! xvimagesink fakesrc ! s.sink2


Stack trace:
[godfather@cube8linux ~]$ gst-launch videotestsrc ! .sink1 smpte name=s ! ffmpegcolorspace ! xvimagesink fakesrc ! s.sink2
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Segmentation fault

Other information:
Comment 1 Tim-Philipp Müller 2007-01-19 13:08:22 UTC
fakesrc produces 0-sized buffers without caps, which smpte does not like.

Should be fixed now:

  2007-01-19  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/smpte/gstsmpte.c: (gst_smpte_collected):
          Some more sanity checks to make sure the input formats match and the
          input pads are actually negotiated, in case someone tries to feed
          buffers from fakesrc or filesrc. Fixes #398299.
          Also const-ify an array, just because we can.