Segmentation fault error with reshape()

Maybe someone already reported this problem. I am getting Segmentation fault error with following statements. I know 10 is not divisible with 4, hence user error. However I think python should raise meaningful error message and keep the input prompt in this case.

from mxnet import np
X = np.arange(10)
X.reshape(-1, 4)

Segmentation fault: 11

Stack trace:
[bt] (0) 1 libmxnet.so 0x0000000116f02740 mxnet::Storage::Get() + 7968
[bt] (1) 2 libsystem_platform.dylib 0x00007fff509bcf5a _sigtramp + 26
[bt] (2) 3 ??? 0x3400000000000009 0x0 + 3746994889972252681
[bt] (3) 4 libmxnet.so 0x00000001170b1ed6 mxnet::Storage::Get() + 1775286
[bt] (4) 5 libmxnet.so 0x00000001149a203e