Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75294

Android onDestroy : SEGV_MAPERR ~QSqlDatabase()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • 5.15
    • 5.12.3
    • SQL Support
    • Build on Windows 10 with
      Android NDK r18b
      Target SDK : API 28 - Android 9
      Qt 5.12.3 armeabi-v7a
    • Android

    Description

      App crashes when the app is destroyed by the the system because the phone needs memory and shutdown apps not used for a while.

      You can reproduce it by enabling "Don't keep activities" in Developer options.

       

      There is the crash log :

      04-18 16:45:27.147 6934-6973/? A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xd5ad4e40 in tid 6973 (qtMainLoopThrea), pid 6934 (.myappapp)
      
      04-18 16:45:27.250 7010-7010/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'google/sailfish/sailfish:9/PQ2A.190405.003/5310204:user/release-keys' Revision: '0' ABI: 'arm' 04-18 16:45:27.251 7010-7010/? A/DEBUG: pid: 6934, tid: 6973, name: qtMainLoopThrea >>> com.myapp.myappapp <<< signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xd5ad4e40 r0 d8639c40 r1 d5ad4de0 r2 00000000 r3 00000000 r4 d6336560 r5 00001000 r6 f5143000 r7 d827eb48 r8 d72eb3e5 r9 f25b7450 r10 f5143df0 r11 0000012a ip f25af638 sp d827eb40 lr f2570687 pc d72eb40c backtrace: #00 pc 0001040c /data/app/com.myapp.myappapp-u2bqJUTOGMRABhN1tcDacA==/lib/arm/libQt5Sql.so (QSqlDatabase::~QSqlDatabase()+40)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mabrand Mark Brand
            vkaestle67 Vincent Kaestle
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes