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 748101 - tests: input selector unit test often fails under valgrind
tests: input selector unit test often fails under valgrind
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-18 11:22 UTC by Tim-Philipp Müller
Modified: 2015-05-01 10:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2015-04-18 11:22:12 UTC
The input selector unit test frequently fails under valgrind, like this:

elements/selector.c:525:F:general:test_input_selector_empty_stream:0: Assertion 'gst_pad_push_event (pad, gst_event_new_eos ())' failed

Reproduce with:

 $ cd tests/check/
 $ make elements/selector.valgrind-forever
Comment 1 Thiago Sousa Santos 2015-05-01 10:33:47 UTC
Assuming this was fixed by

commit 88a898080ac2285cb64954c3e89f734fda1baeab
Author: Thiago Santos <thiagoss@osg.samsung.com>
Date:   Fri Apr 24 16:51:24 2015 -0300

    inputselector: Only try to push the first EOS received
    
    Subsequent EOS will push on the source pad that already received
    EOS and that will make the event function return FALSE. It needs
    only to push the first one and only return TRUE for the subsequent
    ones.
Comment 2 Tim-Philipp Müller 2015-05-01 10:44:44 UTC
Yes it was, thanks!