cufftPlanMany column wise crash for certain sizes of matrix only


I have issues running cufftPlanMany on a complex matrix depending on matrix size.
This crash is recent, cannot make sure that’s following cuda update to cuda 10.2 but cannot remember same problem with previous 10.0.

Matrix size is mCol x mHistorySize, storage is organized row-major (two consecutive complex numbers in memory belong to two different columns). I need to perform FFT along colums, hence I need mHistorySize FFTs.

Crash raises when calling cufftPlanMany for certain sizes : 256x128 for example, while 1024x256 ok

int nCol[1] = { mChannels } ;
cufftResult rc = cufftPlanMany(&planSpectrum,
nCol, mHistorySize, 1, //inembed, istride, idist
nCol, mHistorySize, 1, //oneembed, ostride, odist,
CUFFT_C2C, mHistorySize); //type, n_batch

GDB report:
Thread 5 “rxinterfero” received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdddc3700 (LWP 16207)]
_int_malloc (av=av@entry=0x7fffec92ec40 <main_arena>,
bytes=bytes@entry=2097152) at malloc.c:4100
4100 malloc.c: Aucun fichier ou dossier de ce type.

Trace shows:
#0 _int_malloc (av=av@entry=0x7fffec92ec40 <main_arena>,
bytes=bytes@entry=2097152) at malloc.c:4100
#1 0x00007fffec5da3fa in __GI___libc_malloc (bytes=2097152) at malloc.c:3072
#2 0x00007fffe5b19465 in ?? () from /usr/lib/x86_64-linux-gnu/
#3 0x00007fffe5b14ea5 in ?? () from /usr/lib/x86_64-linux-gnu/
#4 0x00007fffe5b3d414 in ?? () from /usr/lib/x86_64-linux-gnu/
#5 0x00007fffe5a74e98 in ?? () from /usr/lib/x86_64-linux-gnu/
#6 0x00007fffe5a7542c in ?? () from /usr/lib/x86_64-linux-gnu/
#7 0x00007fffee7fc87a in ?? ()
from /usr/local/cuda-10.2/targets/x86_64-linux/lib/

OS : Ubuntu 18.04.4 LTS
GPU : GTX1080
CPU: Xeon Gold 5118 CPU

I’ve looked at several examples of using cufftPlanMany in this forum, checked the doc, google’d tips but cannot figure out what could be the issue.

Thanks for your help