VideoCapture segmentation fault

asked 2015-12-03 05:25:29 -0600

blacksailer gravatar image

updated 2015-12-03 09:18:10 -0600

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
edit retag flag offensive close merge delete