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

Native debugging on Android 15 lands in disassember

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • Qt Creator 17.0.1
    • Qt Creator 17.0.0
    • Android Support
    • None
    • macOS
    • bdba9b55b (17.0), c028711c0 (17.0)

      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.

        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
        For Gerrit Dashboard: QTCREATORBUG-32937
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes