Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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.


  • Qt Champions 2019

    @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