Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Trouble Loading Caltech Data

Hi,

I have built the opencv_contrib repository from source along with the regular opencv repository. Following the information from this link http://docs.opencv.org/3.0-beta/modules/datasets/doc/datasets/pd_caltech.html i have downloaded the caltech datasets. However when i try to run step 3 in the link i receive the following error:

./opencv/build/bin/example_datasets_pd_caltech -p=/home/prs/Documents/caltech_dataset/set00 * Error in `./opencv/build/bin/example_datasets_pd_caltech': double free or corruption (fasttop): 0x0000000001e3e3c0 * ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fe0d4a157e5] /lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fe0d4a1e37a] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fe0d4a2253c] /home/prs/Downloads/opencv/opencv/build/lib/libopencv_datasets.so.3.3(_ZN2cv8datasets10getDirListERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS6_SaIS6_EE+0x156)[0x7fe0d67040a6] /home/prs/Downloads/opencv/opencv/build/lib/libopencv_datasets.so.3.3(+0x4e945)[0x7fe0d66f6945] ./opencv/build/bin/example_datasets_pd_caltech[0x4010c3] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fe0d49be830] ./opencv/build/bin/example_datasets_pd_caltech(_start+0x29)[0x4012e9]

I was wondering if this is because example_datasets_pd_caltech wasn't built properly or i have conflicting libraries. Please let me know if you have an idea of hwo to fix this.

Thanks