When I'm trying to Quit from PD I have this messages in stdout:
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
And PD window doesn't closing. It closing only when I send SIGTERM to PD-process.
Anonymous
Need to know more ... is this with audio open, midi open, etc?
i think Pd-core crashes, but Pd-gui (and pd-watchdog) are still alive.
I detect when it happens. It only happens with JACK-audio. With -noaudio or -alsa it closes correctly.
And it happens only when I'm using callbacks in JACK.
I put logging to stdout in s_audio_jack.c:
void jack_close_audio(void)
{
printf("log1\n");
if (jack_client){
printf("log2\n");
jack_deactivate (jack_client);
printf("log3\n");
jack_client_close(jack_client);
printf("log4\n");
}
And I see only:
log1
log2
It looks like PD can't deactivate JACK-client.
P.S. PD vanilla (this repo: https://sourceforge.net/p/pure-data/pure-data/)