opencv-2.4.6.1-1 and qt5 and qtcreator-2.8.0
Hi, after the last update of opencv while i am compiling the project correctly when i am trying to run them, i get the following bunch or errors:
*** Error in `<folder_path_where_the_project_is_located>': realloc(): invalid pointer: 0x00007f65d7f37820 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x788ae)[0x7f65d6f0b8ae]
/usr/lib/libc.so.6(realloc+0x24a)[0x7f65d6f0f56a]
/usr/lib/libQt5Core.so.5(_ZN9QListData7reallocEi+0x1e)[0x7f65d2634c6e]
/usr/lib/libQt5Core.so.5(_ZN9QListData6appendEi+0x6a)[0x7f65d2634d2a]
/usr/lib/libQt5Core.so.5(+0x1788ec)[0x7f65d26d28ec]
/usr/lib/libQt5Core.so.5(_Z21qRegisterResourceDataiPKhS0_S0_+0x2b9)[0x7f65d26ce989]
/usr/lib/libQt5Core.so.5(+0x6f823)[0x7f65d25c9823]
/lib64/ld-linux-x86-64.so.2(+0xea9a)[0x7f65da5caa9a]
/lib64/ld-linux-x86-64.so.2(+0xeb6c)[0x7f65da5cab6c]
/lib64/ld-linux-x86-64.so.2(+0x14ea)[0x7f65da5bd4ea]
======= Memory map: ========
***REMOVED MEMORY MAP, IT SEEMS QUITE USELESS AND MAKES OVERVIEW HARD***
The program has unexpectedly finished.
does someone have any idea what might be the problem. If i use opencv v2.4.5-3 with qt5 everything is working nicely but with the new version not.
Probably you had somewhere a pointer that was doing something wrong and now a try catch has been placed around the event to capture this problem. However, the ouput gives us zero basics to start. Please add your code that goes wrong ...
Problem solved, there was a miswriting in the .pro file. The strange think is that this miswriting was not causing any problem previously. Anyway, thanks @steven.
Probably not catching the problem was a bug that was being reported before, resulting in a bugfix that has been included in the new release. Happy you fixed it, might be good to post the exact error in an answer and accept it as the correct one.
I have the same problem, it is very strange. I do not know where is going wrong. could you tell me? Here I cannot post the pro file, it is unformat.
try to clean the project and manually delete any Debug/Release folders or Makefile leftovers and then rebuild the project from scratch. Also reinstall opencv, qt, qtcreator.
No, it still does not work