Ask Your Question

stef's profile - activity

2018-08-16 09:33:54 -0600 received badge  Notable Question (source)
2018-03-29 04:03:33 -0600 received badge  Popular Question (source)
2015-03-16 16:55:21 -0600 received badge  Student (source)
2013-12-11 03:55:37 -0600 asked a question OpenCV fails on Run with realloc(): invalid pointer

Hello all,

I'm new to OpenCV and I have tried one simple code example with QT Creator. My program builds well, but when I add line:

_capture = cvCaptureFromCAM(1);

I get an error like this:

*** Error in `/home/ivan/Projects/.../Desktop_Qt_5_1_1_GCC_64bit-Debug/my-program': realloc(): invalid pointer: 0x00007fa78cc2d520 ***

======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7f4c6)[0x7fa78bd584c6] /lib/x86_64-linux-gnu/libc.so.6(realloc+0x300)[0x7fa78bd5ccf0] /usr/lib/nvidia-319-updates/tls/libnvidia-tls.so.319.60(+0x2061)[0x7fa78428d061]

======= Memory map: ======== 00400000-00405000 r-xp 00000000 08:02 1585594 . . .

All libraries are loaded correctly and code passes build without an error. Did anyone had similar issues?

Thanks in advance.