leezu edited a comment on issue #18090: Aborted unix-gpu CI
URL: 
https://github.com/apache/incubator-mxnet/issues/18090#issuecomment-616025939
 
 
   However, interrupting (`ctrl+c`) the repro script that you shared would 
sometimes print
   `Segmentation fault: 11` but sometimes also provide a meaningful backtrace
   
   ```
   Traceback (most recent call last):
     File "test.py", line 7, in <module>
       mx_x = mx.np.empty_like(mx_data)
     File "/home/ubuntu/src/mxnet-master/python/mxnet/numpy/multiarray.py", 
line 2579, in empty_like
       return _mx_nd_np.empty_like(prototype, dtype=dtype, order=order, 
subok=subok, shape=shape)
     File "/home/ubuntu/src/mxnet-master/python/mxnet/ndarray/numpy/_op.py", 
line 512, in empty_like
       return _npi.empty_like_fallback(prototype, dtype=dtype, order=order, 
subok=subok, shape=shape)
     File "<string>", line 40, in Custom
     File "/home/ubuntu/src/mxnet-master/python/mxnet/_ctypes/ndarray.py", line 
82, in _imperative_invoke
       check_call(_LIB.MXImperativeInvokeEx(
     File "/home/ubuntu/src/mxnet-master/python/mxnet/base.py", line 246, in 
check_call
       raise get_last_ffi_error()
   mxnet.base.MXNetError: Traceback (most recent call last):
     File "../include/mxnet/./tuple.h", line 141
   MXNetError: Check failed: ndim() >= 0 (-1 vs. 0) :
   ```
   
   You need some lucky timing to get this backtrace.. So try a few times if you 
can't see it

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to