From owner-freebsd-multimedia@FreeBSD.ORG Fri Jun 5 18:06:46 2015 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D26497F for ; Fri, 5 Jun 2015 18:06:46 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DBF831507 for ; Fri, 5 Jun 2015 18:06:45 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.135.229] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1Z0w0w-0001Mn-59; Fri, 05 Jun 2015 20:06:42 +0200 Received: from localhost.my.domain (c720-r276659 [127.0.0.1]) by localhost.unixarea.de (8.14.9/8.14.9) with ESMTP id t55I6cHi001880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 5 Jun 2015 20:06:38 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t55I4r1k001661; Fri, 5 Jun 2015 20:04:53 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 5 Jun 2015 20:04:53 +0200 From: Matthias Apitz To: Tobias Berner , kde-freebsd@kde.org, multimedia@freebsd.org Subject: KDE && jackd flag -l (was: kbiff && zombies) Message-ID: <20150605180453.GA1605@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Tobias Berner , kde-freebsd@kde.org, multimedia@freebsd.org References: <20150602102221.GA3393@c720-r276659> <1594539.qBefdthF7o@tl12> <20150603073720.GA2509@c720-r276659> <1590193.DEjpYeqoYJ@tl4> <20150605074401.GA39371@c720-r276659> <20150605093951.GA40017@c720-r276659> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150605093951.GA40017@c720-r276659> X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.229 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 18:06:46 -0000 I have modified the shell wrapper script for jackd as: #!/bin/sh printf "\nnew jackd call, pid: %d\n" $$ >> /tmp/jackd echo args: $0 $* >> /tmp/jackd /usr/local/bin/jackd.bin $* & echo last pg pid: $! >> /tmp/jackd ps axl >> /tmp/jackd and it turns out that all KDE components, already on KDE start the /usr/local/bin/knotify4, are calling jackd as /usr/local/bin/jackd -l which is fine according the man page of jackd: -l, --listen-port int The socket port we are listening on for sync packets (default: 3000) but the source of jackd implements with -l only the printout of the current working directory and exit(0): case 'l': /* special flag to allow libjack to determine * jackd's idea of where tmpdir is */ printf ("%s\n", jack_tmpdir); exit (0); I have search in the KDE sources, without any luck, where 'jackd -l' is issued to understand the problem; no luck; and for the moment I only can say that there is some missimplementation, either in KDE or in jackd. 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)