When the OFDM RX/RX parameters change frequently, a double free
memory corruption error can occur. The source of this error was
originating from the FFTW.
However the cause is that FFTW plan routines are not re-entrant.
When 2 ore more threads call the plan routines of FFTW the result
is undifined. Proper locking before any change to the OFDM gen/sycn
engine seems that solves the problem.
When the OFDM RX/RX parameters change frequently, a double free memory corruption error can occur. The source of this error was originating from the FFTW.
However the cause is that FFTW plan routines are not re-entrant. When 2 ore more threads call the plan routines of FFTW the result is undifined. Proper locking before any change to the OFDM gen/sycn engine seems that solves the problem.
See also: http://www.fftw.org/fftw3_doc/Thread-safety.html#Thread-safety