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/ [0x7fcb34831938]
[bt] (1) /home/ec2-user/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/mxnet/ [0x7fcb36e803ae]
[bt] (2) /lib64/ [0x7fcb6b96d270]
[bt] (3) python(PyType_IsSubtype+0) [0x56388a62b480]
[bt] (4) /home/ec2-user/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/ [0x7fcae20520cf]
[bt] (5) /home/ec2-user/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/ [0x7fcae2052935]
[bt] (6) /home/ec2-user/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/PyQt5/ [0x7fcae1d1bcdd]
[bt] (7) /home/ec2-user/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/PyQt5/ [0x7fcae1cf2bfc]
[bt] (8) python(_PyImport_LoadDynamicModuleWithSpec+0x185) [0x56388a74fa45]
[bt] (9) python(+0x215c45) [0x56388a74fc45]

Any suggestions will be helpful!

Thanks in advance,

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,