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

Application and debugger crash when setting a breakpoint on Apple M1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • Qt Creator 11.0.1
    • Debugger
    • None
    • MacBook Pro, CPU: Apple M1 Pro, RAM: 16Gb;
      Debugger: LLDB
    • macOS

    Description

      The application and debugger always crash when setting breakpoint. I investigated that QPocess may cause this issue. Before QProcess started all works fine. After successfully starting a new process and then setting any breakpoints causes an application/debugger crash.

       

      Note:

      • It is reproduced only when CMAKE_OSX_ARCHITECTURES is set as x86_64.
      • It is reproduced on any Qt version (Qt5, Qt6)
      • It is reproduced with different LLDB debuggers  (14, 15, 16)

      Application output:

      assertion failed [gTaskSuspended]: cannot suspend thread when task not suspended
      (DebugServer.cpp:221 thread_suspend)

       

       

      Attachments

        1. crash-report.txt
          31 kB
        2. Debugger_log.txt
          3 kB
        3. lldb-terminal.png
          lldb-terminal.png
          505 kB
        4. QProcessDebugTest.zip
          8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            madwinter Marcus Tillmanns
            differed Yurii
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes