Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

closing results in consumption of 100% CPU core #2088

Closed
Clementine-Issue-Importer opened this issue Dec 9, 2013 · 0 comments
Closed

Comments

@Clementine-Issue-Importer

From andrew.gaydenko on July 19, 2011 15:05:39

r3478 is in use. Closing the app results in consumption of 100% of one of CPU core. Console out is:

...
17:00:34.526 DEBUG ScriptInfo:53 Reading script: "/usr/share/clementine/scripts/setlistfm/script.ini"
17:00:34.526 DEBUG ScriptInfo:53 Reading script: "/usr/share/clementine/scripts/invalidate-deleted/script.ini"
17:00:34.526 DEBUG ScriptInfo:53 Reading script: "/usr/share/clementine/scripts/youtube/script.ini"
17:00:34.526 DEBUG ScriptInfo:53 Reading script: "/usr/share/clementine/scripts/amazon-covers/script.ini"
17:00:34.527 DEBUG MainWindow:779 Started

*** closing the app ***

17:00:44.596 DEBUG DeviceKitLister:39 virtual DeviceKitLister::~DeviceKitLister()
17:00:44.910 DEBUG CoverProviders:55 Unregistered cover provider "last.fm"

*** terminating process ***

Terminated

100% reproducable under Arch Linux - it is sufficient just to start and close the app even without playing back at all.

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=2088

@Clementine-Issue-Importer
Copy link
Author

From andrew.gaydenko on July 30, 2011 07:51:35

Clean config dir doesn't help - I still need to send terminate signal to process.

@Clementine-Issue-Importer
Copy link
Author

From sco50000 on July 30, 2011 12:17:34

I have this issue on ArchLinux x86_64 as well. Could this be a duplicate of #2113?

@Clementine-Issue-Importer
Copy link
Author

From andrew.gaydenko on July 30, 2011 12:31:12

Yes, I have 275.21. Thanks, starring #2113.

To developers: please, mark the issue as duplicate of #2113.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on July 30, 2011 12:54:05

Issue 2113 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From andrew.gaydenko on July 31, 2011 00:45:26

At my case with nvidia-beta 280.11-1 from AUR the problem still exists.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on August 05, 2011 00:13:39

Issue 2136 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From sco50000 on August 07, 2011 18:06:03

Just to restate what has been said in some of the issues merged into this issue, the bug appears to affect users of the "nvidia 275.21 or 280.11" drivers on 64-bit linux (both ArchLinux and Kubuntu). Apparently "nvidia 280.04 works fine". I hope you can find an easy fix!

@Clementine-Issue-Importer
Copy link
Author

From nosrepa on August 07, 2011 19:07:54

I am using the nvidia 280.13 driver and still have that issue. That is, if Issue 2141 is a duplicate.

@Clementine-Issue-Importer
Copy link
Author

From andrew.gaydenko on August 08, 2011 00:55:15

Yes, nvidia 280.13 doesn't change anything for me also.

@Clementine-Issue-Importer
Copy link
Author

From sco50000 on August 08, 2011 08:02:38

I'm seeing this bug with nvidia 280.13 as well.

@Clementine-Issue-Importer
Copy link
Author

From john.maguire on August 10, 2011 04:54:51

Issue 2141 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on August 12, 2011 17:53:53

Issue 2154 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From sco50000 on August 12, 2011 23:53:18

Does anyone have a clue what causes this? Is there any other info the developers need?

@Clementine-Issue-Importer
Copy link
Author

From ht990332 on August 13, 2011 07:36:22

I'm getting the same problem here latest git Master branch at 50824ca
. I attached a backtrace.

from reading the comments, yes. I had nvidia driver 280.13 too.

Attachment: backtrace.txt

@Clementine-Issue-Importer
Copy link
Author

From andrew.gaydenko on August 18, 2011 18:35:59

With version 0.7.3-63-gf319a61 I don't have CPU eating anymore. Nevertheless on closing I have:

05:29:07.874 ERROR logging:49 g_main_context_wakeup: assertion `g_atomic_int_get (&context->ref_count) > 0' failed
Segmentation fault

@Clementine-Issue-Importer
Copy link
Author

From andrew.gaydenko on August 20, 2011 18:46:56

As I have mentioned, with current git state I haven't CPU core eating anymore. As for "g_main_context_wakeup" error on exit, it seems to be glib2 error - I have found this commit into testing 2.9.x branch: https://gitorious.org/ghelp/glib/commit/c9f883f133bc83942484cb8a1349b58ada46b4bc So, at any case the issue is resolved for me by some of earlier Clementine commits. Can anybody reproduce the issue with current git master state? There are many stars for the issue. Is everybody sure the issue still exists? :-)

@Clementine-Issue-Importer
Copy link
Author

From ht990332 on August 20, 2011 19:12:30

yes, I can reproduce this problem with clementine from git (a checkout from 3 minutes ago). 100% CPU when I close clementine and I need to killall clementine for the process to quit.

@Clementine-Issue-Importer
Copy link
Author

From john.maguire on August 22, 2011 09:26:57

Issue 2176 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From ht990332 on August 23, 2011 05:24:15

(gdb) thread apply all bt

Thread 2 (Thread 0xacdf8b70 (LWP 21762)):
#0 0xb787f424 in __kernel_vsyscall ()
#1 0xb5f3050b in read () from /lib/libc.so.6
#2 0xb66eebfb in ?? () from /usr/lib/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xb388e940 (LWP 21751)):
#0 0xb5a94c31 in _nv012tls () from /usr/lib/libnvidia-tls.so.285.03
#1 0xb67141d0 in ?? () from /usr/lib/libGL.so.1
#2 0xb5e9fb11 in ?? () from /lib/libc.so.6
#3 0xb5e9fb9d in exit () from /lib/libc.so.6
#4 0xb5e8822b in __libc_start_main () from /lib/libc.so.6
#5 0x0825d5b1 in _start ()

@Clementine-Issue-Importer
Copy link
Author

From john.maguire on August 23, 2011 06:07:40

That confirms it's a bug in the NVidia drivers. There's a long thread about it from Gentoo here: https://bugs.gentoo.org/show_bug.cgi?id=375615 Just Googling for _nv012tls shows it's well known.

Running clementine with __GL_NO_DSO_FINALIZER=1 or downgrading drivers may be a workaround for now.

Status: WontFix

@Clementine-Issue-Importer
Copy link
Author

From ht990332 on August 23, 2011 07:01:48

I edited the Exec line in clementine.desktop to
Exec=env __GL_NO_DSO_FINALIZER=1 clementine
as a workaround.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on August 29, 2011 05:22:20

Issue 2196 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From lopeztobal on August 29, 2011 07:13:56

This solves my problem with Mandriva 2011.0, too
Thanks

@Clementine-Issue-Importer
Copy link
Author

From sco50000 on August 29, 2011 16:44:22

The __GL_NO_DSO_FINALIZER=1 workaround fixes it for me too on ArchLinux x86_64

@Clementine-Issue-Importer
Copy link
Author

From nutellajunkie on August 30, 2011 03:38:12

Attachment: Screenshot-System Monitor.png

@Clementine-Issue-Importer
Copy link
Author

From quadro.rg on August 30, 2011 03:59:42

Exec=env __GL_NO_DSO_FINALIZER=1 clementine
thats fix my problem

@Clementine-Issue-Importer
Copy link
Author

From john.maguire on August 30, 2011 04:02:41

Issue 2197 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From craigtrish2011 on August 31, 2011 14:40:51

ive had this problem to in mandriva 2011

how do I edit the exec line so i can see if it works for me to?

thanks :)

@Clementine-Issue-Importer
Copy link
Author

From andrew.gaydenko on August 31, 2011 14:58:26

$ cat bin/clemStart
#!/bin/bash

env __GL_NO_DSO_FINALIZER=1 clementine

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on September 30, 2011 14:33:38

Issue 2269 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From ht990332 on October 08, 2011 08:03:47

looks fixed in nvidia 285.05.09 and xorg-server 1.11.1

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on October 11, 2011 11:18:05

Issue 2288 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on October 13, 2011 15:44:50

Issue 2292 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From james.tunnicliffe@linaro.org on October 17, 2011 05:53:13

For nvidia users: edit xorg.conf, try adding the following line to the Device section

Option "UseEvents" "on"

This fixed this problem for me, along with a lot of other performance issues. Driver version 280.13.

@Clementine-Issue-Importer
Copy link
Author

From dooferlad on October 17, 2011 07:17:55

Scratch my previous comment.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on October 24, 2011 03:33:37

I've committed a workaround for this in revision 5237c00 , but upgrading the nvidia binary driver to 285.05.09 fixes the issue properly.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on October 25, 2011 11:19:24

Issue 2338 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From Nelson.Suniaga on October 25, 2011 12:30:06

@james: I tried your UseEvents option solution, but it didn't work in my case, in fact the xorg server doesn't run, without that option everything back to normal. I'm using NVIDIA 280.13 driver too, Debian GNU/Linux Wheezy/Sid, Fluxbox 1.3.1, Kernel 2.6.36-i386 (custom).

@Clementine-Issue-Importer
Copy link
Author

From john.maguire on October 29, 2011 03:28:02

Issue 2349 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on November 13, 2011 07:33:03

Issue 2400 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on November 28, 2011 07:09:34

Issue 2434 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on December 09, 2011 02:35:40

Issue 2473 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From ferolvera on December 09, 2011 07:34:41

Had the same issue. Fixed with 290.10 drivers too, Debian Testing, Kernel 3.1

@Clementine-Issue-Importer
Copy link
Author

From NomenNescio20 on December 23, 2011 11:31:16

Still not fixed, got the same issue.

@Clementine-Issue-Importer
Copy link
Author

From john.maguire on December 23, 2011 22:38:20

Bye.

@Clementine-Issue-Importer
Copy link
Author

From cookiecaper on September 22, 2012 12:23:42

I have this issue with nvidia 304.43 and a GTX 285. :\

Arch Linux 3.5.4, qt 4.8.3.

@Clementine-Issue-Importer
Copy link
Author

From charlotte.sciubba on April 23, 2013 14:19:43

This doesn't work for me either. I have tried setting the changing the menu entry to env __GL_NO_DSO_FINALIZER=1 clementine instead of clementine %U to no avail.

It still hangs on exit. Using Mint 14. Why is this WontFix? :(

@Clementine-Issue-Importer
Copy link
Author

From arnaud.bienner on April 24, 2013 00:13:28

Actually a work around has been implemented in 1.1.1, so if you still encounter the problem with a recent release, it's probably something else so I suggest you to open a new bug.
If you don't have a recent version, I suggest you to upgrade to have this bug fixed ;)

@Clementine-Issue-Importer
Copy link
Author

From charlotte.sciubba on April 24, 2013 10:36:31

Oh it seems the mint/ubuntu repository is out of date. I added the official clementine one and it is fine now it seems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant