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

Android debugging fails => lands in disassembler

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-29928
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes