Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-99299

Consider relaunching crashing tests with lldb on macOS arm via cmake test wrapper

    XMLWordPrintable

Details

    • Suggestion
    • Status: Reported
    • P3: Somewhat important
    • Resolution: Unresolved
    • 6.3
    • None
    • None
    • macOS

    Description

      The following two issues disabled automatic backtrace collection on arm macOS machines when tests crash due to some issue in lldb.

      https://codereview.qt-project.org/c/qt/qtbase/+/360645
      https://codereview.qt-project.org/c/qt/qtbase/+/350650

      As an alternative, we could detect if the result variable of a test launch resulted in a SIGTRAP signal and relaunch the test executable with lldb attached to it.

      https://codereview.qt-project.org/c/qt/qtbase/+/387122/1//COMMIT_MSG#15
      https://github.com/qt/qtbase/blob/dev/cmake/QtTestHelpers.cmake#L578

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes