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

tst_qmessagehandler::qMessagePattern(backtrace depth,separator) fails on qemu-armv7-developer-build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.7.0 RC, 6.8.0 FF
    • 6.8
    • Core: Other
    • None
    • Linux/Yocto
    • 5b9654613 (dev), 03f1ea3dc (dev), b7b11c809 (6.7)

    Description

      The autotest tst_qmessagehandler::qMessagePattern(backtrace depth,separator) fails on qemu-armv7-developer-build. If one does a debug build on the VM, tst_qmessagehandler::qMessagePattern(backtrace) is run as well and fails too.

      The reason for the failure is that shouldSkipFrame returns true for all frames, not only the ones from QtCore, because function is empty. The variable function is empty, because Dl_info::dli_sname of the dladdr call result is nullptr.

      This usually indicates that the test executable is built without -rdynamic, but that is not the case. The CMakeLists.txt is fine.

      Attachments

        For Gerrit Dashboard: QTBUG-121389
        # Subject Branch Project Status CR V

        Activity

          People

            thiago Thiago Macieira
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes