On 06/21/2013 04:11 PM, Andreas Kloeckner wrote:
Søren Rasmussen<[email protected]>  writes:

Hi,

When using PyCUDA with the cuda 5.5 release candidate, I get a
segmentation fault when Python exits.
I guess it's a problem somewhere in the cleanup process..

The segfault can be reproduced by running:
      $ python -c "import pycuda.autoinit"
Setup: Python 2.73rc2, CUDA 5.5, pycuda 2012.1, boost 1.48.0

Anyone got ideas how to fix it?
Can you see if you can get a gdb backtrace of the crash? What's the
numerical driver version? (Use "dmesg | grep NV")
Also try "pip install faulthandler" then

$ python -c "import faulthandler; faulthandler.enable(); import pycuda.autoinit"

Anyone else have initial experience with 5.5RC?

Andreas
Hi,

Sorry for the late reply - stuff came up.

Faulthandler gave me nothing. The driver version is: NVIDIA UNIX x86_64 Kernel Module 319.21 Sat May 11 23:51:00 PDT 2013

Backtrace:

#0  0x00007ffff7def181 in ?? () from /lib64/ld-linux-x86-64.so.2
#1  0x00007ffff7de9176 in ?? () from /lib64/ld-linux-x86-64.so.2
#2  0x00007ffff79ba52f in ?? () from /lib/x86_64-linux-gnu/libdl.so.2
#3  0x00007ffff79ba00f in dlclose () from /lib/x86_64-linux-gnu/libdl.so.2
#4  0x00007fffef0c1d8c in ?? () from /usr/local/cuda/lib64/libcurand.so.5.5
#5  0x00007fffef0c1e95 in ?? () from /usr/local/cuda/lib64/libcurand.so.5.5
#6  0x00007ffff68fb901 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007ffff68fb985 in exit () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007ffff68e1774 in __libc_start_main ()
   from /lib/x86_64-linux-gnu/libc.so.6
#9  0x000000000041ba51 in _start ()

- Soren


_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to