After digging a bit into the problem, I got to the conclusion that the functions with GpuMat structures involved don't get properly wrapped in Python unless they are under the C++ 'cuda' namespace ...
Please reopen the bug and let opencv's python adapter behave properly by throwing an exception. Crashing is not really an option ... if you don't do this every user with this usecase will have to wrap ...