2017-03-01 22:27:17 -0600 | commented answer | Segmentation fault in ~ImageCodecInitializer() while exiting main() Thanks LBerger: This solved it. |
2017-03-01 22:26:42 -0600 | received badge | ● Scholar (source) |
2017-02-28 06:33:41 -0600 | commented question | Segmentation fault in ~ImageCodecInitializer() while exiting main() berak: I have debugged the code. My custom function medFilter works correctly. imshow displays the output which is correct. Error is thrown at the closing curly bracket of the main() function. |
2017-02-28 06:26:06 -0600 | commented question | Segmentation fault in ~ImageCodecInitializer() while exiting main() LBerger: hist[255] has been changed to hist[256] as you have correctly suggested. Problem still persists though. |
2017-02-28 05:56:41 -0600 | commented question | Segmentation fault in ~ImageCodecInitializer() while exiting main() berak- The error is happening in the destructor: cv::ImageCodecInitializer::~ImageCodecInitializer(). Which is OpenCV Library code. Cant seem to find whats going on. |
2017-02-28 05:44:38 -0600 | commented question | Segmentation fault in ~ImageCodecInitializer() while exiting main() LBerger: Line numbers are removed. |
2017-02-28 05:39:28 -0600 | received badge | ● Editor (source) |
2017-02-28 02:05:17 -0600 | commented question | Segmentation fault in ~ImageCodecInitializer() while exiting main() berak.. I used gdb: The program executed well till line no. 16; after which just before exiting the main function gave a dump. |
2017-02-28 01:50:51 -0600 | asked a question | Segmentation fault in ~ImageCodecInitializer() while exiting main() I am trying to implement a median filter(for practice). The program showed the output image correctly but it ended with a segmentation fault. The following error occurred just before exiting main(){} Program received signal SIGSEGV, Segmentation fault. 0x00007ffff78bf789 in cv::ImageCodecInitializer::~ImageCodecInitializer() () from /usr/local/lib/libopencv_imgcodecs.so.3.2 |