I compiled and installed wxCam on an XPS M1530 with 64-bit Ubuntu 9.04. When I run wxcam in the terminal, I get a segmentation fault. Here's the console output.

Determining video4linux API version...
Using video4linux 2 API
Determining pixel format...
pixel format: MJPEG
Found V4L2_PIX_FMT_MJPEG pixel format
pixel format: YUV 4:2:2 (YUYV)
Found V4L2_PIX_FMT_YUYV pixel format
Segmentation fault

The blue light which indicates that the camera is working does flash on for a moment. I installed Skype to test whether it would work with my camera and it did. When I use the camera in skype, the blue light next to the camera stays on.

Please help me diagnose and fix this problem.