[kde-freebsd] kbiff && zombies

Matthias Apitz guru at unixarea.de
Fri Jun 5 07:44:01 UTC 2015


El día Thursday, June 04, 2015 a las 09:13:28PM +0200, Tobias Berner escribió:

> > > It's probably best if you open a bug report for it though.
> > > 
> > > Wild guess, it's jack: https://github.com/jackaudio/jack1/commit/cfa910af9694de0dd218713f66d521ee85c4070c
> > > 
> > > 
> > > mfg Tobias

I have applied the proposed patch and recompiled ports/audio/jack; it
does not help; to debug further, I replaced the binary jackd by a shell
script:


#!/bin/sh

printf "new jackd call:\n" >> /tmp/jackd
echo $0 $* >> /tmp/jackd
/usr/local/bin/jackd.bin $* &
echo $! >> /tmp/jackd

and when a mail arrives the file /tmp/jackd shows:


new jackd call:
/usr/local/bin/jackd -l
39343
new jackd call:
/usr/local/bin/jackd -l
39345
new jackd call:
/usr/local/bin/jackd -l
39347

the PIDs of the zombies are always -1:

39342  2  Z      0:00,01 <defunct>
39344  2  Z      0:00,01 <defunct>
39346  2  Z      0:00,01 <defunct>

i.e. it must be the PID of the shell started by kbiff which let me
think, that the fork/wait in kbiff itself is is causing the problem;

	matthias
-- 
Matthias Apitz, guru at unixarea.de, http://www.unixarea.de/ +49-170-4527211    +49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138)


More information about the kde-freebsd mailing list