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

Clementine wouldn't close #1728

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

Clementine wouldn't close #1728

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

Comments

@Clementine-Issue-Importer

From grujicc on April 12, 2011 05:55:49

What steps will reproduce the problem? 1. Open Clementine
2. Try closing it regularly
3. Player freezes What is the expected output? What do you see instead? Player should close, instead it hangs. What version of the product are you using? On what operating system? Clementine 0.7.1 on Debian GNU/Linux wheezy/sid, kernel Linux 2.6.38-2.slh.3-aptosid-686 i686 Please provide any additional information below. Command line output:

$ clementine
Couldn't load icon "clementine-panel"
Couldn't load icon "clementine-panel-grey"
Error connecting to notifications service.
virtual bool QxtGlobalShortcutBackend::DoRegister()
Couldn't load icon "find"
Application asked to unregister timer 0x2200000b which is not registered in this thread. Fix application.
TagLib: MPEG::Header::parse() -- Invalid sample rate.
Extended ASCII... possibly should be CP866 or windows-1251 instead
Device added: "Gio//ext3/ext4/140305473536"
Device added: "Gio//ext3/ext4/21349490688"
QMutex::lock: mutex lock failure: Invalid argument

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

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on April 12, 2011 00:35:27

Do you mean just closing the main window and leaving it hidden in the system tray, or quitting it completely?

Try to get a backtrace for when it's hung. From the console:

gdb clementine
run
(make it hang)
Ctrl+C
backtrace

@Clementine-Issue-Importer
Copy link
Author

From grujicc on April 12, 2011 07:19:38

It happens when I try to quit the program completely by either pressing Ctrl+Q or chosing Quit from the File menu. In both of the cases program hangs.

Sorry if what I'm going to say will sound complicated or confusing, but I also used to experience this kind of problem with previous versions of clementine which I used to built from the source. Then it was solved by itself when I started updating the program from the debs available www.clementine-player.org, which in turn was prior to the recent OS reinstallment that I performed here, during which I enabled debian multimedia repository, and from where clementine was actually fetched. However, just to make sure the problem wasn't with this repository's build, I also reinstalled the player with the binaries provided on the website and they produced the same result.

I guess it's some library causing the problem, just my programming/debugging skills are quite rudimentary, so it's pretty hard for me to identify the culprit.

Oh, and here's the gdb output:
$ gdb clementine
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html >
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
< http://www.gnu.org/software/gdb/bugs/>.. .
Reading symbols from /usr/bin/clementine...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/clementine
[Thread debugging using libthread_db enabled]
[New Thread 0xb4dc1b70 (LWP 10386)]
[New Thread 0xb45c0b70 (LWP 10387)]
[Thread 0xb45c0b70 (LWP 10387) exited]
Couldn't load icon "clementine-panel"
Couldn't load icon "clementine-panel-grey"
[New Thread 0xb45c0b70 (LWP 10388)]
Error connecting to notifications service.
[New Thread 0xb1bacb70 (LWP 10389)]
virtual bool QxtGlobalShortcutBackend::DoRegister()
[New Thread 0xb13abb70 (LWP 10390)]
[New Thread 0xb0baab70 (LWP 10391)]
[New Thread 0xb03a9b70 (LWP 10392)]
[New Thread 0xafba8b70 (LWP 10393)]
[New Thread 0xaf3a7b70 (LWP 10394)]
Couldn't load icon "find"
[New Thread 0xaeba6b70 (LWP 10395)]
Application asked to unregister timer 0x2200000b which is not registered in this thread. Fix application.
[New Thread 0xae344b70 (LWP 10396)]
[New Thread 0xadb43b70 (LWP 10397)]
[New Thread 0xad342b70 (LWP 10398)]
Device added: "Gio//ext3/ext4/140305473536"
Device added: "Gio//ext3/ext4/21349490688"
QMutex::lock: mutex lock failure: Invalid argument
^C
Program received signal SIGINT, Interrupt.
0xb7fe2424 in __kernel_vsyscall ()
(gdb) backtrace
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb7f29c03 in __lll_lock_wait_private () from /lib/i686/cmov/libpthread.so.0
#2 0xb7f272ce in _L_lock_27 () from /lib/i686/cmov/libpthread.so.0
#3 0xb7f26eb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#4 0xb69fc00a in ?? () from /usr/lib/libQtCore.so.4
#5 0xb69f8662 in QMutex::lock() () from /usr/lib/libQtCore.so.4
#6 0x0840bb25 in GioLister::MountChanged(_GMount*) ()
#7 0xb7c7c968 in g_cclosure_marshal_VOID__OBJECT () from /usr/lib/libgobject-2.0.so.0
#8 0xb7c5f9f2 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#9 0xb7c72988 in ?? () from /usr/lib/libgobject-2.0.so.0
#10 0xb7c7b3f6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#11 0xb7c7b6fd in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#12 0xb7d16b7e in ?? () from /usr/lib/libgio-2.0.so.0
#13 0xb7c7c968 in g_cclosure_marshal_VOID__OBJECT () from /usr/lib/libgobject-2.0.so.0
#14 0xb7c5f9f2 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#15 0xb7c72988 in ?? () from /usr/lib/libgobject-2.0.so.0
#16 0xb7c7b3f6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#17 0xb7c7b6fd in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#18 0xb7d24b16 in ?? () from /usr/lib/libgio-2.0.so.0
#19 0xb7d28948 in ?? () from /usr/lib/libgio-2.0.so.0
#20 0xb7c6100c in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#21 0xb7bb78d9 in g_list_foreach () from /lib/libglib-2.0.so.0
#22 0xb7d2928a in ?? () from /usr/lib/libgio-2.0.so.0
#23 0xb7c632ff in g_object_run_dispose () from /usr/lib/libgobject-2.0.so.0
#24 0xb7d1700a in ?? () from /usr/lib/libgio-2.0.so.0
#25 0xb7c60f43 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#26 0x083c6505 in GioLister::~GioLister() ()
#27 0x082eb37f in DeviceManager::~DeviceManager() ()
#28 0x082eb4b2 in DeviceManager::~DeviceManager() ()
#29 0x08219b20 in MainWindow::~MainWindow() ()
#30 0x081620e8 in main ()
(gdb)

@Clementine-Issue-Importer
Copy link
Author

From mariusz.drozdowski on May 10, 2011 12:44:00

I've got similar problem. When I'm trying to close Clementine it won't stop playing, just working in the background - still changing songs from play list. I've got to kill process manually. I'm using Arch Linux with KDE 4.6.3 and Clementine 0.7.1. outputfrom gdb:

[mariusz@thinkpad ~]$ gdb clementine
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html >
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
< http://www.gnu.org/software/gdb/bugs/>.. .
Reading symbols from /usr/bin/clementine...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/clementine
[Thread debugging using libthread_db enabled]
[New Thread 0xb4bbcb70 (LWP 4123)]
Couldn't load icon "clementine-panel"
Couldn't load icon "clementine-panel-grey"
[New Thread 0xb21a4b70 (LWP 4124)]
[New Thread 0xb19a3b70 (LWP 4125)]
[New Thread 0xb11a2b70 (LWP 4126)]
[New Thread 0xb09a1b70 (LWP 4127)]
[New Thread 0xb01a0b70 (LWP 4128)]
[New Thread 0xaf99fb70 (LWP 4129)]
[New Thread 0xaf19eb70 (LWP 4130)]
[New Thread 0xae99db70 (LWP 4131)]
Application asked to unregister timer 0x4100000a which is not registered in this thread. Fix application.
[New Thread 0xadd29b70 (LWP 4132)]
[New Thread 0xad528b70 (LWP 4133)]
[New Thread 0xacd27b70 (LWP 4134)]
[New Thread 0xabcffb70 (LWP 4135)]
[New Thread 0xa74fdb70 (LWP 4136)]
[New Thread 0xa6cfcb70 (LWP 4137)]
[Thread 0xa74fdb70 (LWP 4136) exited]
[Thread 0xa6cfcb70 (LWP 4137) exited]
[Thread 0xabcffb70 (LWP 4135) exited]
[New Thread 0xabcffb70 (LWP 4138)]
[Thread 0xabcffb70 (LWP 4138) exited]
[New Thread 0xabcffb70 (LWP 4140)]
[New Thread 0xa6cfcb70 (LWP 4141)]
[New Thread 0xa74fdb70 (LWP 4142)]
[Thread 0xa74fdb70 (LWP 4142) exited]
^C
Program received signal SIGINT, Interrupt.
0xb7fdf424 in __kernel_vsyscall ()
(gdb) backtrace
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb67bc75e in poll () from /lib/libc.so.6
#2 0xb6c6710b in g_poll () from /usr/lib/libglib-2.0.so.0
#3 0xb6c58566 in ?? () from /usr/lib/libglib-2.0.so.0
#4 0xb6c5898a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5 0xb70762b7 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) ()
from /usr/lib/libQtCore.so.4
#6 0xb7584a9a in ?? () from /usr/lib/libQtGui.so.4
#7 0xb704711d in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) ()
from /usr/lib/libQtCore.so.4
#8 0xb7047361 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4
#9 0xb704baaa in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#10 0xb74cf184 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#11 0x08135bfa in main ()

@Clementine-Issue-Importer
Copy link
Author

From ZNeilson on August 01, 2011 19:56:35

I too can not get clementine to close. I'm running 0.7.1 on an Arch Linux box. If I set it to run in the background, it's fine, but when I actually try to close the program, it forks to the background (closing the terminal won't kill it) and it runs one of my cores at 100%. I don't get any error messages however.

@Clementine-Issue-Importer
Copy link
Author

From andrew.gaydenko on August 02, 2011 01:52:06

ZNeilson, with 100% CPU consumption it seems to be another bug - #2088. Star there :)

@Clementine-Issue-Importer
Copy link
Author

From darthroe on August 11, 2011 14:11:54

I have a similar problem, although I'm using version 0.7. r3213 ~natty. The process left after closing Clementine (not just minimizing the window) according to System Monitor, it's using around 33% cpu memory 32.5 shared memory 37.2
Here is the output from gdb:

dtr@DTR:~$ gdb clementine
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html >
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
< http://www.gnu.org/software/gdb/bugs/>.. .
Reading symbols from /usr/bin/clementine...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/clementine
[Thread debugging using libthread_db enabled]
16:03:16.495 DEBUG NetworkProxyFactory:30 Detected system proxy URLs: ("", "", "", "")
[New Thread 0x7fffe7208700 (LWP 13814)]
[New Thread 0x7fffe6a07700 (LWP 13815)]
[Thread 0x7fffe6a07700 (LWP 13815) exited]
16:03:16.666 INFO Player:493 Registered URL handler for "lastfm"
16:03:16.666 DEBUG RadioModel:81 Adding radio service: "Last.fm"
16:03:16.666 INFO Player:493 Registered URL handler for "somafm"
16:03:16.666 DEBUG RadioModel:81 Adding radio service: "SomaFM"
16:03:17.558 INFO Player:493 Registered URL handler for "magnatune"
16:03:17.558 DEBUG RadioModel:81 Adding radio service: "Magnatune"
16:03:17.562 DEBUG RadioModel:81 Adding radio service: "Jamendo"
16:03:17.571 DEBUG RadioModel:81 Adding radio service: "Icecast"
16:03:17.572 DEBUG RadioModel:81 Adding radio service: "SavedRadio"
16:03:17.588 WARN IconLoader:54 Couldn't load icon "clementine-panel"
16:03:17.596 WARN IconLoader:54 Couldn't load icon "clementine-panel-grey"
[New Thread 0x7fffe6a07700 (LWP 13818)]
[New Thread 0x7fffdda07700 (LWP 13819)]
[New Thread 0x7fffdd206700 (LWP 13820)]
16:03:17.614 DEBUG QxtGlobalShortcutBackend:32 registering
[New Thread 0x7fffdca05700 (LWP 13821)]
[New Thread 0x7fffdc204700 (LWP 13822)]
16:03:17.663 DEBUG ScriptManager:83 Script search paths: ("/home/dtr/.config/Clementine/scripts", "/build/buildd/clementine-0.7. r3213 ~natty/debian/clementine/usr/share/clementine/scripts", "/usr/share/clementine/scripts", "/usr/local/share/clementine/scripts")
16:03:17.664 DEBUG MainWindow:205 Starting
[New Thread 0x7fffdba03700 (LWP 13823)]
[New Thread 0x7fffdb202700 (LWP 13824)]
[New Thread 0x7fffdaa01700 (LWP 13825)]
[New Thread 0x7fffd99ff700 (LWP 13827)]
[New Thread 0x7fffda200700 (LWP 13826)]
[New Thread 0x7fffd89a4700 (LWP 13828)]
16:03:18.010 WARN unknown Application asked to unregister timer 0x72000009 which is not registered in this thread. Fix application.
16:03:18.171 DEBUG MainWindow:249 Initialising player
16:03:18.172 DEBUG MainWindow:255 Creating models
16:03:18.184 DEBUG MainWindow:277 Creating UI
[New Thread 0x7fffd35b9700 (LWP 13830)]
16:03:18.246 DEBUG MainWindow:641 Creating equalizer
16:03:18.247 DEBUG MainWindow:656 Creating now playing widget
16:03:18.272 DEBUG MainWindow:668 Registering script action locations
16:03:18.314 WARN unknown X Error: BadAtom (invalid Atom parameter) 5
16:03:18.314 WARN unknown Major opcode: 19 (X_DeleteProperty)
16:03:18.314 WARN unknown Resource id: 0x0
[New Thread 0x7fffd2db8700 (LWP 13831)]
16:03:18.466 DEBUG MainWindow:700 Loading settings
16:03:18.589 DEBUG MainWindow:740 Initialising library
[New Thread 0x7fffd25b7700 (LWP 13832)]
16:03:18.593 DEBUG MainWindow:766 Started
16:03:18.632 INFO DeviceManager:393 Device added: "DeviceKit/2005123351189661B5A3/SanDisk/Cruzer/4000309248"
16:03:18.634 INFO DeviceManager:393 Device added: "Gio//msdos/3998351360"
[New Thread 0x7fffd1db6700 (LWP 13833)]
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
[New Thread 0x7fffcfba3700 (LWP 13835)]
16:03:19.449 WARN unknown QFileSystemWatcher: failed to add paths: /home/dtr/.config/ibus/bus
^C
Program received signal SIGINT, Interrupt.
0x00007ffff10c3f03 in __poll (fds=, nfds=,
timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87
87 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
in ../sysdeps/unix/sysv/linux/poll.c
(gdb) backtrace
#0 0x00007ffff10c3f03 in __poll (fds=, nfds=,
timeout=) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff4caa104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff4caa639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff1ca63ef in QEventDispatcherGlib::processEvents (this=0x107e130, flags=)
at kernel/qeventdispatcher_glib.cpp:422
#4 0x00007ffff2c3c4de in QGuiEventDispatcherGlib::processEvents (this=,
flags=) at kernel/qguieventdispatcher_glib.cpp:204
#5 0x00007ffff1c7a882 in QEventLoop::processEvents (this=, flags=...)
at kernel/qeventloop.cpp:149
#6 0x00007ffff1c7aabc in QEventLoop::exec (this=0x7fffffffdf10, flags=...) at kernel/qeventloop.cpp:201
#7 0x00007ffff1c7eecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#8 0x000000000053950b in main ()
(gdb)

@Clementine-Issue-Importer
Copy link
Author

From quadro.rg on August 18, 2011 03:39:30

Debian Sid x86
Clementine : 0.7.1+dfsg-2.1+b1

I have the same problem.
When I close the player, clementine still remain in proccess and runs one of my cores at 100%.
BUT! if I start gdb clementine => run

Program exited normally.
(gdb) quit

=> all ok.

sorry for bad english.

@Clementine-Issue-Importer
Copy link
Author

From triune on August 23, 2011 18:45:21

I can confirm the last comment... program seems to terminate normally when run using gdb, however... the GUI disappears when you close the app (after it was started normally) and it keeps one of my four cores at 100%

@Clementine-Issue-Importer
Copy link
Author

From keirangtp on August 28, 2011 13:29:36

gruj: can you try latest dev builds and make sure you're issue is not issue #2088 ? this bug report is getting really crowded...

@Clementine-Issue-Importer
Copy link
Author

From El0Sonador on August 29, 2011 00:16:32

Just builded v0.7.3-101-g8d068f8 from GIT.
The same bag.

@Clementine-Issue-Importer
Copy link
Author

From triune on August 29, 2011 23:42:51

This may have something to do with projectM. I am experiencing the same issue when I start projectM separately (without clementine) and then close it after running it for a while ~ I get a runaway process that eats up an entire core. Since Clementine uses projectM internally, the thought was that projectM is causing this internally.

@Clementine-Issue-Importer
Copy link
Author

From quadro.rg on August 30, 2011 04:00:57

Exec=env __GL_NO_DSO_FINALIZER=1 clementine
thats fix my problem

@Clementine-Issue-Importer
Copy link
Author

From sco50000 on August 30, 2011 13:36:48

The last bunch of comments are all experiencing issue 2088 , not the original post on this issue.

@Clementine-Issue-Importer
Copy link
Author

From grujicc on August 30, 2011 21:31:02

keiran, nah, it's not that one. when i try to close, it just hangs and it's NOT consuming 100% of cpu time.

another interesting observation would be that on another machine, with the same distro, but 64-bit version, closing the player works just fine.

@Clementine-Issue-Importer
Copy link
Author

From grujicc on August 30, 2011 22:09:08

and one more thing, which only now crossed my mind to test it on this 32bit machine where the problem's been originally experienced.

the bug report was written when trying to close an instance of clementine that was idle (eg, not playing anything). however, when trying to do the same during the playback, the playback keeps running and at the end of the song the program either closes, progresses with the next song in the playlist or gets stuck there not closing, with the latter being the most frequent case.

@Clementine-Issue-Importer
Copy link
Author

From vasilakisfil on November 19, 2011 04:40:34

I can confirm that when i manually close clementine either from tray icon either from Music -> Quit the process does not terminate. Actually it remains in background( i can see that from the task manager) and consumes 100% of my one core(50% total). If i reopen it and reclose it then it consumes 100% total meaning both cores. I always have to kill it.

Tell me if i can help you somehow(like giving more info...etc)

@Clementine-Issue-Importer
Copy link
Author

From powerman.asdf on February 16, 2012 02:02:16

I've two different .ebuild (gentoo linux) for clementine-1.0.0, first have this bug, second doesn't have it. They use different configure options, so I'm going to bisect them and find which option result in this bug…

Catch it! It's -DENABLE_GIO. When it's =ON this bug happens, when it's =OFF clementine exits just fine, without any issues. Tested both on 1.0.0 and 1.0.1. In original ebuild which has =OFF there was this comment: "GIO is disabled because of upstream #802".

Hope this helps.

@Clementine-Issue-Importer
Copy link
Author

From El0Sonador on February 16, 2012 02:08:32

clementine 1.0.1-1 - fixed.

@Clementine-Issue-Importer
Copy link
Author

From grujicc on February 16, 2012 14:32:39

yes, that seems to be the one! compiled from the source with -DENABLE_GIO=OFF and no program hanging on exit. thanks powerman! :)

@Clementine-Issue-Importer
Copy link
Author

From powerman.asdf on February 16, 2012 22:34:24

Now I wonder what GIO option is for, what exactly we're disabling so joyfully? :)

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

2 participants