Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404081 - <media-sound/clementine-1.1: hang on exit w/ -DENABLE_GIO=ON
Summary: <media-sound/clementine-1.1: hang on exit w/ -DENABLE_GIO=ON
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-16 10:09 UTC by Alex Efros
Modified: 2012-10-29 11:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch (for 1.0.0 and 1.0.1-r1) (clementine-1.0.1-r1.ebuild.patch,736 bytes, patch)
2012-02-16 10:12 UTC, Alex Efros
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Efros 2012-02-16 10:09:33 UTC
When exiting from clementine (using menu or Ctrl-Q) it output this error and hangs:
    WARN  unknown    QMutex::lock: mutex lock failure: Invalid argument
Upstream: http://code.google.com/p/clementine-player/issues/detail?id=1728

I have alternative ebuild downloaded from somewhere which doesn't had this issue, so I've bisect differences and here is patch for current ebuild in portage which fixes this issue (tested on 1.0.0 and 1.0.1-r1):

--- /usr/portage/media-sound/clementine/clementine-1.0.1-r1.ebuild      2012-02-09 15:54:02.000000000 +0200
+++ /usr/local/portage/media-sound/clementine/clementine-1.0.1-r1.ebuild        2012-02-16 11:56:48.503748517 +0200
@@ -91,6 +91,7 @@
                use linguas_${x} && langs+=" ${x}"
        done
 
+       # GIO is disabled because of upstream #802
        # spotify is not in portage
        # REMOTE is unstable
        local mycmakeargs=(
@@ -105,7 +106,7 @@
                $(cmake-utils_use kde ENABLE_PLASMARUNNER)
                $(cmake-utils_use lastfm ENABLE_LIBLASTFM)
                $(cmake-utils_use mtp ENABLE_LIBMTP)
-               -DENABLE_GIO=ON
+               -DENABLE_GIO=OFF
                $(cmake-utils_use wiimote ENABLE_WIIMOTEDEV)
                $(cmake-utils_use projectm ENABLE_VISUALISATIONS)
                $(cmake-utils_use ayatana ENABLE_SOUNDMENU)
Comment 1 Alex Efros 2012-02-16 10:12:33 UTC
Created attachment 302127 [details, diff]
ebuild patch (for 1.0.0 and 1.0.1-r1)
Comment 2 Julien Papasian 2012-02-19 14:17:21 UTC
Same bug here, it eats all CPU when closing…

Ebuild for version 0.7.1-r2 already has GIO disabled (-DENABLE_GIO=OFF) so that’s why it hangs only on >=media-sound/clementine-1.0.0

The question is why was GIO enabled then and what this option is for?
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-06-06 15:59:51 UTC
http://code.google.com/p/clementine-player/issues/detail?id=802
http://code.google.com/p/clementine-player/issues/detail?id=1728

we really need someone to track the actual problem down, perhaps with strace
and logs.
anyway, doesn't hang here.
Comment 4 Nikos Chantziaras 2012-07-31 13:41:48 UTC
Same problem here (media-sound/clementine-1.0.1-r2). Locks up at exit, but there's no CPU activity at all; it's perfectly idle.  Also, SIGTERM works (no need to kill it with SIGKILL.)
Comment 5 Sergey Torokhov 2012-09-04 18:42:41 UTC
I confirm freeze on exit/close for clementine-1.0.1-r2.
Also I confirm perfect working of exit/close application function with 
"-DENABLE_GIO" set to "OFF" instead of "ON" in ebuild-file of portage tree.

Is it possible to resolve this bug with attached patch for gentoo portage tree?
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-09-05 06:59:47 UTC
(In reply to comment #5)
> Is it possible to resolve this bug with attached patch for gentoo portage
> tree?

No. See Comment 3. No intentions in hiding the problem before someone has debugged the reason down.
Comment 7 Nikos Chantziaras 2012-09-05 09:50:44 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Is it possible to resolve this bug with attached patch for gentoo portage
> > tree?
> 
> No. See Comment 3. No intentions in hiding the problem before someone has
> debugged the reason down.

It's not our responsibility to fix this bug. It's upstream's. If Gentoo can do a workaround, then please do it.
Comment 8 Nikoli 2012-10-28 18:36:44 UTC
Please try clementine-1.1.0, does this problem still exist?
Comment 9 Julien Papasian 2012-10-28 19:21:28 UTC
Resolved since 1.1.0_rc1 for me
Comment 10 Nikos Chantziaras 2012-10-29 05:52:53 UTC
1.1.0 works fine here.
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2012-10-29 11:30:44 UTC
Thanks for verifying; closing now.