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

PrevNext  Index
DateTue, 24 Sep 2013 17:28:16 -0400
From Paul Davis <[hidden] at linuxaudiosystems dot com>
ToYury Alyaev <[hidden] at rambler dot ru>
CcJACK <[hidden] at lists dot jackaudio dot org>
In-Reply-ToYury Alyaev Re: [Jack-Devel] Help! Using pipe() before jack_client_open() makes Jack crazy
i just did that. it runs perfectly.



On Tue, Sep 24, 2013 at 5:25 PM, Yury Alyaev <[hidden]> wrote:

> 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?
>>
>
> ______________________________**_________________
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/**listinfo.cgi/jack-devel-**jackaudio.org<http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org>
>
PrevNext  Index

1380058102.26900_0.ltw:2, <CAFa_cKkHSQySDxRCazc5Ya_S80fRD-Ct8YkB9rmO40Dt47oHSw at mail dot gmail dot com>