Fatal signal 6 (SIGABRT) when openCV is linked

asked 2018-01-14 01:41:41 -0500

Hi everyone, I have a Qt project for Android and few linked libraries to the project (one of them is openCV for recognizing some objects). When some class throws an exception sometimes it can't be handle (handle for this exception is exist) and application crashes with error "F libc : Fatal signal 6 (SIGABRT), code -6 in tid 12234 (QtThread)". When I don't link the openCV library the exception can be caught without any problems. I simplified my project to find out the root cause of the problem, i removed all libraries except of openCV and create dummy class which emits exception. The problem reproduces when openCV is linked (just linked and nothing from library is used).

My environment: 1. Qt Creator 4.4.1 Based on Qt 5.9.2 (Clang 7.0 (Apple), 64 bit) 2. OpenCV-android-sdk 2 3. Android for armeabi-v7a (GCC 4.9, Qt 5.9.2 for Android armv7)

edit retag flag offensive close merge delete