core dumps without any trace
nerkn opened this issue · 1 comments
nerkn commented
My app heavily using getRegion. In one of the functions, I'm going out of the image, but i cant locate without proper error message. Whole nodejs just dies out.
terminate called after throwing an instance of 'std::runtime_error'
what(): OpenCV Error: (0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows) in Mat, in file /control/node_modules/opencv-build/opencv/opencv/modules/core/src/matrix.cpp, line 465, status -215
Aborted (core dumped)
It should emit error exception or die traceable.