I am trying to create an OOT module with a vector input. I haven't implemented the signal processing yet. This is how my code looks like.
In the work function,
gr::io_signature::make(1, 1, sizeof(gr_complex)*fft_len),
gr::io_signature::make(1, 1, sizeof(gr_complex)*fft_len))
const gr_complex *in = (const gr_complex *) input_items;
gr_complex *out = (gr_complex *) output_items;
When the fft_len is set to 1, the block runs without any errors. However, when I set the fft_len to some value greater than 1, it fails with the following error.
gnuradio/buffer.h:179: unsigned int gr::buffer::index_add(unsigned int, unsigned int): Assertion `s < d_bufsize' failed.
I appreciate if you could give me some guidance to get this fixed.