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 746520 - tests: Error during decodebin unit test: Attempt to unlock mutex that was not locked
tests: Error during decodebin unit test: Attempt to unlock mutex that was not...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.4.5
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-20 10:36 UTC by Javier Gusano Martínez
Modified: 2015-03-24 12:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Shell output error during installation process. (155.23 KB, text/plain)
2015-03-20 10:36 UTC, Javier Gusano Martínez
Details
Requested file (358.10 KB, application/x-xz)
2015-03-24 09:01 UTC, Javier Gusano Martínez
Details
GStreamer installer script (3.35 KB, application/x-shellscript)
2015-03-24 11:16 UTC, Javier Gusano Martínez
Details

Description Javier Gusano Martínez 2015-03-20 10:36:16 UTC
Created attachment 299936 [details]
Shell output error during installation process.

The installation process fail during "make test" command. I attach the output log file.
Comment 1 Tim-Philipp Müller 2015-03-23 19:21:39 UTC
Is this reproducable?

If yes, could you run:

 $ cd gst-plugins-base-1.4.5/tests/check/
 $ GST_DEBUG=*:6 make elements/decodebin.check-norepeat 2>dbg.log
 $ xz -9 dbg.log

and attach dbg.log.xz to this bug report? Thanks!
Comment 2 Javier Gusano Martínez 2015-03-24 09:01:38 UTC
Created attachment 300182 [details]
Requested file

This is the requested file following this steps:
 $ cd gst-plugins-base-1.4.5/tests/check/
 $ GST_DEBUG=*:6 make elements/decodebin.check-norepeat 2>dbg.log
 $ xz -9 dbg.log
I get the same error in another machine with Ubuntu:
Description:	Ubuntu 14.10
Release:	14.10
Codename:	utopic
Comment 3 Tim-Philipp Müller 2015-03-24 10:32:27 UTC
This looks like

commit 37fa36f876a412cde210b117bdfffd2af798cb0b
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Fri Oct 24 12:51:07 2014 +0100

    basesink: don't unlock mutex that is not locked
    
    Fixes 'Attempt to unlock mutex that was not locked'
    warning with newer GLibs when sink is shut down in
    certain situations. Triggered by the decodebin
    test_reuse_without_decoders unit test in -base
    sometimes, esp. on slower machines.

which is part of the GStreamer core 1.4.5 release. Are you using core 1.4.5 as well, or compiling -base 1.4.5 against the 1.4.3 gstreamer core in utopic?
Comment 4 Javier Gusano Martínez 2015-03-24 11:16:18 UTC
Created attachment 300191 [details]
GStreamer installer script

This file contains all steps followed for GStreamer installation. I don't know if this script could be helpful for check my problem.
The packets previously installed as OPENSSL, SPDYLAY are used to another purpose.
Comment 5 Tim-Philipp Müller 2015-03-24 12:10:24 UTC
Actually, your debug log says that you're using GStreamer core 1.4.3:

$ xzcat dbg.log.xz | head -n3
gst.c:499:init_pre: Initializing GStreamer Core Library version 1.4.3
gst.c:500:init_pre: Using library installed in /usr/lib/x86_64-linux-gnu
gst.c:511:init_pre: Linux javier-virtual-machine 3.16.0-23-generic #31-Ubuntu SMP Tue Oct 21 17:56:17 UTC 2014 x86_64

I'm afraid I don't have time to debug your home-grown install script, sorry :) It doesn't look like it makes a lot of sense. It installs gstreamer1.0* from package and then it builds various gstreamer modules? It doesn't set PKG_CONFIG_PATH or LD_LIBRARY_PATH to the installed locations. etc. etc.