Getting segmentation fault error

I am trying to run gated convolution, LSTM, CTC model. But I am getting segmentation fault error as follows:
Any ideaswhere and why this error occured and how to resolve this…

Segmentation fault: 11

Stack trace returned 10 entries:
[bt] (0) /home/ec2-user/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x276938) [0x7fcb34831938]
[bt] (1) /home/ec2-user/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x28c53ae) [0x7fcb36e803ae]
[bt] (2) /lib64/libc.so.6(+0x35270) [0x7fcb6b96d270]
[bt] (3) python(PyType_IsSubtype+0) [0x56388a62b480]
[bt] (4) /home/ec2-user/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/sip.so(+0x170cf) [0x7fcae20520cf]
[bt] (5) /home/ec2-user/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/sip.so(+0x17935) [0x7fcae2052935]
[bt] (6) /home/ec2-user/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/PyQt5/QtCore.so(+0x1cecdd) [0x7fcae1d1bcdd]
[bt] (7) /home/ec2-user/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/PyQt5/QtCore.so(PyInit_QtCore+0xdc) [0x7fcae1cf2bfc]
[bt] (8) python(_PyImport_LoadDynamicModuleWithSpec+0x185) [0x56388a74fa45]
[bt] (9) python(+0x215c45) [0x56388a74fc45]

Any suggestions will be helpful!

Thanks in advance,
Harathi

It is hard to say what the problem without looking at the source code. Can you post the minimal reproducing example?

Hi @Sergey,

Thanks for the reply. Actually I debugged where the error occured. It is occuring while importing matplotlib module. I rectified it.

Sorry, I forgot to update…

Thanks again,
Harathi