[Jack-Devel] Zombified process without any CPU load
Hermann Meyer
brummer- at web.de
Fri Jul 28 08:27:40 CEST 2017
Am 28.07.2017 um 08:10 schrieb Yuri:
> On 07/27/2017 22:43, Hermann Meyer wrote:
>>> Jack thread only connects with the actual client code through the
>>> process() callback.
>>
>> You need at least connect a shutdown callback
>>
>> void
>> jack_shutdown (void *arg)
>> {
>> // clean up your client
>> exit (1);
>> }
>
>
>
> I do have shutdown callback. Instead of exit(1), I schedule a timer
> event and connect again.
>
> The major problem is why does the process get zombified in the first
> place.
>
>
> Yuri
>
Not unlikely a error in your code, but, without seeing it, hard to say. ;-)
Maybe, for example you refer somewhere to your jack_client_t* pointer
after shutdown, which isn't valid any more then, . . .
More information about the Jackaudio
mailing list