My code runs on its own without faulting (although there are definitely serious bugs!).
In cuda-gdb, however, cuda-gdb itself is segfaulting (SIGSEGV) when my code tries to launch a kernel. Kernel1 executes fine, but Kernel2 segfaults at launch. The process (mine, not cuda-gdb) remains and I have to kill it manually. I have been using cuda-gdb with this code for some time now and this is the first I have encountered this problem.
I tried briefly to search for this in the forums without success. This is such a general problem I’m sure it has been addressed before. If that’s the case, just point me the way.
How can I start to diagnose this problem? What sorts of things could be happening to cause this?
EDIT: For my own purposes, running in emulation mode with gdb might be enough (nope, turns out it wasn’t enough. I’m in the dark.) I’m still curious, and I’d also like to be able to provide meaningful feedback to cuda-gdb developers.
ubuntu 9.04 64-bit
cuda 3.0
gdb 6.6
gcc 4.3.3