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 525915 - [streamheader] Unit test fails with "gst_adapter_peek: assertion `size > 0' failed"
[streamheader] Unit test fails with "gst_adapter_peek: assertion `size > 0' f...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal blocker
: 0.10.20
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-03 08:23 UTC by Sebastian Dröge (slomo)
Modified: 2008-04-18 14:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2008-04-03 08:23:19 UTC
Hi,
the streamheader unit test fails with latest CVS:

Running suite(s): streamheader


Unexpected critical/warning: gst_adapter_peek: assertion `size > 0' failed


Unexpected critical/warning: gst_adapter_peek: assertion `size > 0' failed
0%: Checks: 2, Failures: 2, Errors: 0
gstcheck.c:76:F:general:test_multifdsink_gdp_tag:0: Unexpected critical/warning: gst_adapter_peek: assertion `size > 0' failed
gstcheck.c:76:F:general:test_multifdsink_gdp_vorbisenc:0: Unexpected critical/warning: gst_adapter_peek: assertion `size > 0' failed
Running suite(s): streamheader


Unexpected critical/warning: gst_adapter_peek: assertion `size > 0' failed


Unexpected critical/warning: gst_adapter_peek: assertion `size > 0' failed
0%: Checks: 2, Failures: 2, Errors: 0
gstcheck.c:76:F:general:test_multifdsink_gdp_tag:0: Unexpected critical/warning: gst_adapter_peek: assertion `size > 0' failed
gstcheck.c:76:F:general:test_multifdsink_gdp_vorbisenc:0: Unexpected critical/warning: gst_adapter_peek: assertion `size > 0' failed
make: *** [pipelines/streamheader.check] Fehler 2
Comment 1 Edward Hervey 2008-04-18 14:36:30 UTC
seems like a simple stupid bug. Some events, like EOS, don't have any payload.
Comment 2 Edward Hervey 2008-04-18 14:55:08 UTC
2008-04-18  Edward Hervey  <edward.hervey@collabora.co.uk>

        * gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
        Don't validate the payload if there isn't any.
        Fixes #525915