-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JackOpenError when (re)creating clients with identical name #98
Comments
Can somebody else confirm the behavior? My testing was done on I very much assume that this error has nothing to do with the Jack Python API, since I also encountered this when instantiating I did not encounter this problem (at least so systematically) before @mgeier do you have a convenient way of testing this on different Jack versions and OS?! |
This is reproducible upstream without the Python binding. It's a problem I've faced on Windows since at least |
Resolved with jackaudio/jack2#788. |
I have recently noticed some very annoying behavior with the Jack server "clogging up" on client names. The critical application is that a client is created (usually does something) and is destroyed afterwards. This is then repeated for a considerable amount of times with an identical name of the client. Although this seems like a pretty bonkers use case, we actually rely on doing it (in a current implementation at least). Nevertheless, I would expect this to be possible and handled by the server without problems. Right?
I created the a simple script which provokes the behavior.
Executing the script results in the following trailing output and error:
The surprising thing (to me at least) is that this fails at the 99th client. And this is always reproduced in the exact same way.
On very annoying aspect is that this client name is now blocked indefinitely. An continues to be blocked even after restarting the Jack server. I did not find a possibility to instantiate a client with the given name again. This is indeed a problem when using tools like
ecasound
which do not let you determine the instantiated Jack client name (this is also how I encountered the problem). The easiest way to reset the behavior is to log out and in of the OS session (or restart), which is still very disruptive. Is there an easier option to get this reset?The text was updated successfully, but these errors were encountered: