Problems with cuda edge detection on video Video processing in cuda

Trying to get cuda edge detection on frames from a USB web camera.

Where running the code:
Start edge detection on first frame video works. Start video with edge detection on get Segmentation fault. Start video with edge detection off see video play in window.

product: Dell Precision WorkStation 690
CPUs: Dual Intel® Xeon® CPU 5150 @ 2.66GHz
Memory: 8GiB
Video Card: Quadro FX 4600 NVIDIA Driver 171.05
Web Camera: Logitech QuickCam Pro 4000
OS: Fedora 7 kernel X86_64
Cuda Version: X86_64 1.1
OpenCV Version: 1.0.0-3.fc7
cam_cip.tar.gz (3.39 KB)