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

6.7.1 qtwayland: test suite fails in 3 units

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P5: Not important
    • None
    • 6.7.1, 6.9
    • None
    • Linux/Wayland

    Description

      cmake setup (cmake -L output)

      -- Cache values
      BUILD_SHARED_LIBS:BOOL=ON
      BUILD_WITH_PCH:STRING=ON
      CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
      CMAKE_INSTALL_PREFIX:PATH=/usr
      CMAKE_INSTALL_RPATH:STRING=
      FEATURE_egl_extension_platform_wayland:BOOL=ON
      FEATURE_pkg_config:BOOL=ON
      FEATURE_wayland_brcm:BOOL=OFF
      FEATURE_wayland_client:BOOL=ON
      FEATURE_wayland_client_fullscreen_shell_v1:BOOL=ON
      FEATURE_wayland_client_ivi_shell:BOOL=ON
      FEATURE_wayland_client_primary_selection:BOOL=ON
      FEATURE_wayland_client_qt_shell:BOOL=ON
      FEATURE_wayland_client_wl_shell:BOOL=ON
      FEATURE_wayland_client_xdg_shell:BOOL=ON
      FEATURE_wayland_compositor_quick:BOOL=ON
      FEATURE_wayland_datadevice:BOOL=ON
      FEATURE_wayland_dmabuf_client_buffer:BOOL=ON
      FEATURE_wayland_dmabuf_server_buffer:BOOL=ON
      FEATURE_wayland_drm_egl_server_buffer:BOOL=ON
      FEATURE_wayland_egl:BOOL=ON
      FEATURE_wayland_layer_integration_vsp2:BOOL=OFF
      FEATURE_wayland_libhybris_egl_server_buffer:BOOL=OFF
      FEATURE_wayland_server:BOOL=ON
      FEATURE_wayland_shm_emulation_server_buffer:BOOL=ON
      FEATURE_wayland_vulkan_server_buffer:BOOL=ON
      INSTALL_ARCHDATADIR:STRING=lib64/qt6
      INSTALL_BINDIR:STRING=bin
      INSTALL_DATADIR:STRING=share
      INSTALL_DESCRIPTIONSDIR:STRING=lib64/qt6/modules
      INSTALL_DOCDIR:STRING=share/doc/qch
      INSTALL_EXAMPLESDIR:STRING=libexec/examples/qt6
      INSTALL_INCLUDEDIR:STRING=include/qt6
      INSTALL_LIBDIR:STRING=lib64
      INSTALL_LIBEXECDIR:STRING=libexec/qt6
      INSTALL_MKSPECSDIR:STRING=lib64/qt6/mkspecs
      INSTALL_PLUGINSDIR:STRING=lib64/modules/qt6
      INSTALL_QMLDIR:STRING=lib64/qt6/qml
      INSTALL_SYSCONFDIR:STRING=/etc/xdg
      INSTALL_TESTSDIR:STRING=libexec/tests/qt6
      INSTALL_TRANSLATIONSDIR:STRING=share/translations
      QT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH:STRING=
      QT_ADDITIONAL_PACKAGES_PREFIX_PATH:STRING=
      QT_ALLOW_DOWNLOAD:BOOL=OFF
      QT_ALLOW_SYMLINK_IN_PATHS:BOOL=OFF
      QT_BUILDING_QT:BOOL=TRUE
      QT_BUILD_BENCHMARKS:BOOL=OFF
      QT_BUILD_EXAMPLES:BOOL=ON
      QT_BUILD_EXAMPLES_AS_EXTERNAL:BOOL=OFF
      QT_BUILD_EXAMPLES_BY_DEFAULT:BOOL=ON
      QT_BUILD_EXAMPLES_PROJECT_QtWayland:BOOL=ON
      QT_BUILD_MANUAL_TESTS:BOOL=OFF
      QT_BUILD_MINIMAL_ANDROID_MULTI_ABI_TESTS:BOOL=OFF
      QT_BUILD_MINIMAL_STATIC_TESTS:BOOL=OFF
      QT_BUILD_TESTS:BOOL=ON
      QT_BUILD_TESTS_BATCHED:BOOL=OFF
      QT_BUILD_TESTS_BY_DEFAULT:BOOL=ON
      QT_BUILD_TESTS_PROJECT_QtWayland:BOOL=ON
      QT_BUILD_TOOLS_BY_DEFAULT:BOOL=ON
      QT_CMAKE_DEBUG_EXTEND_TARGET:BOOL=OFF
      QT_COPYRIGHT:STRING=Copyright (C) The Qt Company Ltd. and other contributors.
      QT_CREATE_VERSIONED_HARD_LINK:BOOL=ON
      QT_DEPLOY_MINIMAL_EXAMPLES:BOOL=OFF
      QT_DISABLE_RPATH:STRING=TRUE
      QT_HOST_PATH:PATH=
      QT_INSTALL_EXAMPLES_SOURCES:BOOL=OFF
      QT_INSTALL_EXAMPLES_SOURCES_BY_DEFAULT:BOOL=ON
      QT_INTERNAL_STRIP_SUPPORTS_KEEP_SECTION:BOOL=TRUE
      QT_INTERNAL_SUMMARY_INSTRUCTIONS_SHOWN:STRING=TRUE
      QT_NAMESPACE:STRING=
      QT_PLATFORM_DEFINITIONS:STRING=
      QT_QMAKE_TARGET_MKSPEC:STRING=linux-g++
      QT_QPA_DEFAULT_PLATFORM:STRING=xcb
      QT_SHOW_EXTRA_IDE_SOURCES:BOOL=ON
      QT_SOURCE_TREE:PATH=/home/tkloczko/rpmbuild/BUILD/qtbase-everywhere-src-6.7.1
      QT_SYNC_HEADERS_AT_CONFIGURE_TIME:BOOL=OFF
      QT_UNITY_BUILD:BOOL=OFF
      QT_UNITY_BUILD_BATCH_SIZE:STRING=32
      QT_USE_CCACHE:BOOL=OFF
      QT_USE_VCPKG:BOOL=OFF
      QT_WARN_PLUGIN_PUBLIC_KEYWORDS:BOOL=ON
      QT_WILL_INSTALL:BOOL=ON
      Qt6BuildInternals_DIR:PATH=/usr/lib64/cmake/Qt6BuildInternals
      Qt6CoreTools_DIR:PATH=/usr/lib64/cmake/Qt6CoreTools
      Qt6Core_DIR:PATH=/usr/lib64/cmake/Qt6Core
      Qt6DBusTools_DIR:PATH=/usr/lib64/cmake/Qt6DBusTools
      Qt6DBus_DIR:PATH=/usr/lib64/cmake/Qt6DBus
      Qt6GuiTools_DIR:PATH=/usr/lib64/cmake/Qt6GuiTools
      Qt6Gui_DIR:PATH=/usr/lib64/cmake/Qt6Gui
      Qt6Network_DIR:PATH=/usr/lib64/cmake/Qt6Network
      Qt6OpenGL_DIR:PATH=/usr/lib64/cmake/Qt6OpenGL
      Qt6QmlBuiltins_DIR:PATH=/usr/lib64/cmake/Qt6QmlBuiltins
      Qt6QmlCompilerPlusPrivate_DIR:PATH=Qt6QmlCompilerPlusPrivate_DIR-NOTFOUND
      Qt6QmlIntegration_DIR:PATH=/usr/lib64/cmake/Qt6QmlIntegration
      Qt6QmlModels_DIR:PATH=/usr/lib64/cmake/Qt6QmlModels
      Qt6QmlTools_DIR:PATH=/usr/lib64/cmake/Qt6QmlTools
      Qt6Qml_DIR:PATH=/usr/lib64/cmake/Qt6Qml
      Qt6QuickTools_DIR:PATH=/usr/lib64/cmake/Qt6QuickTools
      Qt6Quick_DIR:PATH=/usr/lib64/cmake/Qt6Quick
      Qt6Test_DIR:PATH=/usr/lib64/cmake/Qt6Test
      Qt6WaylandClient_DIR:PATH=/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/lib64/cmake/Qt6WaylandClient
      Qt6WaylandCompositor_DIR:PATH=/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/lib64/cmake/Qt6WaylandCompositor
      Qt6WaylandGlobalPrivate_DIR:PATH=/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/lib64/cmake/Qt6WaylandGlobalPrivate
      Qt6WaylandScannerTools_DIR:PATH=/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/lib64/cmake/Qt6WaylandScannerTools
      Qt6_DIR:PATH=/usr/lib64/cmake/Qt6
      WARNINGS_ARE_ERRORS:BOOL=OFF
      X11_xcb_xkb_INCLUDE_PATH:PATH=/usr/include
      XKB_INCLUDE_DIR:PATH=/usr/include
      XKB_LIBRARY:FILEPATH=/usr/lib64/libxkbcommon.so
       

      And test suite fails because it is not able to initialize egl

      + cd qtwayland-everywhere-src-6.7.1
      + xvfb-run -a dbus-launch --exit-with-session /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48
      Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/x86_64-redhat-linux-gnu
      Test project /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/x86_64-redhat-linux-gnu
            Start  1: tst_client
            Start  2: tst_clientextension
            Start  3: tst_wayland_cursor
            Start  4: tst_datadevicev1
            Start  5: tst_client_fullscreenshellv1
            Start  6: tst_client_iviapplication
            Start  7: tst_nooutput
            Start  8: tst_output
            Start  9: tst_primaryselectionv1
            Start 10: tst_wl_reconnect
            Start 11: tst_seatv4
            Start 12: tst_seatv7
            Start 13: tst_seat
            Start 14: tst_surface
            Start 15: tst_tabletv2
            Start 16: tst_wlconnect
            Start 17: tst_xdgdecorationv1
            Start 18: tst_xdgoutput
            Start 19: tst_xdgshell
            Start 20: tst_scaling
            Start 21: tst_multithreaded
            Start 22: tst_inputcontext
            Start 23: tst_compositor
       1/23 Test #16: tst_wlconnect ....................   Passed    0.04 sec
       2/23 Test  #5: tst_client_fullscreenshellv1 .....   Passed    0.26 sec
       3/23 Test #21: tst_multithreaded ................   Passed    0.28 sec
       4/23 Test  #3: tst_wayland_cursor ...............   Passed    0.46 sec
       5/23 Test  #6: tst_client_iviapplication ........   Passed    0.48 sec
       6/23 Test  #2: tst_clientextension ..............   Passed    0.53 sec
       7/23 Test  #7: tst_nooutput .....................   Passed    0.71 sec
       8/23 Test #12: tst_seatv7 .......................   Passed    0.99 sec
       9/23 Test #17: tst_xdgdecorationv1 ..............   Passed    1.03 sec
      10/23 Test #18: tst_xdgoutput ....................   Passed    1.37 sec
      11/23 Test #10: tst_wl_reconnect .................   Passed    1.72 sec
      12/23 Test  #9: tst_primaryselectionv1 ...........   Passed    1.84 sec
      13/23 Test  #8: tst_output .......................   Passed    2.21 sec
      14/23 Test  #4: tst_datadevicev1 .................   Passed    2.30 sec
      15/23 Test #14: tst_surface ......................   Passed    2.88 sec
      16/23 Test #23: tst_compositor ...................***Failed    3.12 sec
      ********* Start testing of tst_WaylandCompositor *********
      Config: Using QtTest library 6.7.1, Qt 6.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.1.1 20240522 (Red Hat 14.1.1-4)), fedora 41
      PASS   : tst_WaylandCompositor::initTestCase()
      wl_global_create: implemented version for 'wl_shm' higher than interface version (2 > 1)
      QWARN  : tst_WaylandCompositor::seatCapabilities() qt.waylandcompositor.hardwareintegration: Failed to initialize EGL display. Could not get EglDisplay for window.
      PASS   : tst_WaylandCompositor::seatCapabilities()
      wl_global_create: implemented version for 'wl_shm' higher than interface version (2 > 1)
      QWARN  : tst_WaylandCompositor::simpleKeyboard() qt.waylandcompositor.hardwareintegration: Failed to initialize EGL display. Could not get EglDisplay for window.
      PASS   : tst_WaylandCompositor::simpleKeyboard()
      wl_global_create: implemented version for 'wl_shm' higher than interface version (2 > 1)
      QWARN  : tst_WaylandCompositor::keyboardKeymaps() qt.waylandcompositor.hardwareintegration: Failed to initialize EGL display. Could not get EglDisplay for window.
      PASS   : tst_WaylandCompositor::keyboardKeymaps()
      wl_global_create: implemented version for 'wl_shm' higher than interface version (2 > 1)
      QWARN  : tst_WaylandCompositor::keyboardLayoutSwitching() qt.waylandcompositor.hardwareintegration: Failed to initialize EGL display. Could not get EglDisplay for window.
      PASS   : tst_WaylandCompositor::keyboardLayoutSwitching()
      wl_global_create: implemented version for 'wl_shm' higher than interface version (2 > 1)
      QWARN  : tst_WaylandCompositor::keyboardGrab() qt.waylandcompositor.hardwareintegration: Failed to initialize EGL display. Could not get EglDisplay for window.
      QWARN  : tst_WaylandCompositor::keyboardGrab() Cannot send key event, no keyboard focus, fix the compositor
      QWARN  : tst_WaylandCompositor::keyboardGrab() Cannot send key event, no keyboard focus, fix the compositor
      PASS   : tst_WaylandCompositor::keyboardGrab()
      wl_global_create: implemented version for 'wl_shm' higher than interface version (2 > 1)
      QWARN  : tst_WaylandCompositor::seatCreation() qt.waylandcompositor.hardwareintegration: Failed to initialize EGL display. Could not get EglDisplay for window.
      PASS   : tst_WaylandCompositor::seatCreation()
      wl_global_create: implemented version for 'wl_shm' higher than interface version (2 > 1)
      QWARN  : tst_WaylandCompositor::seatKeyboardFocus() qt.waylandcompositor.hardwareintegration: Failed to initialize EGL display. Could not get EglDisplay for window.
      PASS   : tst_WaylandCompositor::seatKeyboardFocus()
      wl_global_create: implemented version for 'wl_shm' higher than interface version (2 > 1)
      QWARN  : tst_WaylandCompositor::seatMouseFocus() qt.waylandcompositor.hardwareintegration: Failed to initialize EGL display. Could not get EglDisplay for window.
      PASS   : tst_WaylandCompositor::seatMouseFocus()
      wl_global_create: implemented version for 'wl_shm' higher than interface version (2 > 1)
      QWARN  : tst_WaylandCompositor::inputRegion() qt.waylandcompositor.hardwareintegration: Failed to initialize EGL display. Could not get EglDisplay for window.
      Received signal 11 (SIGSEGV), code 1, for address 0x0000000000000040
               inputRegion function time: 6ms, total time: 107ms=== Stack trace ===
      [New LWP 144172]
      [New LWP 144176]
      [New LWP 144177]warning: Error querying the rpm file `/lib64/libcrypto.so.3': openssl-3.2.1-7.fc37.nosrc.rpm-debuginfo.x86_64
      Missing separate debuginfo for /lib64/libcrypto.so.3.
      The debuginfo package for this file is probably broken.warning: Error querying the rpm file `/lib64/libssl.so.3': openssl-3.2.1-7.fc37.nosrc.rpm-debuginfo.x86_64
      Missing separate debuginfo for /lib64/libssl.so.3.
      The debuginfo package for this file is probably broken.
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib64/libthread_db.so.1".
      0x00007f0a73711e43 in wait4 () from /lib64/libc.so.6Thread 4 (Thread 0x7f0a6d4006c0 (LWP 144177) "QtTest Watchdog"):
      #0  0x00007f0a736a1d09 in __futex_abstimed_wait_common () from /lib64/libc.so.6
      #1  0x00007f0a736a4db2 in pthread_cond_clockwait@GLIBC_2.30 () from /lib64/libc.so.6
      #2  0x00007f0a74fad01d in QTest::WatchDog::run() () from /lib64/libQt6Test.so.6
      #3  0x00007f0a73ef3a05 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
      #4  0x00007f0a736a5607 in start_thread () from /lib64/libc.so.6
      #5  0x00007f0a7372960c in __clone3 () from /lib64/libc.so.6Thread 3 (Thread 0x7f0a6de006c0 (LWP 144176) "QXcbEventQueue"):
      #0  0x00007f0a7371b8bd in poll () from /lib64/libc.so.6
      #1  0x00007f0a73a73072 in _xcb_conn_wait.part.0 () from /lib64/libxcb.so.1
      #2  0x00007f0a73a74c8c in xcb_wait_for_event () from /lib64/libxcb.so.1
      #3  0x00007f0a6ead4500 in QXcbEventQueue::run() () from /lib64/libQt6XcbQpa.so.6
      #4  0x00007f0a73ef3a05 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
      #5  0x00007f0a736a5607 in start_thread () from /lib64/libc.so.6
      #6  0x00007f0a7372960c in __clone3 () from /lib64/libc.so.6Thread 2 (Thread 0x7f0a6e8006c0 (LWP 144172) "QDBusConnection"):
      #0  0x00007f0a7371b8bd in poll () from /lib64/libc.so.6
      #1  0x00007f0a72773c2e in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
      #2  0x00007f0a72718e23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
      #3  0x00007f0a73fd1f83 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
      #4  0x00007f0a73d908cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
      #5  0x00007f0a73e76a37 in QThread::exec() () from /lib64/libQt6Core.so.6
      #6  0x00007f0a742d3acd in QDBusConnectionManager::run() () from /lib64/libQt6DBus.so.6
      #7  0x00007f0a73ef3a05 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
      #8  0x00007f0a736a5607 in start_thread () from /lib64/libc.so.6
      #9  0x00007f0a7372960c in __clone3 () from /lib64/libc.so.6Thread 1 (Thread 0x7f0a71cad300 (LWP 144150) "tst_compositor"):
      #0  0x00007f0a73711e43 in wait4 () from /lib64/libc.so.6
      #1  0x00007f0a74fb23f5 in generateStackTrace() [clone .part.0] [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
      #2  0x00007f0a74fad360 in (anonymous namespace)::FatalSignalHandler::actionHandler(int, siginfo_t*, void*) [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
      #3  <signal handler called>
      #4  0x00007f0a750064f4 in wl_proxy_get_version () from /lib64/libwayland-client.so.0
      #5  0x0000561d6b72b32b in wl_shm_create_pool (wl_shm=0x0, fd=57, size=1024) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/tests/auto/compositor/compositor/wayland-wayland-client-protocol.h:1950
      #6  ShmBuffer::ShmBuffer (this=<optimized out>, size=..., shm=<optimized out>, this=<optimized out>, size=..., shm=<optimized out>) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/tests/auto/compositor/compositor/mockclient.cpp:266
      #7  0x0000561d6b753003 in tst_WaylandCompositor::inputRegion() [clone .isra.0] (this=<optimized out>) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/tests/auto/compositor/compositor/tst_compositor.cpp:863
      #8  0x00007f0a73d95511 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /lib64/libQt6Core.so.6
      #9  0x00007f0a73d96431 in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /lib64/libQt6Core.so.6
      #10 0x00007f0a74fad8e3 in QTest::TestMethods::invokeTestOnData(int) const () from /lib64/libQt6Test.so.6
      #11 0x00007f0a74fb7e62 in QTest::qRun() () from /lib64/libQt6Test.so.6
      #12 0x00007f0a74fb09f7 in QTest::qExec(QObject*, int, char**) () from /lib64/libQt6Test.so.6
      #13 0x0000561d6b725bae in main (argc=<optimized out>, argv=0x7ffd733fb1b8) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/tests/auto/compositor/compositor/tst_compositor.cpp:1799
      [Inferior 1 (process 144150) detached]
      === End of stack trace ===
      CMake Error at tst_compositorWrapperRelWithDebInfo.cmake:18 (message):  /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/tests/auto/compositor/compositor/tst_compositor
        execution failed with exit code Segmentation fault.17/23 Test #22: tst_inputcontext .................   Passed    3.43 sec
      18/23 Test #15: tst_tabletv2 .....................   Passed    3.88 sec
      19/23 Test #19: tst_xdgshell .....................   Passed    4.59 sec
      20/23 Test #13: tst_seat .........................   Passed    5.27 sec
      21/23 Test #11: tst_seatv4 .......................   Passed    5.31 sec
      22/23 Test #20: tst_scaling ......................***Failed    6.06 sec
      ********* Start testing of tst_scaling *********
      Config: Using QtTest library 6.7.1, Qt 6.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.1.1 20240522 (Red Hat 14.1.1-4)), fedora 41
      PASS   : tst_scaling::initTestCase()
      QWARN  : tst_scaling::scaledWindow() The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
      FAIL!  : tst_scaling::scaledWindow() 'surfaceCommitSpy.wait()' returned FALSE. ()
         Loc: [/home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/tests/auto/client/scaling/tst_scaling.cpp(81)]
      PASS   : tst_scaling::roundingPolicy(1.125 - round down)
      PASS   : tst_scaling::roundingPolicy(1.25 - round up)
      PASS   : tst_scaling::roundingPolicy(1.5 - don't round)
      PASS   : tst_scaling::cleanupTestCase()
      Totals: 5 passed, 1 failed, 0 skipped, 0 blacklisted, 5887ms
      ********* Finished testing of tst_scaling *********
      CMake Error at tst_scalingWrapperRelWithDebInfo.cmake:18 (message):  /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/tests/auto/client/scaling/tst_scaling
        execution failed with exit code 1.23/23 Test  #1: tst_client .......................***Failed    7.82 sec
      wl_global_create: implemented version for 'wl_shm' higher than interface version (2 > 1)
      qt.qpa.wayland: "wl-shell" is a deprecated shell extension, prefer using "xdg-shell" if supported by the compositor by setting the environment variable QT_WAYLAND_SHELL_INTEGRATION
      ********* Start testing of tst_WaylandClient *********
      Config: Using QtTest library 6.7.1, Qt 6.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.1.1 20240522 (Red Hat 14.1.1-4)), fedora 41
      PASS   : tst_WaylandClient::initTestCase()
      QWARN  : tst_WaylandClient::createDestroyWindow() qt.qpa.wayland: Failed to initialize EGL display 3001
      PASS   : tst_WaylandClient::createDestroyWindow()
      PASS   : tst_WaylandClient::activeWindowFollowsKeyboardFocus()
      Received signal 11 (SIGSEGV), code 1, for address 0x0000000000000008
               events function time: 375ms, total time: 890ms=== Stack trace ===
      [New LWP 144104]
      [New LWP 144119]
      [New LWP 144182]
      [New LWP 144184]
      [New LWP 144185]warning: Error querying the rpm file `/lib64/libcrypto.so.3': openssl-3.2.1-7.fc37.nosrc.rpm-debuginfo.x86_64
      Missing separate debuginfo for /lib64/libcrypto.so.3.
      The debuginfo package for this file is probably broken.
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib64/libthread_db.so.1".
      0x00007fe1ba311e43 in wait4 () from /lib64/libc.so.6Thread 6 (Thread 0x7fe1afe006c0 (LWP 144185) "QtTest Watchdog"):
      #0  0x00007fe1ba2a1d09 in __futex_abstimed_wait_common () from /lib64/libc.so.6
      #1  0x00007fe1ba2a4db2 in pthread_cond_clockwait@GLIBC_2.30 () from /lib64/libc.so.6
      #2  0x00007fe1bb98401d in QTest::WatchDog::run() () from /lib64/libQt6Test.so.6
      #3  0x00007fe1baaf3a05 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
      #4  0x00007fe1ba2a5607 in start_thread () from /lib64/libc.so.6
      #5  0x00007fe1ba32960c in __clone3 () from /lib64/libc.so.6Thread 5 (Thread 0x7fe1b52006c0 (LWP 144184) "WaylandEventThr"):
      #0  0x00007fe1ba31b8bd in poll () from /lib64/libc.so.6
      #1  0x00007fe1b671cdf5 in poll (__fds=0x7fe1b51ffc40, __nfds=2, __timeout=-1) at /usr/include/bits/poll2.h:44
      #2  QtWaylandClient::EventThread::run (this=0x560bdb18c900) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/src/client/qwaylanddisplay.cpp:182
      #3  0x00007fe1baaf3a05 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
      #4  0x00007fe1ba2a5607 in start_thread () from /lib64/libc.so.6
      #5  0x00007fe1ba32960c in __clone3 () from /lib64/libc.so.6Thread 4 (Thread 0x7fe1b5c006c0 (LWP 144182) "WaylandEventThr"):
      #0  0x00007fe1ba2a1d09 in __futex_abstimed_wait_common () from /lib64/libc.so.6
      #1  0x00007fe1ba2a4739 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
      #2  0x00007fe1baaf84bb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt6Core.so.6
      #3  0x00007fe1b671cd8e in QtWaylandClient::EventThread::waitForReading (this=0x560bdb186650) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/src/client/qwaylanddisplay.cpp:216
      #4  QtWaylandClient::EventThread::run (this=0x560bdb186650) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/src/client/qwaylanddisplay.cpp:177
      #5  0x00007fe1baaf3a05 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
      #6  0x00007fe1ba2a5607 in start_thread () from /lib64/libc.so.6
      #7  0x00007fe1ba32960c in __clone3 () from /lib64/libc.so.6Thread 3 (Thread 0x7fe1b66006c0 (LWP 144119) "QDBusConnection"):
      #0  0x00007fe1ba31b8bd in poll () from /lib64/libc.so.6
      #1  0x00007fe1ba773c2e in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
      #2  0x00007fe1ba718e23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
      #3  0x00007fe1babd1f83 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
      #4  0x00007fe1ba9908cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
      #5  0x00007fe1baa76a37 in QThread::exec() () from /lib64/libQt6Core.so.6
      #6  0x00007fe1ba187acd in QDBusConnectionManager::run() () from /lib64/libQt6DBus.so.6
      #7  0x00007fe1baaf3a05 in QThreadPrivate::start(void*) () from /lib64/libQt6Core.so.6
      #8  0x00007fe1ba2a5607 in start_thread () from /lib64/libc.so.6
      #9  0x00007fe1ba32960c in __clone3 () from /lib64/libc.so.6Thread 2 (Thread 0x7fe1b70006c0 (LWP 144104) "tst_client"):
      #0  0x00007fe1ba2f1c93 in clock_nanosleep@GLIBC_2.2.5 () from /lib64/libc.so.6
      #1  0x00007fe1ba2fdcc7 in nanosleep () from /lib64/libc.so.6
      #2  0x0000560bda7c2895 in std::this_thread::sleep_for<long, std::ratio<1l, 1000l> > (__rtime=...) at /usr/include/c++/14/bits/this_thread_sleep.h:80
      #3  operator() (__closure=<optimized out>) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/tests/auto/client/shared/corecompositor.cpp:17
      #4  std::__invoke_impl<void, MockCompositor::CoreCompositor::CoreCompositor(CompositorType, int)::<lambda()> > (__f=...) at /usr/include/c++/14/bits/invoke.h:61
      #5  std::__invoke<MockCompositor::CoreCompositor::CoreCompositor(CompositorType, int)::<lambda()> > (__fn=...) at /usr/include/c++/14/bits/invoke.h:96
      #6  std::thread::_Invoker<std::tuple<MockCompositor::CoreCompositor::CoreCompositor(CompositorType, int)::<lambda()> > >::_M_invoke<0> (this=<optimized out>) at /usr/include/c++/14/bits/std_thread.h:301
      #7  std::thread::_Invoker<std::tuple<MockCompositor::CoreCompositor::CoreCompositor(CompositorType, int)::<lambda()> > >::operator() (this=<optimized out>) at /usr/include/c++/14/bits/std_thread.h:308
      #8  std::thread::_State_impl<std::thread::_Invoker<std::tuple<MockCompositor::CoreCompositor::CoreCompositor(CompositorType, int)::<lambda()> > > >::_M_run(void) (this=0x560bdb17ff00) at /usr/include/c++/14/bits/std_thread.h:253
      #9  0x00007fe1ba4e7524 in execute_native_thread_routine () from /lib64/libstdc++.so.6
      #10 0x00007fe1ba2a5607 in start_thread () from /lib64/libc.so.6
      #11 0x00007fe1ba32960c in __clone3 () from /lib64/libc.so.6Thread 1 (Thread 0x7fe1b96ad900 (LWP 144066) "tst_client"):
      #0  0x00007fe1ba311e43 in wait4 () from /lib64/libc.so.6
      #1  0x00007fe1bb9893f5 in generateStackTrace() [clone .part.0] [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
      #2  0x00007fe1bb984360 in (anonymous namespace)::FatalSignalHandler::actionHandler(int, siginfo_t*, void*) [clone .lto_priv.0] () from /lib64/libQt6Test.so.6
      #3  <signal handler called>
      #4  0x00007fe1b6764d71 in QtWayland::wl_shm::object (this=<optimized out>, this=<optimized out>) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/src/client/qwayland-wayland.h:176
      #5  QtWaylandClient::QWaylandCursorTheme::create (shm=0x0, size=24, themeName=...) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/src/client/qwaylandcursor.cpp:28
      #6  0x00007fe1b672f8a7 in QtWaylandClient::QWaylandDisplay::loadCursorTheme (this=0x560bdb18ef10, name=..., pixelSize=24) at /usr/include/qt6/QtCore/qscopedpointer.h:105
      #7  0x00007fe1b67359d0 in QtWaylandClient::QWaylandInputDevice::Pointer::updateCursorTheme (this=this@entry=0x560bdb19b530) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/src/client/qwaylandinputdevice.cpp:261
      #8  0x00007fe1b6735cb4 in QtWaylandClient::QWaylandInputDevice::Pointer::updateCursor (this=0x560bdb19b530) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/src/client/qwaylandinputdevice.cpp:311
      #9  0x00007fe1b673f705 in QtWaylandClient::QWaylandInputDevice::Pointer::pointer_enter (this=0x560bdb19b530, serial=8, surface=<optimized out>, sx=<optimized out>, sy=<optimized out>) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/src/client/qwaylandinputdevice.cpp:698
      #10 0x00007fe1bae38056 in ffi_call_unix64 () from /lib64/libffi.so.8
      #11 0x00007fe1bae3468d in ffi_call_int.lto_priv () from /lib64/libffi.so.8
      #12 0x00007fe1bae374de in ffi_call () from /lib64/libffi.so.8
      #13 0x00007fe1bb92d0ae in wl_closure_invoke.constprop () from /lib64/libwayland-client.so.0
      #14 0x00007fe1bb92d8f9 in dispatch_event () from /lib64/libwayland-client.so.0
      #15 0x00007fe1bb92dcf3 in wl_display_dispatch_queue_pending () from /lib64/libwayland-client.so.0
      #16 0x00007fe1b671cc52 in QtWaylandClient::QWaylandDisplay::flushRequests (this=<optimized out>) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/src/client/qwaylanddisplay.cpp:227
      #17 0x00007fe1ba9e3e74 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt6Core.so.6
      #18 0x00007fe1babd1fc5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6
      #19 0x00007fe1ba985248 in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>, QDeadlineTimer) () from /lib64/libQt6Core.so.6
      #20 0x00007fe1ba9e7a02 in QTest::qWait(std::chrono::duration<long, std::ratio<1l, 1000l> >) () from /lib64/libQt6Core.so.6
      #21 0x0000560bda7b6574 in tst_WaylandClient::events (this=0x7ffe4c07ec50) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/tests/auto/client/client/tst_client.cpp:265
      #22 0x00007fe1ba995511 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /lib64/libQt6Core.so.6
      #23 0x00007fe1ba996431 in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /lib64/libQt6Core.so.6
      #24 0x00007fe1bb9848e3 in QTest::TestMethods::invokeTestOnData(int) const () from /lib64/libQt6Test.so.6
      #25 0x00007fe1bb98ee62 in QTest::qRun() () from /lib64/libQt6Test.so.6
      #26 0x00007fe1bb9879f7 in QTest::qExec(QObject*, int, char**) () from /lib64/libQt6Test.so.6
      #27 0x0000560bda7b2905 in main (argc=<optimized out>, argv=0x7ffe4c07ee28) at /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/tests/auto/client/client/tst_client.cpp:609
      [Inferior 1 (process 144066) detached]
      === End of stack trace ===
      CMake Error at tst_clientWrapperRelWithDebInfo.cmake:18 (message):  /home/tkloczko/rpmbuild/BUILD/qtwayland-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/tests/auto/client/client/tst_client
        execution failed with exit code Segmentation fault.
      87% tests passed, 3 tests failed out of 23Label Time Summary:
      tests/auto/client/client/tst_client                                 =   7.82 sec*proc (1 test)
      tests/auto/client/clientextension/tst_clientextension               =   0.53 sec*proc (1 test)
      tests/auto/client/cursor/tst_wayland_cursor                         =   0.46 sec*proc (1 test)
      tests/auto/client/datadevicev1/tst_datadevicev1                     =   2.30 sec*proc (1 test)
      tests/auto/client/fullscreenshellv1/tst_client_fullscreenshellv1    =   0.26 sec*proc (1 test)
      tests/auto/client/inputcontext/tst_inputcontext                     =   3.43 sec*proc (1 test)
      tests/auto/client/iviapplication/tst_client_iviapplication          =   0.48 sec*proc (1 test)
      tests/auto/client/multithreaded/tst_multithreaded                   =   0.28 sec*proc (1 test)
      tests/auto/client/nooutput/tst_nooutput                             =   0.71 sec*proc (1 test)
      tests/auto/client/output/tst_output                                 =   2.21 sec*proc (1 test)
      tests/auto/client/primaryselectionv1/tst_primaryselectionv1         =   1.84 sec*proc (1 test)
      tests/auto/client/reconnect/tst_wl_reconnect                        =   1.72 sec*proc (1 test)
      tests/auto/client/scaling/tst_scaling                               =   6.06 sec*proc (1 test)
      tests/auto/client/seat/tst_seat                                     =   5.27 sec*proc (1 test)
      tests/auto/client/seatv4/tst_seatv4                                 =   5.31 sec*proc (1 test)
      tests/auto/client/seatv7/tst_seatv7                                 =   0.99 sec*proc (1 test)
      tests/auto/client/surface/tst_surface                               =   2.88 sec*proc (1 test)
      tests/auto/client/tabletv2/tst_tabletv2                             =   3.88 sec*proc (1 test)
      tests/auto/client/wl_connect/tst_wlconnect                          =   0.04 sec*proc (1 test)
      tests/auto/client/xdgdecorationv1/tst_xdgdecorationv1               =   1.03 sec*proc (1 test)
      tests/auto/client/xdgoutput/tst_xdgoutput                           =   1.37 sec*proc (1 test)
      tests/auto/client/xdgshell/tst_xdgshell                             =   4.59 sec*proc (1 test)
      tests/auto/compositor/compositor/tst_compositor                     =   3.12 sec*proc (1 test)Total Test time (real) =   7.83 secThe following tests FAILED:
                1 - tst_client (Failed)
               20 - tst_scaling (Failed)
               23 - tst_compositor (Failed)
      Errors while running CTest 

      Any hints why it happens?

      Attachments

        1. LastTest-wayland-1.22.0.log.xz
          5 kB
          Ionen Wolkens
        2. LastTest-wayland-1.23.0.log.xz
          4 kB
          Ionen Wolkens

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              kloczek Tomasz Kloczko
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes