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

tst_qgraphicsanchorlayout crash with QtWayland failed on Ubuntu 22.04, GNOME

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.2.9, 6.5.3, 6.7.0 FF
    • dev
    • QPA: Wayland
    • None
    • Linux/Wayland
    • 0b47ed94b (dev), ef701cbc2 (tqtc/lts-6.2), 0e2aee739 (6.5)

    Description

      https://codereview.qt-project.org/c/qt/qtwayland/+/488742
      https://testresults.qt.io/coin/integration/qt/qtwayland/tasks/1693099815
      https://testresults.qt.io/coin/api/log/qt/qtbase/9101a3e5634c86852ceba3e5eed6c3c6550b2f2a/LinuxUbuntu_22_04x86_64LinuxUbuntu_22_04x86_64GCCqtci-linux-Ubuntu-22.04-x86_64-50-3dc860InsignificantTests_RunDependencyTests_Sccache_TestOnly/fcec62ee626b897d4e3160022712a2b75868b5b5/test_1693101019/log.txt.gz

      agent:2023/06/29 17:14:28 build.go:402: 537: ********* Start testing of tst_QGraphicsAnchorLayout *********
      agent:2023/06/29 17:14:28 build.go:402: 537: Config: Using QtTest library 6.7.0, Qt 6.7.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 11.3.0), ubuntu 22.04
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::initTestCase()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::simple()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::simple_center()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::simple_semifloat()
      agent:2023/06/29 17:14:28 build.go:402: 537: QDEBUG : tst_QGraphicsAnchorLayout::layoutDirection() layout->geometry(): QRectF(10,5 100x20) expected: QRectF(100,0 10x10) actual: QRectF(60,5 50x10)
      agent:2023/06/29 17:14:28 build.go:402: 537: BFAIL  : tst_QGraphicsAnchorLayout::layoutDirection() Compared values are not the same
      agent:2023/06/29 17:14:28 build.go:402: 537:    Actual   (checkReverseDirection(p)): 0
      agent:2023/06/29 17:14:28 build.go:402: 537:    Expected (true)                    : 1
      agent:2023/06/29 17:14:28 build.go:402: 537:    Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/graphicsview/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp(307)]
      agent:2023/06/29 17:14:28 build.go:402: 537: QWARN  : tst_QGraphicsAnchorLayout::diagonal() QSimplex: No feasible solution!
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::diagonal()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::parallel()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::parallel2()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::snake()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::snakeOppositeDirections()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::fairDistribution()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::fairDistributionOppositeDirections()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::proportionalPreferred()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::example()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::setSpacing()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::styleDefaults()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::hardComplexS60()
      agent:2023/06/29 17:14:28 build.go:402: 537: XFAIL  : tst_QGraphicsAnchorLayout::stability() The layout has several solutions, but which solution it picks is not stable ( QRectF(30,0 0x10) != QRectF(30,0 10x10) , iteration 2 , item 4 ) 
      agent:2023/06/29 17:14:28 build.go:402: 537:    Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/graphicsview/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp(1357)]
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::stability()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::delete_anchor()
      agent:2023/06/29 17:14:28 build.go:402: 537: QWARN  : tst_QGraphicsAnchorLayout::conflicts() QSimplex: No feasible solution!
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::conflicts()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::sizePolicy()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::floatConflict()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::infiniteMaxSizes()
      agent:2023/06/29 17:14:28 build.go:402: 537: QWARN  : tst_QGraphicsAnchorLayout::simplifiableUnfeasible() QGraphicsAnchorLayout: anchor setup is not feasible.
      agent:2023/06/29 17:14:28 build.go:402: 537: QWARN  : tst_QGraphicsAnchorLayout::simplifiableUnfeasible() QGraphicsAnchorLayout: anchor setup is not feasible.
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::simplifiableUnfeasible()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::simplificationVsOrder()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::parallelSimplificationOfCenter()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::simplificationVsRedundance()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::spacingPersistency()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::snakeParallelWithLayout()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::parallelToHalfLayout()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::globalSpacing()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::graphicsAnchorHandling()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::invalidHierarchyCheck()
      agent:2023/06/29 17:14:28 build.go:402: 537: PASS   : tst_QGraphicsAnchorLayout::cleanupTestCase()
      agent:2023/06/29 17:14:28 build.go:402: 537: Totals: 33 passed, 0 failed, 0 skipped, 1 blacklisted, 220ms
      agent:2023/06/29 17:14:28 build.go:402: 537: ********* Finished testing of tst_QGraphicsAnchorLayout *********
      agent:2023/06/29 17:14:28 build.go:402: 537: Received signal 11 (SIGSEGV), code 2, for address 0x00007f1ea5631aa8
      agent:2023/06/29 17:14:28 build.go:402: 537:          [Non-test] function time: 8ms, total time: 221ms
      agent:2023/06/29 17:14:28 build.go:402: 537: 
      agent:2023/06/29 17:14:28 build.go:402: 537: === Stack trace ===
      agent:2023/06/29 17:14:28 build.go:402: 537: Could not attach to process.  If your uid matches the uid of the target
      agent:2023/06/29 17:14:28 build.go:402: 537: process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
      agent:2023/06/29 17:14:28 build.go:402: 537: again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
      agent:2023/06/29 17:14:28 build.go:402: 537: ptrace: Inappropriate ioctl for device.
      agent:2023/06/29 17:14:28 build.go:402: 537: === End of stack trace ===
      agent:2023/06/29 17:14:28 build.go:402: 537: qt-testrunner.py     INFO: Test process exited with code: -11
      agent:2023/06/29 17:14:28 build.go:402: 537: qt-testrunner.py     INFO: Parsed XML file /home/qt/work/testresults/tst_qgraphicsanchorlayout-1688058868008.xml in 0.000 seconds
      agent:2023/06/29 17:14:28 build.go:402: 537: qt-testrunner.py     INFO: Found 35 passes and 0 failures
      agent:2023/06/29 17:14:28 build.go:402: 537: qt-testrunner.py  WARNING: No failures listed in the XML test log! Did the test CRASH right after all its testcases PASSed?
      agent:2023/06/29 17:14:28 build.go:402: 537: qt-testrunner.py    ERROR: Full test run failed repeatedly, aborting!
      agent:2023/06/29 17:14:28 build.go:402: 537: CMake Error at tst_qgraphicsanchorlayoutWrapperDebug.cmake:18 (message):
      agent:2023/06/29 17:14:28 build.go:402: 537:   /home/qt/work/install/libexec/qt-testrunner.py --
      agent:2023/06/29 17:14:28 build.go:402: 537:   /home/qt/work/qt/qtbase_standalone_tests/tests/auto/widgets/graphicsview/qgraphicsanchorlayout/tst_qgraphicsanchorlayout
      agent:2023/06/29 17:14:28 build.go:402: 537:   execution failed with exit code 3.
      agent:2023/06/29 17:14:28 build.go:402: 537: 
      agent:2023/06/29 17:14:28 build.go:402: 537: 
      agent:2023/06/29 17:14:28 build.go:402: 537/662 Test #537: tst_qgraphicsanchorlayout ...............................***Failed    1.32 sec
      
      

      Attachments

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

        Activity

          People

            liaqi Liang Qi
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes