Skip to content
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

SIGBUS in gx_engine::NeuralAmp::compute #190

Open
edwloef opened this issue Oct 27, 2024 · 5 comments
Open

SIGBUS in gx_engine::NeuralAmp::compute #190

edwloef opened this issue Oct 27, 2024 · 5 comments

Comments

@edwloef
Copy link
Contributor

edwloef commented Oct 27, 2024

This occurs when changing the buffer size at samplerates other than 48000, with the NAM plugin loaded. Can't tell whether this is another pipewire-jack bug though, since the stacktrace isn't very helpful: bt.txt

@edwloef
Copy link
Contributor Author

edwloef commented Oct 27, 2024

gdb claims this to be the line it crashes at, which doesn't make much sense to me either:

@edwloef
Copy link
Contributor Author

edwloef commented Oct 27, 2024

In the git version, it crashes somewhere in here:

void NeuralAmp::compute_static(int count, float *input0, float *output0, PluginDef *p)
{
static_cast<NeuralAmp*>(p)->compute(count, input0, output0);
}
maybe the difference is just down to debug symbols

@brummer10
Copy link
Owner

brummer10 commented Oct 27, 2024

Does that mean that it didn't crash under pipewire when you change the buffersize any more, without a neural model is running?
Which version of pipewire do you use?

@edwloef
Copy link
Contributor Author

edwloef commented Oct 27, 2024

Yes, the old crash no longer occurs since pipewire-jack 1.2.6, this commit fixed it: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/27961630a669f0a58ccbfe044cd0c3ebecbe77c0

@brummer10
Copy link
Owner

Ah, that's nice to hear.
Well, I just did some quick tests under jack and can't reproduce the crash under jack.
As I'm still on pipewire 1.2.0 I can't test on pipewire, but, as it works flawless under jack I suspect pipewire to be the culprit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants