Re: [Jack-Devel] Help! Using pipe() before jack_client_open() makes Jack crazy

PrevNext  Index
DateWed, 25 Sep 2013 01:25:59 +0400
From Yury Alyaev <[hidden] at rambler dot ru>
To[hidden] at lists dot jackaudio dot org
In-Reply-ToPaul Davis Re: [Jack-Devel] Help! Using pipe() before jack_client_open() makes Jack crazy
Follow-UpPaul Davis Re: [Jack-Devel] Help! Using pipe() before jack_client_open() makes Jack crazy
25.09.2013 01:17, Paul Davis пишет:
> I know of at least two applications which call pipe(2) before calling
> jack_client_open(), without issues.

Just try to insert pipe() before jack_client_open in simple_client.c 
program from Jack examples and see what happens. Jack version 0.121.3, 
if it matters.

>
> Whatever the problem is, it isn't what you think it is.
>
>
> On Tue, Sep 24, 2013 at 5:02 PM, Yury Alyaev <[hidden]
> <mailto:[hidden]>> wrote:
>
>     Hello all,
>
>     I'am now debugging some application, some times ago working
>     perfectly with Jack. Now I have found, that if an application calls
>     pipe() before jack_client_open(), some strange bugs appear. First,
>     the message "jackd: wait for startup process exit failed" is printed
>     to a console from which an application was run. Looking at Jack
>     sources, I've found out, that this is a code of starting jackd. But
>     it has already started from another console. In general, the
>     behaviour of an application becomes unpredictable at this point,
>     including hang-ups and writes of some trash to opened pipes, not
>     initiated by an application itself. So I have no idea (and nothing
>     is found in the internet) what is the reason of this thing and what
>     should I do to avoid it?
PrevNext  Index

1380057962.26718_0.ltw:2, <52420367.4010903 at rambler dot ru>