Segmentation fault while runnung opevcv example

I am using 0062 version OF. I tried to run opencv example after enabling it to capture live video.But it gives segmentation fault in initgrabber(‘ofgstutil’ class) function,what can be the reason for this problem(by the way i have checked the input parameters to initgrabber,there is no null assignment)?

Actually,it has been a common problem with initgrabber whenever i have used it for other applications also.

maybe you can try the brandnew OF 007 which was put on the website a few days ago and see if this works for you?