-
Notifications
You must be signed in to change notification settings - Fork 544
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
nbrx: make extra room for history in rx filter #1249
Conversation
The default output buffer allocation for the nb (noise blanker) block in nbrx could end up being smaller than this history requirement of the rx filter when filter params were adjusted at runtime. Allocate space for 64k items, which should be enough for a very tight filter. Signed-off-by: Jeff Long <willcode4@gmail.com>
I've tried this and it didn't work. |
You ran this patch, or you've tried something like this before? |
It does not work at least on my system. |
Since the quad rate is fixed at 96k and the filter widths are going to be the same, I'm not sure how we're seeing different results. What do you see if you add this to master? How much space did the error message say it was looking for? |
Master does not compile, so I see nothing.
|
What version of GR? |
With this fix applied:
And the bug is still here... *rebuilding current GNU Radio main in a Ubuntu 22.04 chroot. |
No, it's going to be more complicated than this. The GR buffer allocator is not doing what I thought it would do. |
Thing are getting more and more interesting here. |
Was it a segfault once after build, then worked after that? I've seen that occasionally and don't know what that is about. If it's a constant segfault, I haven't seen it. |
The segfault is not related to this change. |
The default output buffer allocation for the nb (noise blanker) block in nbrx could end up being smaller than the history requirement of the rx filter when filter params are adjusted at runtime. Allocate space for 64k items, which should be enough for a very tight filter.
Fixes #1233