Can you describe how the FIR State is initialized under the hood for MR FIR and what could cause it to segfault?
I have tried with the InitAlloc function and the 2-step GetStateSize + Init functions and the Init is the function that crashes. I have used these functions on other filter configurations with no problems - are there limitations on the Up/Down sizes?
The only difference between these two functions is that InitAlloc allocates memory internally while Init uses external buffer. Do you have some code that can reproduce this problem? Without it, it is not easy to provide the valuable suggestion here?
There are no any limitations on Up/Down sizes (they must be >0 only).