On Mon, 2007-05-21 at 13:03 +0300, Nedko Arnaudov wrote:
William Weston <weston(a)sysex.net> writes:
This one looks like you may have hit a case where
the engine
thread is waiting on the buffer ready condition to be broadcast from
the jack thread, which never comes because JACK requested a client
shutdown instead of running the process callback. Does this patch
help?
The patch does not help. I beleive the AFAIK the jack_shutdown_handler()
is called only when jackd is being shut down, not during jack client
shutdown. I added printf in the function and it does not show during
phasex shutdown. It appeared however when I tried to stop jackd while
phasex was running (and there were some other strange messagest too):
# phasex
JACK tmpdir identified as [/tmp]
cannot read server event (Success)
cannot complete execution of the processing graph (Resource temporarily unavailable)
zombified - calling shutdown handler
jack_shutdown_handler() called.
I get the same here every time if i ^O (load a patch) in phasex whilst
something else is running in jack (eg seq24 & a single whysynth). If i
do the ^O whilst seq24 is stopped, i can load the patch without
problems, and i can then do subsequent ^O's whilst seq24 is running.