Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29928

Android debugging fails => lands in disassembler

XMLWordPrintable

    • Android
    • e95ad3778 (13.0), 21e48c1a5 (13.0), 3f46037b3 (13.0), d3fb3a163 (13.0), 6ea2ab3ab (14.0), c028711c0 (17.0)

      Please do NOT add new reports about issues with similar symptoms here, instead please create new reports.

      Debugging on a physical Android or emulator device fails in Creator. It worked in 10.0, but that may be unrelated. Downgrading to Creator 10 doesn't solve the present problems.

      To reproduce:

      • compile latest Qt 6.7.0 (dev, 0ec1024ff8ccce76eca32d9f42c9d59a4e483c88) for Android (SDK Version: 11.0, NDK Version: 25.2.9519653, jre-17)
      • run an autotest, e.g. tst_android with ninja tst_android_check => success
      • debug the same autotest in Qt Creator. Compilation works, debugger directly launches disassembler. Debugging not possible.

      The issue is observed openSuSE, but according to the forum thread mentioned below also on Windows 11 and macOS.
      It reproduces on a clean host- and target build, with identical submodule configurations. It reproduces with autotests, as well as externally built applications. It seems to have some sort of Ndk dependency, because the versions 25.2.9519653 and 25.1.8937393 show slightly different symptoms as described below.

        1. screenshot-1.png
          133 kB
          Axel Spoerl
        2. screenshot-2.png
          183 kB
          Axel Spoerl
        3. screenshot-3.png
          434 kB
          Axel Spoerl
        4. build.log
          47 kB
          Axel Spoerl
        5. screenshot-4.png
          727 kB
          Axel Spoerl
        6. screenshot-5.png
          292 kB
          Axel Spoerl
        7. debugger_left.log
          29 kB
          Axel Spoerl
        8. debugger_right.log
          109 kB
          Axel Spoerl
        9. testapplications.zip
          9 kB
          Alessandro Portale
        10. WorkingDebugger.webp
          133 kB
          Alessandro Portale
        11. debugger_left_log.txt
          30 kB
          Ivan Solovev
        12. debugger_right_log.txt
          224 kB
          Ivan Solovev
        13. log.tgz
          17 kB
          Axel Spoerl
        14. logs_debugger_no_start.tgz
          15 kB
          Axel Spoerl
        15. screenshot-6.png
          182 kB
          Axel Spoerl
        16. qtcreator13-disassembly.mp4
          8.84 MB
          Cristian Adam
        17. qtcreator13-only-one-dissassembly-hit.mp4
          2.70 MB
          Cristian Adam
        18. lldb-additional-attach-commands.png
          193 kB
          Cristian Adam
        19. Recording-20240814_105442 (1).webm
          29.20 MB
          Irfan Omair
        20. qtcreator14-galaxy-s22-debugging.mp4
          6.98 MB
          Cristian Adam
        21. qtcreator14-android-dissasembly.webp
          265 kB
          Cristian Adam
        22. qt6.8-calqatr-galaxy-s23.mp4
          5.85 MB
          Cristian Adam
        23. qt6.8-calqlatr-android-emulator.mp4
          4.06 MB
          Cristian Adam
        24. qt6.8-declarative-camera-android-emulator.mp4
          9.72 MB
          Cristian Adam
        For Gerrit Dashboard: QTCREATORBUG-29928
        # Subject Branch Project Status CR V

            cadam Cristian Adam
            axelspoerl Axel Spoerl
            Votes:
            7 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes