Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
macOS: killing a thread will abort the semaphore wait
Signed-off-by: falkTX <falktx@falktx.com>
- Loading branch information
Showing
1 changed file
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79ea074There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure that it is related, but exiting a client hangs with jack 1.9.22 (universal binary installed from jackaudio.org), but not with 1.9.21 (installed via brew) (both on macOS Ventura 13.1). This is independent of the backend (tested with coreaudio and dummy). I will test on monterey later. In both cases I get error messages like
79ea074There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that is odd then, because the issue was forcely fixed in f5a0199
the message you pasted shouldnt be logged anymore, since in the commit above the abort case is handled to skip such log.
79ea074There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I see, the client was linked against jack 1.9.21 in both cases, I tested only different server instances. Using 1.9.22 in client and server does not result in problems upon shutdown.
79ea074There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the linking on client side shouldnt make a difference, so not sure what is up..
according to the build logs https://github.com/jackaudio/jack2-releases/actions/runs/4080111352/jobs/7032228884 release is using the correct and expected commit.
this needs a bit more testing
79ea074There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem disappears when starting the client with
DYLD_LIBRARY_PATH=/usr/local/lib(the place where the 1.9.22 jack was installed). If I don't set the variable, it uses 1.9.21 from homebrew.
79ea074There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, remove the homebrew version then. you shouldnt have 2 jack libs installed system-wide like that, it for sure will lead to issues
79ea074There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or alternatively always use homebrew versions, but then contact them first for support in case of issues, falling back to the jack2 project when indicated by them