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

Android debugging, NDK 23: lldb 12 does an "INFERIOR SPONTANEOUS STOP"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 7.0.0, Qt Creator 8.0.0-beta1
    • Debugger
    • None

    Description

      Qt Creator 8 uses NDK 23.1.7779620 by default, lldb (version 12.0.8) as debugger.

      When I start debugging, the debugger prematurely stops. With the default NDK 22.1.7171670, with lldb 11.0.5, the debugging works well.

      I attached the logs of the successful DebuggerLog_ndk22.1_armeabi-v7a.txt and the failed DebuggerLog_ndk23.1_armeabi-v7a.txt launches.

      The same can be observed on Linux host (not on Windows, though). With x86_64: NDK 22.1, Linux, X86_64.debuggerlog.txt (good) vs. NDK 23.1, Linux, X86_64.debuggerlog.txt (bad).

      Also, on macOS, we can observe the issue: NDK 23.1, macOS M1, arm64-v8a.debuggerlog.txt

      Edit: Good news: NDK 24.0.8215888 with lldb 14.0.1 does not have this issue. Debugging and Android application from a Linux Host works, there.

      Attachments

        Issue Links

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

          Activity

            People

              portale Alessandro Portale
              portale Alessandro Portale
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes