Ask Your Question

Revision history [back]

VideoCapture segmentation fault

Hello everyone!

i am trying to deploy application with opencv from ubuntu to windows.

I have database of cameras with http url to connect them. Some of these Urls is NOT valid. On Ubuntu 15.10 videocapture with unvalid url just doesn't opening stream and videocapture.isOpened() returning false. On Windows 7 x32 during opening HTTP url with videocapture, app is crashing (Segmantation fault).

Where is an error?

VideoCapture segmentation fault

Hello everyone!

i am trying to deploy application with opencv from ubuntu to windows.

I have database of cameras with http url to connect them. Some of these Urls is NOT valid. On Ubuntu 15.10 videocapture with unvalid url just doesn't opening stream and videocapture.isOpened() returning false. On Windows 7 x32 during opening HTTP url with videocapture, app is crashing (Segmantation fault).

Where is an error?

backtrace:

  0 cvCreateFileCapture_Images(const char *)            0x6bb8e010  
1   cv::VideoCapture::open(cv::String const&)           0x6bb9721e  
2   cv::VideoCapture::VideoCapture(cv::String const&)           0x6bb9784b  
3   ??          0x41ca6d    
4   ??          0x4123e7    
5   ??          0x40f6ab