-
Notifications
You must be signed in to change notification settings - Fork 176
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
1.9.6 sometimes turns into a zombie process after shutting down #3064
Comments
Just FYI: I will take it as a bug, but I would not be able to reproduce and fix this without exact repro steps. |
Thanks! |
Well, for a week now I have been trying to provoke it becoming a zombie process but no luck so far. |
To directly answer what you asked: you can use strace or a similar tool to see which processes are spawned by deadbeef, and then you can probably see when those situations occur. Other than that, I can see 2 situations when zombie process situation can occur:
If we assume that the problem is caused by Deadbeef, these are some of the situations that spawn child processes:
These are the operations that I could remember, but there are probably more. If not, strace is probably the logger you're looking for. |
I will give strace a try. However I will be on vacation for 2 weeks and will only take my mobile so no Deadbeef on that... To the second part: I only run DB "out of the box" with the "official" plugins. And soley pre-converted mp3s, no conversion done in the player. Also no shellexec or the others. So I guess we can rule these out. So to narrow it down it could be the parent process "cinnamon" or, what just came to mind: I run a Conky with a "if_running deadbeef" variable. Maybe that interacts with the terminate signal. This is my "pstree" call if that helps with anything: |
Steps to reproduce the problem
Listen to music, shut down DeadBeef
What's going on? Describe the problem in as much detail as possible.
It sometimes persists as an unkillable zombie. It's not always doing it. Don't know how to deliberately reproduce. Can be killed by killing parent process.
Information about the software:
LMDE 6 "Faye", Cinnamon 6.0.4, Kernel 6.1.0-18-amd64, i5-12600KF, GeForce 3060Ti with 550.67 driver
Deadbeef version:
OS: 1.9.6 with a Conky script that shows cover art and progress bar with a "if_running" variable. That's how I can tell because the "if_running" only shows the cover art when "deadbeef-main" is running. So when I end DeadBeef the cover art changes from the art to "Nothing" instead of disappearing.
The text was updated successfully, but these errors were encountered: