second.pytorch icon indicating copy to clipboard operation
second.pytorch copied to clipboard

Segmentation fault (core dumped)

Open nanaBaah opened this issue 4 years ago • 4 comments

System: Ubuntu 18.04.4 LTS Cuda 10.2 python3.6 I'm not using any conda env

When I run this: python3 create_data.py kitti_data_prep --data_path=KITTI_DATASET_ROOT

I get this on my console:

/home//.local/lib/python3.6/site-packages/numba/cuda/envvars.py:17: NumbaWarning: 
Environment variables with the 'NUMBAPRO' prefix are deprecated and consequently ignored, found use of NUMBAPRO_NVVM=/usr/local/cuda/nvvm/lib64/libnvvm.so.


For more information about alternatives visit: ('http://numba.pydata.org/numba-doc/latest/cuda/overview.html', '#cudatoolkit-lookup')
  warnings.warn(errors.NumbaWarning(msg))
/home//.local/lib/python3.6/site-packages/numba/cuda/envvars.py:17: NumbaWarning: 
Environment variables with the 'NUMBAPRO' prefix are deprecated and consequently ignored, found use of NUMBAPRO_LIBDEVICE=/usr/local/cuda/nvvm/libdevice.

For more information about alternatives visit: ('http://numba.pydata.org/numba-doc/latest/cuda/overview.html', '#cudatoolkit-lookup')
  warnings.warn(errors.NumbaWarning(msg))
/home//.local/lib/python3.6/site-packages/numba/cuda/envvars.py:17: NumbaWarning: 
Environment variables with the 'NUMBAPRO' prefix are deprecated and consequently ignored, found use of NUMBAPRO_CUDA_DRIVER=/usr/lib/x86_64-linux-gnu/libcuda.so.

For more information about alternatives visit: ('http://numba.pydata.org/numba-doc/latest/cuda/overview.html', '#cudatoolkit-lookup')
  warnings.warn(errors.NumbaWarning(msg))
Segmentation fault (core dumped)
`

nanaBaah avatar Jun 17 '20 16:06 nanaBaah

I have a similar system and am getting the exact same issue on the same command. Here's a bit more detail on the segmentation fault:

`Fatal Python error: Segmentation fault

Current thread 0x00007f6599498740 (most recent call first): File "/home/ayush/anaconda3/lib/python3.7/site-packages/numba/cuda/cudadrv/nvvm.py", line 235 in compile File "/home/ayush/anaconda3/lib/python3.7/site-packages/numba/cuda/cudadrv/nvvm.py", line 499 in llvm_to_ptx File "/home/ayush/anaconda3/lib/python3.7/site-packages/numba/cuda/compiler.py", line 397 in get File "/home/ayush/anaconda3/lib/python3.7/site-packages/numba/cuda/compiler.py", line 426 in get File "/home/ayush/anaconda3/lib/python3.7/site-packages/numba/cuda/compiler.py", line 548 in bind File "/home/ayush/anaconda3/lib/python3.7/site-packages/numba/cuda/decorators.py", line 101 in kernel_jit File "/home/ayush/second.pytorch/second/core/non_max_suppression/nms_gpu.py", line 480 in File "", line 219 in _call_with_frames_removed File "", line 728 in exec_module File "", line 677 in _load_unlocked File "", line 967 in _find_and_load_unlocked File "", line 983 in _find_and_load File "/home/ayush/second.pytorch/second/utils/eval.py", line 8 in File "", line 219 in _call_with_frames_removed File "", line 728 in exec_module File "", line 677 in _load_unlocked File "", line 967 in _find_and_load_unlocked File "", line 983 in _find_and_load File "/home/ayush/second.pytorch/second/data/kitti_dataset.py", line 14 in File "", line 219 in _call_with_frames_removed File "", line 728 in exec_module File "", line 677 in _load_unlocked File "", line 967 in _find_and_load_unlocked File "", line 983 in _find_and_load File "create_data.py", line 7 in Segmentation fault (core dumped) `

AYUSH477 avatar Jun 25 '20 10:06 AYUSH477

Did you solve this?

deeptibhegde avatar Jul 16 '20 08:07 deeptibhegde

Numba need the cudatoolkit 10.1,you can install it by conda install cudatoolkit=10.1

ConanCui avatar Aug 03 '20 09:08 ConanCui

hi @nanaBaah @AYUSH477 , sorry to bother you. i met the same problem. have you solved it? thank you.

www04576 avatar Dec 05 '21 08:12 www04576