-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Crash with jack input and output.external #993
Comments
Could we also see the log just before the crash please? |
Nothing in particular, just my normal logs. |
The failed assertion is this one: https://github.com/savonet/liquidsoap/blob/master/src/outputs/pipe_output.ml#L123. It happens when I unmute the input which comes into jack, so it seems to check out with the method name. Is there a way I could debug the two variables to check which one doesn't have the right value?
I'm trying to find a short code which would trigger the problem... |
After testing, I made some progress. My pipeline is simplified as such:
The idea is that the first output is used to monitor the audio level of the input continuously, while the second monitors the audio stream including music and the input (only when broadcasting). |
Could you try to simplify it further to a self-contained script without jack or complicated external program? I have tried the following but cannot reproduce:
|
Btw, it would be nice if you could tell which of the two variables is wrong. The easiest is to replace
by
and see which line raises. |
1 month later: I did that, apparently encoder = None. |
Interesting: if I use the same input two times, I get the crash. Maybe a faulty shutdown condition? |
Thanks. I think I begin to understand the issue, but I cannot reproduce so that I cannot fix the bug. Here is my current script:
which should be relatively close to yours. Can you simplify your script so that you don't use jack nor an opaque "process" command? Or modify the above script so that it fails? |
any progress on using input.jack in 2.0?? |
Describe the bug
When the following output.external restarts after a blank period, I get this crash:
the output, with voice being a pipeline starting with a input.jack:
Note that the output was blank thus stopped when the problem occured.
To Reproduce
Will do this weekend if I find the time, as well as expand this issue with more debugging.
Expected behavior
Should not crash
Version details
The text was updated successfully, but these errors were encountered: