F/libc : Fatal signal 11 (SIGSEGV) .... (qtMainLoopThrea)

  • By using Qt.quit() to exit from my Android Application, I got this error.

    I find the instruction who cause this error :
    dbCnx = QSqlDatabase::addDatabase(dbDriver);

    I try to close my database connexion by dbCnx.removeDatabase (dbDriver); before execute Qt.quit()
    ==> same error :: F/libc : Fatal signal 11 (SIGSEGV) .... (qtMainLoopThrea)

    If I disable my database connection, my application close properly.

  • Lifetime Qt Champion

    @TuniDev You should inspect the stack trace to see what exactly happens when your app crashes.

  • I solved by closing my db connexion with this instruction :

    dbCnx.removeDatabase (dbCnx.connectionName ());

Log in to reply