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

        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