I'm using OpenCV 3 on Windows, Linux and Mac. My program goes to crash when calling the function CascadeClassifier::detectMultiScale. This happens only on Mac but not on Linux, Windows. This is the Mac bug report:
4 libopencv_objdetect.3.0.dylib 0x000000010fd68486 cv::CascadeClassifier::detectMultiScale(cv::_InputArray const&, std::__1::vector<cv::rect_<int>, std::__1::allocator<cv::rect_<int> > >&, double, int, int, cv::Size_<int>, cv::Size_<int>) + 214 25 ssssss.ComputerVisionStudio 0x000000010e444cda QThProcessImage::DetectObjects(cv::Mat, cv::CascadeClassifier&, cv::CascadeClassifier&, QString) + 378