Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2015 09:44:01 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Tobias Berner <tcberner@gmail.com>
Cc:        kde-freebsd@kde.org, multimedia@freebsd.org
Subject:   Re: [kde-freebsd] kbiff && zombies
Message-ID:  <20150605074401.GA39371@c720-r276659>
In-Reply-To: <1590193.DEjpYeqoYJ@tl4>
References:  <20150602102221.GA3393@c720-r276659> <1594539.qBefdthF7o@tl12> <20150603073720.GA2509@c720-r276659> <1590193.DEjpYeqoYJ@tl4>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150605074401.GA39371>