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

Native debugging on Android 15 lands in disassember

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 17.0.0
    • Android Support
    • None
    • macOS
    • bdba9b55b (17.0)

    Description

      I have tested the calqlatr example with Qt Creator 17 and Qt 6.8.3 / Android Arm64 with:

      1. Android 14 Emulator  
      2. Android 15 Emulator

      Android 14 works without an issue. 

      Android 15 doesn't work, it stops in the disassembler:

      Adding the debugger attach commands:

      process handle SIGSEGV --pass true --stop false --notify false 
      process handle SIGBUS --pass true --stop false --notify false 

      Makes debugging possible, but you need to have multiple debug breakpoints, since the first one might not be reached.

      Here are the Android 15 behavioral changes https://developer.android.com/about/versions/15/behavior-changes-15

      Here is the Android 14 debugging run output android14-output-run.txt and here the Android 15 (with workaround) android15-output-run.txt

      Debugging with Android 15 should work without workarounds just like it does with Android 14.

      Attachments

        1. qtcreator-17-qt-6.8.3-emulator-arm64.png
          1.53 MB
          Cristian Adam
        2. qtcreator-17-qt-6.8.3-emulator-android15-calqltr.png
          1.18 MB
          Cristian Adam
        3. android14-output-run.txt
          4 kB
          Cristian Adam
        4. android15-output-run.txt
          17 kB
          Cristian Adam

        Issue Links

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

          Activity

            People

              portale Alessandro Portale
              cadam Cristian Adam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes