Re: [ecasound] recording problems JACK,ecasound

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] recording problems JACK,ecasound
From: H. T. Hind (hirh_AT_comcast.net)
Date: Fri May 21 2004 - 22:48:47 EEST


On Fri, Apr 16, 2004 at 08:50:42PM +0300, Kai Vehmanen wrote:
> On Thu, 15 Apr 2004, H. T. Hind wrote:
>
> > I'm trying to setup a recording server which can record 24/7
> > using JACK and ecasound. Currently , I have a recording script
> > kicked off from cron which records 4 channels for 10 minutes,
> > every ten minutes. If I have an instance of ecasound recording
> > and I kick off another one, everything hangs! even a simple
>
> There is one known bug in JACK that sometimes stalls client disconnects.
> Your problem might be related. Hmm, you could try adding "engine-halt"
> before doing "cs-disconnect".
>

Maybe this is the bug is still there
that I'm encountering in my recording. My
ecasound process outputs the following error -

(ecasoundc_sa) Error='read() error', cmd='engine-halt'
last_error='' cmd_cnt=2186 last_cnt=2185.

(ecasoundc_sa) Error='sync error', cmd='cs-disconnect'
last_error='' cmd_cnt=2187 last_cnt=2185.

(ecasoundc_sa) Error='read() error', cmd='cs-disconnect'
last_error='' cmd_cnt=2187 last_cnt=2185.

I issue the following commands -

self.e.command("stop")
self.e.command("engine-halt")
self.e.command("cs-disconnect")

and subsequently all the ecasound processes just seem to hang
when I try to use jack_connect -

strace on jack_connect which hung shows
read(7,,

all subsequent jack_connects show
-->strace -p 1837
connect(7, {sa_family=AF_UNIX, path="/var/lib/jack/tmp/jack_0"}, 110

-->strace -p 2157
connect(7, {sa_family=AF_UNIX, path="/var/lib/jack/tmp/jack_0"}, 110

strace on jack shows -
futex(0x8064344, FUTEX_WAIT, 2, NULL

as if it is waiting for a lock to be released.

I'm using JACK 0-98.1, ecasound 2.3.3, python 2.2.3 on a Planet
CCRMA kernel

Any help or suggestion would be great.

hth


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri May 21 2004 - 22:41:18 EEST