-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
spotub doesn't exit properly, hangs in infinite loop #768
Comments
Same here with flatpak from flathub, Fedora 38/GNOME/Wayland. |
OK, I've realised what lies behind this. ldd /usr/bin/spotube reveals the following: |
Didn't test long enough - turned out that the symlinks didn't help. There was a difference, though: the program seemed to shutdown (window closed), but the process was still running in the background. Back to square one :( |
Hmm, in the flatpak the issue still reproduces reliably but the libraries seem to resolve fine. From inside a
|
As mentioned above, ldd /usr/bin/spotube reveales 12 missing .so libraries. However, 3 of the libraries in /usr/share/spotube/lib/ are not reported missing: I have no knowledge of flutter/dart but googling suggests that the libmedia_kit_native_event_loop.so might be related to this issue - plus that I get a warning that it can't be found. A symlink from /usr/share/spotube/lib/ to /usr/lib64 does not help. To me it seems as if spotube's call to this library goes wrong somehow. A comment from the devs would be most appreciated. |
No
This is also not a reason ig because flutter executable (./spotube) dynamically loads those libs as far as I know It's probably related to |
Thanks for the reply, KRTirtho! OK, so is there a way to solve this and to get a proper exit behaviour? I've tried both the MATE desktop (Marco WM) and XFCE (Xfwm), no difference. |
Well a temporary fix is to run Spotube from a script that logs the app output and closes it when this happens:
|
Good idea, but no difference on my system. I still get the "Spotube is not responding" message, allowing me to "Force quit". |
Use the nightly version. It's been fixed there. |
Thanks, KRTirtho! Upgraded to the nightly rpm version and yes, spotube now shuts down properly when I right-click the systray button and choose "Quit". However, if I activate the system title bar, click the spotube icon in top left corner, and choose "Quit", it hangs just like before, taking me to the "Spotube is not responding" message and allowing me to "Force quit". |
Yeah that was expected as I can't override the callback for the native titlebars |
Is there an existing issue for this?
Current Behavior
When starting from terminal I get the message
flutter: media_kit: WARNING: package:media_kit_native_event_loop not found.
libmedia_kit_native_event_loop.so is part of the package and duly installed.
When trying to exit a loop goes on ad infinitum:
I have to end the program with killall (or via system monitor).
Expected Behavior
No warning at startup, normal shutdown when exiting
Steps to reproduce
As described above under "Current behaviour"
Operating System
Linux
Spotube version
3.1.2 rpm package
Installation source
Website (spotube.netlify.app) or (spotube.krtirtho.dev)
Additional information
No response
The text was updated successfully, but these errors were encountered: