Do

gnome-do makes zombies

Bug #764967 reported by CrimsonKnave
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Do
Invalid
Medium
Chris Halse Rogers
mono
Fix Released
Undecided
Unassigned

Bug Description

On Archlinux using gnome-do 0.8.3.1-2 every process I run with gnome-do becomes a zombie process when I quit until I kill gnome-do. A kill -9 on the process as root doesn't kill it, I've only been able to get rid of them by restarting DO.

Tags: zombie
Revision history for this message
Chris Halse Rogers (raof) wrote :

Hm. I think I can reproduce this, and I've got a good idea of the cause. Bah.

Changed in do:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
CrimsonKnave (crimsonknave) wrote :

I am still seeing this on two machines. Is there any information I can provide that will help?

Revision history for this message
Chris Halse Rogers (raof) wrote : Re: [Bug 764967] Re: gnome-do makes zombies

On Tue, 2011-06-21 at 16:37 +0000, CrimsonKnave wrote:
> I am still seeing this on two machines. Is there any information I can
> provide that will help?
>

I don't think so. I haven't yet managed to get around to actually
trying to fix this, but I think I've got a good idea of what to do.
Lacking only the time!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Tim Price (timprice) wrote :

Also seeing this on Ubuntu Oneiric x64 (Linux Mint, plain vanilla gnome-shell, no MATE, no MGSE), gnome-do 0.8.5-1ubuntu2. Thanks for your work on Do, Chris - very useful program.

Changed in do:
status: Confirmed → Incomplete
Revision history for this message
Chris Halse Rogers (raof) wrote :

Huh. I think this may actually be a Mono bug. If you can reproduce this bug, can you list the mono version that you're using?

I can reproduce on mono 2.10.5. I think this is a behaviour change in mono 2.10.

Revision history for this message
CrimsonKnave (crimsonknave) wrote :

I just tested this again and I noticed that either the behavior has changed or I was incorrect that it always created zombies. Currently for me it only creates zombie processes if it can't find the command and just tries to execute what I have typed. For example, if I type 'gnome-terminal' and hit enter it will run gnome-terminal and create a zombie on exit, but if I type 'term' it auto-completes to terminal and has the gnome terminal icon and will run that when I hit enter. In the second case it does not create a zombie process.

I am using gnome-do 0.8.5-3 and mono 2.10.8-1

Changed in do:
assignee: nobody → Chris Halse Rogers (raof)
Revision history for this message
Chris Halse Rogers (raof) wrote :

I'm pretty sure this is a mono bug. I see MonoDevelop also makes zombie gdbs. I think that mono's failing to waitpid, or that it's child-process-exited handling isn't working properly - I see the Process.Exited event isn't getting raised.

no longer affects: ubuntu
Revision history for this message
vr2mx (vr2mx) wrote :

Same problem for me. Gnome-Do (v. 0.8.5) creates xargs-zombie processess, mostly if i open 'dirs' to folders and then close them in Ubuntu 11.10, but also for some applications.

It would be great, if this issue get be fixed in due time.
Also, Gnome-Do is a very useful and recommendable little helper tool!! - A big 'Thank You' to all who participated in its development (:

Revision history for this message
Olleg Samoylov (olleg) wrote :

Confirm that gnome-do creates zombies only when run exec from path. When launch entries form the menu all fine.

Revision history for this message
Olleg Samoylov (olleg) wrote :

And reason is simple. When gnome-do run exec from the path it's create chield process and zombie later. But if gnome-do run exec from the menu it create detached process and thus there will be not a zombie. To fix this bug gnome-do must detach a "exec from the path" process in the same way.

Revision history for this message
Chris Halse Rogers (raof) wrote :

So, this was a Mono bug in the Exec implementation.

It's resolved in (at least) Mono 3.2.

Changed in do:
status: Incomplete → Invalid
Changed in mono:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.