GNOME Bugzilla – Bug 752778
playbin-complex:make check failed during unit test
Last modified: 2017-09-09 16:19:35 UTC
Platform info: OS: "Ubuntu 13.04" Platform:Intel® Core™2 Duo CPU E7500 @ 2.93GHz × 2 Gstreamer source: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.2.3.tar.xz Build steps: ./configure --prefix=/home/karthik/gstreamer_build make make check I have attached the test-suite log, collected with GST_DEBUG=6
Thanks for the bug report, but 1.2.3 is quite old. Could you try a newer version such as 1.5.2 please?
ok, I will try. Thank you.
Hi Tim, I downloaded 1.5.2 gstreamer core package, now i got 2 failures. PASS: gst/gstabi PASS: gst/gstatomicqueue PASS: gst/gstbuffer PASS: gst/gstbufferlist PASS: gst/gstbufferpool PASS: gst/gstmeta PASS: gst/gstmemory PASS: gst/gstbus FAIL: gst/gstcaps PASS: gst/gstcapsfeatures PASS: gst/gstcpp PASS: libs/gstlibscpp PASS: gst/gstdatetime PASS: gst/gstdevice PASS: gst/gstinfo PASS: gst/gstiterator PASS: gst/gstmessage PASS: gst/gstminiobject PASS: gst/gstobject PASS: gst/gstpad PASS: gst/gstparamspecs PASS: gst/gstpipeline PASS: gst/gstpoll PASS: gst/gstprotection PASS: gst/gstprintf PASS: gst/gstsegment PASS: gst/gstsystemclock PASS: gst/gstclock PASS: gst/gststructure PASS: gst/gsttag PASS: gst/gsttagsetter PASS: gst/gsttask PASS: gst/gsttoc PASS: gst/gsttocsetter PASS: gst/gstvalue PASS: generic/states PASS: pipelines/simple-launch-lines PASS: pipelines/cleanup PASS: pipelines/parse-launch PASS: gst/gst PASS: gst/gstbin PASS: gst/gstchildproxy PASS: gst/gstcontext PASS: gst/gstcontroller PASS: gst/gstelement PASS: gst/gstelementfactory PASS: gst/gstevent PASS: gst/gstghostpad PASS: gst/gstplugin PASS: gst/gstpreset PASS: gst/gstquery PASS: gst/gstregistry PASS: gst/gsturi PASS: gst/gstutils PASS: generic/sinks PASS: elements/capsfilter PASS: elements/concat PASS: elements/fakesink PASS: elements/fakesrc PASS: elements/fdsrc PASS: elements/filesink PASS: elements/filesrc PASS: elements/funnel PASS: elements/identity PASS: elements/multiqueue PASS: elements/selector PASS: elements/tee PASS: elements/queue PASS: elements/queue2 PASS: elements/valve PASS: elements/streamiddemux PASS: libs/baseparse PASS: libs/basesrc PASS: libs/basesink PASS: libs/sparsefile PASS: libs/controller PASS: libs/queuearray PASS: libs/typefindhelper PASS: pipelines/seek PASS: pipelines/stress PASS: pipelines/queue-error FAIL: libs/libsabi PASS: libs/adapter PASS: libs/bitreader PASS: libs/bytereader PASS: libs/bytewriter PASS: libs/bitreader-noinline PASS: libs/bytereader-noinline PASS: libs/bytewriter-noinline PASS: libs/flowcombiner PASS: libs/collectpads PASS: libs/gstnetclientclock PASS: libs/gstnettimeprovider PASS: libs/gsttestclock PASS: libs/transform1 PASS: libs/transform2 PASS: tools/gstinspect make[5]: Entering directory `/home/karthik/gstreamer_sources/gst_1_5_2/gstreamer-1.5.2/tests/check' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/karthik/gstreamer_sources/gst_1_5_2/gstreamer-1.5.2/tests/check' ============================================================================ Testsuite summary for GStreamer 1.5.2 ============================================================================ # TOTAL: 99 # PASS: 97 # SKIP: 0 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/check/test-suite.log Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ============================================================================ make[4]: *** [test-suite.log] Error 1 make[4]: Leaving directory `/home/karthik/gstreamer_sources/gst_1_5_2/gstreamer-1.5.2/tests/check' make[3]: *** [check-TESTS] Error 2 make[3]: Leaving directory `/home/karthik/gstreamer_sources/gst_1_5_2/gstreamer-1.5.2/tests/check' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/home/karthik/gstreamer_sources/gst_1_5_2/gstreamer-1.5.2/tests/check' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/home/karthik/gstreamer_sources/gst_1_5_2/gstreamer-1.5.2/tests' make: *** [check-recursive] Error 1
Do you want me to attach test-suite log (with debug level 6)?
Please attach test-suite.log without any additional debug level (so we see which checks failed), then do: $ cd tests/check/ $ GST_DEBUG=*:6 make gst/gstcaps.check-norepeat 2>&1 | gzip -9 > caps.log.gz $ GST_DEBUG=*:6 make libs/libsabi.check-norepeat 2>&1 | gzip -9 > libsabi.log.gz
Hi i guess these were fixed in the latest master.. the bug id's are 751622 and 751628
Ah, true, had already forgotten about those, thanks Vineeth. Karthik: so I think you can assume those two are fixed (feel free to try git master to confirm) and move on to -base.
Hi I did git clone using following command git clone git://anongit.freedesktop.org/gstreamer/gstreamer will that fetch me the latest bug fixed release? (I dont have developer git access so i checked out as anonymous) thanks in advance.
Yes, it will give you the latest and greatest.
Thank you.
Hi after getting latest repo from git, I tried using ./autogen.sh command to make, but it gives following error, what might be wrong? karthik@CPU-108:~/gstreamer_sources/git/gstreamer$ ./autogen.sh + check for build tools checking for autoreconf ... /usr/bin/autoreconf checking for pkg-config ... /usr/bin/pkg-config + checking for autogen.sh options This autogen script will automatically run ./configure as: ./configure --enable-maintainer-mode --enable-gtk-doc --enable-docbook --enable-failing-tests --enable-poisoning To pass any additional options, please specify them on the ./autogen.sh command line. + running autopoint --force... Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196. Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196. configure.ac:1: error: Autoconf version 2.69 or higher is required configure.ac:1: the top level autom4te: /usr/bin/m4 failed with exit status: 63 aclocal: /usr/bin/autom4te failed with exit status: 63 autoreconf: aclocal failed with exit status: 63
and there is no configure file in gstreamer folder
you will need a suitably-new autoconf, automake and libtool installed. autogen.sh will create ./configure. You can of course do a git checkout on a more modern distro, then run ./autogen.sh there, then run make dist there and copy over the tarball to the old distro.
I updated autoconf automake & libtool, and i was able to install gstreamer 1.5.2.1 in the following directory /home/karthik/gstreamer_build/ when I tried to run ./autogen.sh --prefix=/home/karthik/gstreamer_build/ I got the below error message. configure: Requested 'gstreamer-1.0 >= 1.5.2.1' but version of GStreamer is 1.2.1 configure: error: no gstreamer-1.0 >= 1.5.2.1 (GStreamer) found configure failed
I have exported my PATH variable also accordingly (did export PATH=$PATH:/home/karthik/gstreamer_build/), still getting the same error,
My bad I didn't update PKG_CONFIG_PATH, after updating I was able to build base, but when I ran make check I got 3 failures, discoverer,rtspconnection & playbin-complex. Below is the test-suite log ================================================================= GStreamer Base Plug-ins 1.5.2.1: tests/check/test-suite.log ================================================================= # TOTAL: 52 # PASS: 49 # SKIP: 0 # XFAIL: 0 # FAIL: 3 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: libs/discoverer ===================== Running suite(s): discoverer 85%: Checks: 7, Failures: 0, Errors: 1 libs/discoverer.c:68:E:general:test_disco_serializing:0: (after this point) Received signal 11 (Segmentation fault) FAIL: libs/rtspconnection ========================= Running suite(s): rtsp support library(rtspconnection) Unexpected critical/warning: unblock_source: assertion `!SOURCE_DESTROYED (source)' failed Unexpected critical/warning: unblock_source: assertion `!SOURCE_DESTROYED (source)' failed 71%: Checks: 7, Failures: 2, Errors: 0 gstcheck.c:79:F:general:test_rtspconnection_tunnel_setup:0: Unexpected critical/warning: unblock_source: assertion `!SOURCE_DESTROYED (source)' failed gstcheck.c:79:F:general:test_rtspconnection_tunnel_setup_post_first:0: Unexpected critical/warning: unblock_source: assertion `!SOURCE_DESTROYED (source)' failed FAIL: elements/playbin-complex ============================== Running suite(s): playbin_complex 92%: Checks: 14, Failures: 1, Errors: 0 elements/playbin-complex.c:862:F:general:test_autoplug_decoder_sink_combination:0: 'gst_element_get_state (playbin, NULL, NULL, -1)' (0) is not equal to 'GST_STATE_CHANGE_SUCCESS' (1) do let me know if more info is required. Thanks.
I suspect some plugins don't get built for you which the tests expect. Could you attach your config.log file from -base please? For discoverer test: $ cd tests/check $ make libs/discoverer.gdb (gdb) run .. wait for crash.. (gdb) bt ... paste output (gdb) kill (gdb) quit For libs/rtspconnection test: $ cd tests/check $ G_DEBUG=fatal_warnings make libs/rtspconnection.gdb (gdb) run .. wait for crash.. (gdb) bt ... paste output (gdb) kill (gdb) quit For elements/playbin-complex: $ cd tests/check $ GST_CHECKS=test_autoplug_decoder_sink_combination GST_DEBUG=*:6 make elements/playbin-complex.check-norepeat 2>dbg.log $ xz -9 dbg.log -> attach dbg.log.xz please Thanks.
Created attachment 308061 [details] config.log Attached config.log file
Created attachment 308063 [details] discoverer log attached discoverer_gdb.log
Created attachment 308064 [details] rtspconnection log attached rtspconnection_gdb.log
Created attachment 308065 [details] log for playbin-complex Attached log file for playbin-complex
Hi Tim, I have attached all log files as you asked. Please look into it. Thanks a lot for your help.
Thanks. *** This bug has been marked as a duplicate of bug 773145 ***