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

Qt compiled with gcc 13 and -march=bdver4/-mtune=bdver4 causes segfaults in tests, downstream applications

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8.1, 6.9.0 FF
    • 6.7.2
    • None
    • Linux/Wayland, Linux/X11
    • 54c24313f (dev), ea5bff8fe (6.8), 5099c2d83 (6.7), 6543f5053 (dev), 30d40a889 (6.8)

    Description

      Filed in several components as tests fail across the board.

       

      A number of Gentoo KDE users discovered that upgrading to Plasma 6 and SDDM 21, with the latest released version of Qt (6.7.2-r4) resulted in segfaults within several KDE libs and executables, eventually traced to the contents of the qtbase package in Gentoo.

      Eventually it was discovered that these users were compiling with -march=native -mtune=native, where native resolved to bdver4. Compiling with -march=x86-64-v3 produces the same segfaults, but -march=x86-64-v2 produces working libraries.

       

      Specimen /var/log/syslog from a direct launch of dbus-run-session startplasma-wayland:

      Code:
      Sep  4 19:20:36 methamphetamine dbus-daemon[3227]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
      Sep  4 19:20:38 methamphetamine kernel: QQuickPixmapRea[17045]: segfault at 0 ip 0000000000000000 sp 00007fffb4ff8538 error 14 in ksplashqml[555555554000+5000] likely on CPU 1 (core 1, socket 0)
      Sep  4 19:20:38 methamphetamine kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.
      Sep  4 19:20:39 methamphetamine libddcutil[17144]: Initializing.  ddcutil version 1.3.0
      Sep  4 19:20:39 methamphetamine libddcutil[17144]: Library initialization complete.
       
      [...omitted successful startup of rtkit, bluetoothd, UPower, UDisks, etc...]
       
      Sep  4 19:20:39 methamphetamine dbus-daemon[3227]: [system] Successfully activated service 'org.kde.powerdevil.chargethresholdhelper'
      Sep  4 19:20:40 methamphetamine kernel: xwaylandvideobr[17188]: segfault at 0 ip 0000000000000000 sp 00007fffffffc998 error 14 in xwaylandvideobridge[555555554000+7000] likely on CPU 0 (core 0, socket 0)
      Sep  4 19:20:40 methamphetamine kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.
      Sep  4 19:20:40 methamphetamine dbus-daemon[3227]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.43' (uid=1000 pid=17144 comm="/usr/libexec/org_kde_powerdevil") (using servicehelper)
      Sep  4 19:20:40 methamphetamine org.kde.powerdevil.backlighthelper: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information.
      Sep  4 19:20:40 methamphetamine dbus-daemon[3227]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
      Sep  4 12:20:40 methamphetamine rtkit-daemon[16962]: Successfully made thread 17176 of process 17176 owned by '1000' high priority at nice level -11.
      Sep  4 19:20:40 methamphetamine kernel: kwin_wayland[16924]: segfault at 0 ip 0000000000000000 sp 00007ffc62e94848 error 14 in kwin_wayland[5555f8c82000+38000] likely on CPU 0 (core 0, socket 0)
      Sep  4 19:20:40 methamphetamine kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.
      Sep  4 19:20:43 methamphetamine kernel: plasmashell[17626]: segfault at 0 ip 0000000000000000 sp 00007fffffffbfe8 error 14 in plasmashell[555555554000+23000] likely on CPU 1 (core 1, socket 0)
      Sep  4 19:20:43 methamphetamine kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.
      Sep  4 19:20:43 methamphetamine GalaxyBudsClient: [X11Platform] SMLib/ICELib reported a new error: Could not open network socket
      Sep  4 19:20:49 methamphetamine kernel: kwin_wayland[17595]: segfault at 0 ip 0000000000000000 sp 00007ffc196350e8 error 14 in kwin_wayland[5587bd422000+38000] likely on CPU 1 (core 1, socket 0)
      Sep  4 19:20:49 methamphetamine kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.
      Sep  4 19:20:51 methamphetamine pulseaudio[17166]: [pulseaudio] module-x11-xsmp.c: Failed to open connection to session manager: Could not open network socket
      Sep  4 19:20:51 methamphetamine pulseaudio[17166]: [pulseaudio] module.c: Failed to load module "module-x11-xsmp" (argument: "display=:0 xauthority=/run/user/1000/xauth_ulbfxM session_manager=local/methamphetamine:@/tmp/.ICE-unix/17111,unix/methamphetamine:/tmp/.ICE-unix/17111"): initialization failed.
      Sep  4 19:20:53 methamphetamine bluetoothd[3826]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
      Sep  4 19:21:31 methamphetamine kernel: sysrq: Keyboard mode set to system default
      Sep  4 19:22:20 methamphetamine root: ACPI event unhandled: button/up UP 00000080 00000000 K
      Sep  4 19:24:04 methamphetamine kernel: kscreenlocker_g[19091]: segfault at 0 ip 0000000000000000 sp 00007ffcd30a8138 error 14 in kscreenlocker_greet[5631bc19a000+d000] likely on CPU 1 (core 1, socket 0)
      Sep  4 19:24:04 methamphetamine kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.

      Sample /var/log/syslog from sddm start on bootup:

      Code:
      Sep  4 19:09:54 methamphetamine kernel: show_signal_msg: 50 callbacks suppressed
      Sep  4 19:09:54 methamphetamine kernel: QQuickPixmapRea[5615]: segfault at 0 ip 0000000000000000 sp 00007f2736b615f8 error 14 in sddm-greeter-qt6[5648f00bd000+c000] likely on CPU 0 (core 0, socket 0)
      Sep  4 19:09:54 methamphetamine kernel: Code: Unable to access opcode bytes at 0xffffffffffffffd6.

       

      Full backtrace, running plasmashell:

      Starting program: /usr/bin/plasmashell 
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/usr/lib64/libthread_db.so.1".
      [New Thread 0x7fffef1ff6c0 (LWP 28218)]
      [Detaching after fork from child process 28219]
      [New Thread 0x7fffee9fe6c0 (LWP 28220)]
      [New Thread 0x7fffec9ff6c0 (LWP 28239)]
      [New Thread 0x7fffd85ff6c0 (LWP 28240)]
      [New Thread 0x7fffd7dfe6c0 (LWP 28241)]
      [New Thread 0x7fffd75fd6c0 (LWP 28242)]
      [New Thread 0x7fffd69fc6c0 (LWP 28243)]
      [New Thread 0x7fffd61fb6c0 (LWP 28244)]
      [New Thread 0x7fffd59fa6c0 (LWP 28245)]
      [New Thread 0x7fffd51f96c0 (LWP 28246)]
      [New Thread 0x7fffd49f86c0 (LWP 28247)]
      [New Thread 0x7fffb7fff6c0 (LWP 28248)]
      [New Thread 0x7fffb77fe6c0 (LWP 28249)]
      [New Thread 0x7fffb6ffd6c0 (LWP 28250)]
      [Thread 0x7fffb6ffd6c0 (LWP 28250) exited]
      [Thread 0x7fffb77fe6c0 (LWP 28249) exited]
      [Thread 0x7fffb7fff6c0 (LWP 28248) exited]
      [New Thread 0x7fffb7fff6c0 (LWP 28257)]
      [New Thread 0x7fffb77fe6c0 (LWP 28258)]
      [New Thread 0x7fffb6ffd6c0 (LWP 28259)]
      [Thread 0x7fffb6ffd6c0 (LWP 28259) exited]
      [Thread 0x7fffb77fe6c0 (LWP 28258) exited]
      [Thread 0x7fffb7fff6c0 (LWP 28257) exited]
      [New Thread 0x7fffb7fff6c0 (LWP 28260)]

      Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault.
      0x0000000000000000 in ?? ()
      #0  0x0000000000000000 in ??? ()
      #1  0x00007ffff797ceac in KSvg::FrameSvgPrivate::generateFrameBackground (this=this@entry=0x555555e56440, frame=...) at /var/tmp/portage/kde-frameworks/ksvg-6.5.0/work/ksvg-6.5.0/src/ksvg/framesvg.cpp:619
      #2  0x00007ffff797d680 in KSvg::FrameSvgPrivate::generateBackground (this=this@entry=0x555555e56440, frame=...) at /var/tmp/portage/kde-frameworks/ksvg-6.5.0/work/ksvg-6.5.0/src/ksvg/framesvg.cpp:547
      #3  0x00007ffff797c6cd in KSvg::FrameSvgPrivate::generateBackground (frame=..., this=0x555555e56440) at /var/tmp/portage/kde-frameworks/ksvg-6.5.0/work/ksvg-6.5.0/src/ksvg/framesvg.cpp:486
      #4  KSvg::FrameSvgPrivate::alphaMask (this=0x555555e56440) at /var/tmp/portage/kde-frameworks/ksvg-6.5.0/work/ksvg-6.5.0/src/ksvg/framesvg.cpp:486
      #5  0x00007ffff797ec45 in KSvg::FrameSvg::mask (this=0x555555e2d1d0) at /var/tmp/portage/kde-frameworks/ksvg-6.5.0/work/ksvg-6.5.0/src/ksvg/framesvg.cpp:342
      #6  0x00007fffb5660b2f in KSvg::FrameSvgItem::mask (this=0x555555c58670) at /var/tmp/portage/kde-frameworks/ksvg-6.5.0/work/ksvg-6.5.0/src/declarativeimports/framesvgitem.cpp:500
      #7  KSvg::FrameSvgItem::qt_static_metacall (_o=0x555555c58670, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-frameworks/ksvg-6.5.0/work/ksvg-6.5.0_build/src/declarativeimports/corebindingsplugin_autogen/include/moc_framesvgitem.cpp:486
      #8  0x00007fffb566247f in KSvg::FrameSvgItem::qt_metacall (this=0x555555c58670, _c=QMetaObject::ReadProperty, _id=9, _a=0x7fffffffc920) at /var/tmp/portage/kde-frameworks/ksvg-6.5.0/work/ksvg-6.5.0_build/src/declarativeimports/corebindingsplugin_autogen/include/moc_framesvgitem.cpp:538
      #9  0x00007ffff54e852f in QMetaProperty::read (this=this@entry=0x7fffffffca20, object=object@entry=0x555555c58670) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qmetaobject.cpp:3734
      #10 0x00007ffff546f398 in QObject::property (this=0x555555c58670, name=<optimized out>, name@entry=0x7ffff7d0cc5a "mask") at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:4316
      #11 0x00007ffff7ce964a in PlasmaQuick::DialogBackground::mask (this=<optimized out>) at /var/tmp/portage/kde-plasma/libplasma-6.1.4/work/libplasma-6.1.4/src/plasmaquick/private/dialogbackground_p.cpp:60
      #12 0x00007ffff7cc6856 in PlasmaQuick::DialogPrivate::updateTheme (this=0x555555e2a5a0) at /var/tmp/portage/kde-plasma/libplasma-6.1.4/work/libplasma-6.1.4/src/plasmaquick/dialog.cpp:245
      #13 0x00007ffff637e122 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/lib64/libQt6Qml.so.6
      #14 0x00007ffff641ab98 in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt6Qml.so.6
      #15 0x00007ffff64476eb in QQmlComponentPrivate::completeCreate() () at /usr/lib64/libQt6Qml.so.6
      #16 0x00007ffff7ce1332 in PlasmaQuick::SharedQmlEngine::completeInitialization (this=0x7fffe0006240, initialProperties=<optimized out>) at /var/tmp/portage/kde-plasma/libplasma-6.1.4/work/libplasma-6.1.4/src/plasmaquick/sharedqmlengine.cpp:239
      #17 0x00007ffff7ce1449 in PlasmaQuick::SharedQmlEnginePrivate::scheduleExecutionEnd (this=0x555555ead2a0) at /usr/include/qt6/QtCore/qhash.h:836
      #18 0x00007ffff7ce3680 in PlasmaQuick::QuickViewSharedEngine::setSource (url=..., this=0x555555dbeec0) at /var/tmp/portage/kde-plasma/libplasma-6.1.4/work/libplasma-6.1.4/src/plasmaquick/quickviewsharedengine.cpp:214
      #19 PlasmaQuick::QuickViewSharedEngine::setSource (this=this@entry=0x555555dbeec0, url=...) at /var/tmp/portage/kde-plasma/libplasma-6.1.4/work/libplasma-6.1.4/src/plasmaquick/quickviewsharedengine.cpp:208
      #20 0x000055555559c8cc in DesktopView::DesktopView (this=this@entry=0x555555dbeec0, corona=corona@entry=0x555555795c10, targetScreen=targetScreen@entry=0x5555556b49a0) at /var/tmp/portage/kde-plasma/plasma-workspace-6.1.4-r1/work/plasma-workspace-6.1.4/shell/desktopview.cpp:65
      #21 0x00005555555badd9 in ShellCorona::addOutput (this=0x555555795c10, screen=0x5555556b49a0) at /var/tmp/portage/kde-plasma/plasma-workspace-6.1.4-r1/work/plasma-workspace-6.1.4/shell/shellcorona.cpp:1405
      #22 0x00005555555cb02a in ShellCorona::load (this=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-6.1.4-r1/work/plasma-workspace-6.1.4/shell/shellcorona.cpp:842
      #23 0x00007ffff54ca9ed in QtPrivate::QSlotObjectBase::call (a=0x7fffffffd2a0, r=0x555555795c10, this=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobjectdefs_impl.h:469
      #24 doActivate<false> (sender=0x555555aeffe0, signal_index=4, argv=0x7fffffffd2a0) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:4086
      #25 0x00007ffff5489fa7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7ffff710daa0 <KActivities::Consumer::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffd2a0) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:4146
      #26 0x00007ffff70df955 in KActivities::Consumer::serviceStatusChanged (this=<optimized out>, _t1=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-activities-6.1.4/work/plasma-activities-6.1.4_build/src/lib/PlasmaActivities_autogen/include/moc_consumer.cpp:258
      #27 0x00007ffff54ca9ed in QtPrivate::QSlotObjectBase::call (a=0x7fffffffd440, r=0x555555aeffe0, this=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobjectdefs_impl.h:469
      #28 doActivate<false> (sender=0x555555aff9c0, signal_index=11, argv=0x7fffffffd440) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:4086
      #29 0x00007ffff5489fa7 in QMetaObject::activate (sender=sender@entry=0x555555aff9c0, m=m@entry=0x7ffff710ebc0 <KActivities::ActivitiesCache::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x7fffffffd440) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:4146
      #30 0x00007ffff70f43dc in KActivities::ActivitiesCache::serviceStatusChanged (_t1=KActivities::Consumer::Running, this=0x555555aff9c0) at /var/tmp/portage/kde-plasma/plasma-activities-6.1.4/work/plasma-activities-6.1.4_build/src/lib/PlasmaActivities_autogen/include/moc_activitiescache_p.cpp:481
      #31 KActivities::ActivitiesCache::setAllActivities (this=0x555555aff9c0, _activities=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-activities-6.1.4/work/plasma-activities-6.1.4/src/lib/activitiescache_p.cpp:270
      #32 0x00007ffff70f8d82 in KActivities::ActivitiesCache::passInfoFromReply<QList<ActivityInfo>, void (KActivities::ActivitiesCache::)(QList<ActivityInfo> const&)> (this=0x555555aff9c0, watcher=0x555555a6d5d0, f=(void (KActivities::ActivitiesCache::)(KActivities::ActivitiesCache * const, const QList<ActivityInfo> &)) 0x7ffff70f3e60 <KActivities::ActivitiesCache::setAllActivities(QList<ActivityInfo> const&)>) at /var/tmp/portage/kde-plasma/plasma-activities-6.1.4/work/plasma-activities-6.1.4/src/lib/activitiescache_p.cpp:180
      #33 0x00007ffff54cacf3 in doActivate<false> (sender=0x555555a6d5d0, signal_index=3, argv=0x7fffffffd620) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:4098
      #34 0x00007ffff5489fa7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7ffff59fa540 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffffd620) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:4146
      #35 0x00007ffff5963623 in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/src/dbus/DBus_autogen/include/moc_qdbuspendingcall.cpp:160
      #36 0x00007ffff546dceb in QObject::event (this=0x555555a6d5d0, e=0x555555b055a0) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:1452
      #37 0x00007ffff76f2de5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555555a6d5d0, e=0x555555b055a0) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:3287
      #38 0x00007ffff54e20e0 in QCoreApplication::notifyInternal2 (receiver=0x555555a6d5d0, event=0x555555b055a0) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1142
      #39 0x00007ffff54e217d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1583
      #40 0x00007ffff550753e in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x555555649ba0) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1940
      #41 0x00007ffff55077a4 in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1797
      #42 0x00007ffff52c2fdf in postEventSourceDispatch (s=0x5555556aea10) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:244
      #43 0x00007ffff401d382 in ??? () at /usr/lib64/libglib-2.0.so.0
      #44 0x00007ffff4020407 in ??? () at /usr/lib64/libglib-2.0.so.0
      #45 0x00007ffff40209c8 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
      #46 0x00007ffff52c16b0 in QEventDispatcherGlib::processEvents (this=0x5555556c3050, flags=...) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:394
      #47 0x00007ffff550c262 in QEventLoop::exec (this=this@entry=0x7fffffffda10, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/global/qflags.h:34
      #48 0x00007ffff550c417 in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/corelib/global/qflags.h:74
      #49 0x00007ffff5b60720 in QGuiApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/gui/kernel/qguiapplication.cpp:1926
      #50 0x00007ffff766abf9 in QApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:2555
      #51 0x0000555555580d1a in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-6.1.4-r1/work/plasma-workspace-6.1.4/shell/main.cpp:188

       

      Valgrind output running plasmashell:

       

      {{==1135== Memcheck, a memory error detector
      ==1135== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
      ==1135== Using Valgrind-3.23.1.GIT and LibVEX; rerun with -h for copyright info
      ==1135== Command: plasmashell
      ==1135== 
      Detected locale "en_US.iso88591" with character encoding "ISO-8859-1", which is not UTF-8.
      Qt depends on a UTF-8 locale, and has switched to "en_US.UTF-8" instead.
      If this causes problems, reconfigure your locale. See the locale(1) manual
      for more information.
      ==1135== Syscall param writev(vector[0]) points to uninitialised byte(s)
      ==1135==    at 0x76A59DF: writev (in /usr/lib64/libc.so.6)
      ==1135==    by 0x4BF3702: ??? (in /usr/lib64/libxcb.so.1.1.0)
      ==1135==    by 0x4BF3F70: ??? (in /usr/lib64/libxcb.so.1.1.0)
      ==1135==    by 0x4BF5574: ??? (in /usr/lib64/libxcb.so.1.1.0)
      ==1135==    by 0x4BF55EE: xcb_wait_for_reply (in /usr/lib64/libxcb.so.1.1.0)
      ==1135==    by 0xD8BA5D2: QXcbConnection::initializeScreensFromMonitor(xcb_screen_iterator_t*, int, QXcbScreen**, bool) (qxcbconnection_screens.cpp:501)
      ==1135==    by 0xD8BBCD7: QXcbConnection::initializeScreens(bool) (qxcbconnection_screens.cpp:317)
      ==1135==    by 0xD8B3018: QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) (qxcbconnection.cpp:72)
      ==1135==    by 0xD8D600D: QXcbIntegration::QXcbIntegration(QList<QString> const&, int&, char**) (qxcbintegration.cpp:170)
      ==1135==    by 0x48584E7: QXcbIntegrationPlugin::create(QString const&, QList<QString> const&, int&, char**) (qxcbmain.cpp:22)
      ==1135==    by 0x66F46B7: init_platform(QString const&, QString const&, QString const&, int&, char**) (qguiapplication.cpp:1249)
      ==1135==    by 0x66F760F: QGuiApplicationPrivate::createPlatformIntegration() (qguiapplication.cpp:1533)
      ==1135==  Address 0xcf5c115 is 4,533 bytes inside a block of size 21,176 alloc'd
      ==1135==    at 0x4847B6B: calloc (vg_replace_malloc.c:1675)
      ==1135==    by 0x4BF30DF: xcb_connect_to_fd (in /usr/lib64/libxcb.so.1.1.0)
      ==1135==    by 0x4BF7BC8: xcb_connect_to_display_with_auth_info (in /usr/lib64/libxcb.so.1.1.0)
      ==1135==    by 0x8218699: _XConnectXCB (in /usr/lib64/libX11.so.6.4.0)
      ==1135==    by 0x8209288: XOpenDisplay (in /usr/lib64/libX11.so.6.4.0)
      ==1135==    by 0xD8B7D92: QXcbBasicConnection::QXcbBasicConnection(char const*) (qxcbconnection_basic.cpp:77)
      ==1135==    by 0xD8B2E13: QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) (qxcbconnection.cpp:62)
      ==1135==    by 0xD8D600D: QXcbIntegration::QXcbIntegration(QList<QString> const&, int&, char**) (qxcbintegration.cpp:170)
      ==1135==    by 0x48584E7: QXcbIntegrationPlugin::create(QString const&, QList<QString> const&, int&, char**) (qxcbmain.cpp:22)
      ==1135==    by 0x66F46B7: init_platform(QString const&, QString const&, QString const&, int&, char**) (qguiapplication.cpp:1249)
      ==1135==    by 0x66F760F: QGuiApplicationPrivate::createPlatformIntegration() (qguiapplication.cpp:1533)
      ==1135==    by 0x66F81E7: QGuiApplicationPrivate::createEventDispatcher() (qguiapplication.cpp:1552)
      ==1135==  Uninitialised value was created by a stack allocation
      ==1135==    at 0xD8A2510: ??? (in /usr/lib64/libQt6XcbQpa.so.6.7.2)
      ==1135== 
      vex amd64->IR: unhandled instruction bytes: 0x8F 0xE8 0x70 0xA2 0xC3 0x0 0xC5 0xFB 0x11 0x83
      vex amd64->IR:   REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
      vex amd64->IR:   VEX=0 VEX.L=0 VEX.nVVVV=0x1 ESC=0F
      vex amd64->IR:   PFX.66=0 PFX.F2=0 PFX.F3=0}}

      [...truncated...]

       

      Complete list of failed tests when building and running tests:

       

      The following tests FAILED:
      74 - tst_qsettings (Failed)
      86 - tst_qsortfilterproxymodel (Failed)
      95 - tst_qdatastream (Failed)
      97 - tst_qtextstream (Failed)
      219 - tst_qbackingstore (Failed)
      233 - tst_qscreen (Failed)
      235 - tst_qwindow (Failed)
      238 - tst_qrasterwindow (Failed)
      243 - tst_qguivariant (Failed)
      247 - tst_qmouseevent_modal (Failed)
      248 - tst_qtouchevent (Failed)
      250 - tst_qpixmap (Failed)
      251 - tst_qimage (Failed)
      253 - tst_qmovie (Failed)
      254 - tst_qpicture (Failed)
      256 - tst_qicon (Failed)
      260 - tst_qbrush (Failed)
      272 - tst_qstatictext (Failed)
      276 - tst_qtextdocumentfragment (Failed)
      277 - tst_qtextdocumentlayout (Failed)
      279 - tst_qtextimagehandler (Failed)
      282 - tst_qtexttable (Failed)
      284 - tst_qtextdocument (Failed)
      292 - tst_qstandarditem (Failed)
      294 - tst_qfilesystemmodel (Failed)
      296 - tst_qrhi (Failed)
      324 - tst_qabstractprintdialog (Failed)
      340 - tst_qsqlrelationaldelegate (Failed)
      341 - tst_qcolordialog (Failed)
      342 - tst_qdialog (Failed)
      344 - tst_qinputdialog (Failed)
      345 - tst_qprogressdialog (Failed)
      346 - tst_qwizard (Failed)
      347 - tst_qmessagebox (Failed)
      348 - tst_qgraphicseffect (Failed)
      349 - tst_qpixmapfilter (Failed)
      350 - tst_qgraphicseffectsource (Failed)
      351 - tst_qgraphicsgridlayout (Failed)
      353 - tst_qgraphicslayout (Failed)
      355 - tst_qgraphicslinearlayout (Failed)
      357 - tst_qgraphicspixmapitem (Failed)
      360 - tst_qgraphicsproxywidget (Failed)
      361 - tst_qgraphicswidget (Failed)
      362 - tst_qabstractitemview (Failed)
      363 - tst_qdatawidgetmapper (Failed)
      365 - tst_qheaderview (Failed)
      366 - tst_qitemdelegate (Failed)
      368 - tst_qitemview (Failed)
      369 - tst_qlistview (Failed)
      370 - tst_qtableview (Failed)
      371 - tst_qtablewidget (Failed)
      372 - tst_qtreeview (Failed)
      373 - tst_qtreewidget (Failed)
      375 - tst_qboxlayout (Failed)
      376 - tst_qformlayout (Failed)
      377 - tst_qgridlayout (Failed)
      378 - tst_qlayout (Failed)
      379 - tst_qstackedlayout (Failed)
      380 - tst_qtooltip (Failed)
      381 - tst_qwidget_window (Failed)
      383 - tst_qwidgetrepaintmanager (Failed)
      385 - tst_qwindowcontainer (Failed)
      387 - tst_qgesturerecognizer (Failed)
      388 - tst_qwidget (Failed)
      389 - tst_qshortcut (Failed)
      391 - tst_qaction (Failed)
      393 - tst_qwidgetaction (Failed)
      395 - tst_qcompleter (Failed)
      396 - tst_qscroller (Failed)
      397 - tst_qsystemtrayicon (Failed)
      398 - tst_qabstractbutton (Failed)
      399 - tst_qabstractscrollarea (Failed)
      401 - tst_qbuttongroup (Failed)
      402 - tst_qcalendarwidget (Failed)
      404 - tst_qcommandlinkbutton (Failed)
      405 - tst_qdatetimeedit (Failed)
      407 - tst_qdialogbuttonbox (Failed)
      408 - tst_qdockwidget (Failed)
      409 - tst_qdoublespinbox (Failed)
      411 - tst_qframe (Failed)
      412 - tst_qgroupbox (Failed)
      413 - tst_qlabel (Failed)
      415 - tst_qmdisubwindow (Failed)
      416 - tst_qplaintextedit (Failed)
      417 - tst_qprogressbar (Failed)
      418 - tst_qpushbutton (Failed)
      419 - tst_qradiobutton (Failed)
      420 - tst_qscrollarea (Failed)
      421 - tst_qscrollbar (Failed)
      422 - tst_qsizegrip (Failed)
      424 - tst_qspinbox (Failed)
      425 - tst_qsplashscreen (Failed)
      426 - tst_qsplitter (Failed)
      427 - tst_qstackedwidget (Failed)
      428 - tst_qstatusbar (Failed)
      429 - tst_qtabbar (Failed)
      430 - tst_qtabwidget (Failed)
      431 - tst_qtextbrowser (Failed)
      433 - tst_qtoolbutton (Failed)
      435 - tst_qmenu (Failed)
      436 - tst_qmdiarea (Failed)
      437 - tst_qmenubar (Failed)
      440 - tst_gestures (Failed)
      441 - tst_languagechange (Failed)
      442 - tst_qfocusevent (Failed)
      446 - tst_qaccessibility (Failed)

      Complete (large) test log is here: http://0x0.st/X3hf.log

       

      Sample test output of what we suspect are the most relevant tests:

       

      Code:
      1. gdb --args ./tst_qcolordialog
        GNU gdb (Gentoo 14.2 vanilla) 14.2
        Copyright (C) 2023 Free Software Foundation, Inc.
        License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
        This is free software: you are free to change and redistribute it.
        There is NO WARRANTY, to the extent permitted by law.
        Type "show copying" and "show warranty" for details.
        This GDB was configured as "x86_64-pc-linux-gnu".
        Type "show configuration" for configuration details.
        For bug reporting instructions, please see:
        <https://bugs.gentoo.org/>.
        Find the GDB manual and other documentation resources online at:
            <http://www.gnu.org/software/gdb/documentation/>.
         
        For help, type "help".
        Type "apropos word" to search for commands related to "word"...
        Reading symbols from ./tst_qcolordialog...
        (No debugging symbols found in ./tst_qcolordialog)
        (gdb) run
        Starting program: /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/tests/auto/widgets/dialogs/qcolordialog/tst_qcolordialog
        [Thread debugging using libthread_db enabled]
        Using host libthread_db library "/usr/lib64/libthread_db.so.1".
        Detected locale "en_US.iso88591" with character encoding "ISO-8859-1", which is not UTF-8.
        Qt depends on a UTF-8 locale, and has switched to "en_US.UTF-8" instead.
        If this causes problems, reconfigure your locale. See the locale(1) manual
        for more information.
        [New Thread 0x7ffff31ff6c0 (LWP 11910)]
        [Detaching after fork from child process 11911]
        [New Thread 0x7ffff29fe6c0 (LWP 11922)]
                      • Start testing of tst_QColorDialog *********
                        Config: Using QtTest library 6.7.2, Qt 6.7.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.3.1 20240614), gentoo 2.15
                        PASS   : tst_QColorDialog::initTestCase()
                        SKIP   : tst_QColorDialog::defaultOkButton() This test crashes sometimes. Although rarely, but it happens. See QTBUG-50842.
                           Loc: [/var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/tests/auto/widgets/dialogs/qcolordialog/tst_qcolordialog.cpp(109)]
                        SKIP   : tst_QColorDialog::native_activeModalWidget() This test crashes sometimes. Although rarely, but it happens. See QTBUG-50842.
                           Loc: [/var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2/tests/auto/widgets/dialogs/qcolordialog/tst_qcolordialog.cpp(69)]
                        PASS   : tst_QColorDialog::task247349_alpha()
                        PASS   : tst_QColorDialog::QTBUG_43548_initialColor()
                         
                        Thread 1 "tst_qcolordialo" received signal SIGSEGV, Segmentation fault.
                        0x0000000000000000 in ?? ()
                        (gdb) bt
                        #0  0x0000000000000000 in ?? ()
                        #1  0x00007ffff72509ba in fillRect_normalized(QRect const&, QSpanData*, QRasterPaintEnginePrivate*) [clone .isra.0]
                            () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Gui.so.6
                        #2  0x00007ffff7276e7c in QPainter::fillRect(QRect const&, QBrush const&) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Gui.so.6
                        #3  0x00007ffff7c68fc2 in fillRegion(QPainter*, QRegion const&, QBrush const&) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Widgets.so.6
                        #4  0x00007ffff7cc2ab7 in QWidgetPrivate::paintBackground(QPainter*, QRegion const&, QFlags<QWidgetPrivate::DrawWidgetFlag>) const ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Widgets.so.6
                        #5  0x00007ffff7cdaa3e in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Widgets.so.6
                        #6  0x00007ffff7cdca71 in QWidgetRepaintManager::paintAndFlush() ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Widgets.so.6
                        #7  0x00007ffff7cdd37a in QWidgetRepaintManager::sync(QWidget*, QRegion const&) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Widgets.so.6
                        #8  0x00007ffff7d067f8 in QWidgetWindow::event(QEvent*) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Widgets.so.6
                        #9  0x00007ffff7cf5b15 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Widgets.so.6
                        #10 0x00007ffff6cddcf0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Core.so.6
                        #11 0x00007ffff716f8b3 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*)
                            () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Gui.so.6
                        #12 0x00007ffff71c4ff3 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Gui.so.6
                        #13 0x00007ffff567547e in ?? () from /usr/lib64/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
                        #14 0x00007ffff6211382 in ?? () from /usr/lib64/libglib-2.0.so.0
                        #15 0x00007ffff6214407 in ?? () from /usr/lib64/libglib-2.0.so.0
                        #16 0x00007ffff62149c8 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
                        #17 0x00007ffff6ac1120 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Core.so.6
                        #18 0x00007ffff7c751f4 in QTest::qWaitForWindowExposed(QWidget*, int) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Widgets.so.6
                        #19 0x000055555555cb8f in tst_QColorDialog::hexColor() ()
                        #20 0x00007ffff6d066e9 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Core.so.6
                        #21 0x00007ffff6d0711e in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Core.so.6
                        #22 0x00007ffff7f9621f in QTest::TestMethods::invokeTestOnData(int) const ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #23 0x00007ffff7f96f35 in QTest::TestMethods::invokeTest(int, QLatin1String, std::optional<QTest::WatchDog>&) const
                            () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #24 0x00007ffff7f9768f in QTest::TestMethods::invokeTests(QObject*) const ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #25 0x00007ffff7f9de98 in QTest::qRun() ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #26 0x00007ffff7f9e48f in QTest::qExec(QObject*, int, char**) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #27 0x000055555555b79b in main ()
                        (gdb)

       

      Code:
      Starting program: /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/tests/auto/corelib/serialization/qdatastream/tst_qdatastream
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/usr/lib64/libthread_db.so.1".
      [New Thread 0x7ffff39116c0 (LWP 12348)]
      [Detaching after fork from child process 12349]
      [New Thread 0x7ffff31106c0 (LWP 12350)]
       
      Thread 1 "tst_qdatastream" received signal SIGSEGV, Segmentation fault.
      0x0000000000000000 in ?? ()
      #0  0x0000000000000000 in ?? ()
      #1  0x00005555555a1f2c in tst_QDataStream::transaction_data() ()
      #2  0x00007ffff75066e9 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Core.so.6
      #3  0x00007ffff750711e in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Core.so.6
      #4  0x00007ffff7f72e64 in QTest::invokeTestMethodIfValid(QMetaMethod, QObject*) () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
      #5  0x00007ffff7f96d22 in QTest::TestMethods::invokeTest(int, QLatin1String, std::optional<QTest::WatchDog>&) const () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
      #6  0x00007ffff7f9768f in QTest::TestMethods::invokeTests(QObject*) const () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
      #7  0x00007ffff7f9de98 in QTest::qRun() () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
      #8  0x00007ffff7f9e48f in QTest::qExec(QObject*, int, char**) () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
      #9  0x000055555556b4b2 in main ()

       

      Code:
      1. gdb ./tst_qpixmap
        GNU gdb (Gentoo 14.2 vanilla) 14.2
        Copyright (C) 2023 Free Software Foundation, Inc.
        License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
        This is free software: you are free to change and redistribute it.
        There is NO WARRANTY, to the extent permitted by law.
        Type "show copying" and "show warranty" for details.
        This GDB was configured as "x86_64-pc-linux-gnu".
        Type "show configuration" for configuration details.
        For bug reporting instructions, please see:
        <https://bugs.gentoo.org/>.
        Find the GDB manual and other documentation resources online at:
            <http://www.gnu.org/software/gdb/documentation/>.
         
        For help, type "help".
        Type "apropos word" to search for commands related to "word"...
        Reading symbols from ./tst_qpixmap...
        (No debugging symbols found in ./tst_qpixmap)
        (gdb) set logging on
        Warning: 'set logging on', an alias for the command 'set logging enabled', is deprecated.
        Use 'set logging enabled on'.
         
        Copying output to gdb.txt.
        Copying debug output to gdb.txt.
        (gdb) run
        Starting program: /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/tests/auto/gui/image/qpixmap/tst_qpixmap
        [Thread debugging using libthread_db enabled]
        Using host libthread_db library "/usr/lib64/libthread_db.so.1".
        Detected locale "en_US.iso88591" with character encoding "ISO-8859-1", which is not UTF-8.
        Qt depends on a UTF-8 locale, and has switched to "en_US.UTF-8" instead.
        If this causes problems, reconfigure your locale. See the locale(1) manual
        for more information.
        [New Thread 0x7ffff31ff6c0 (LWP 17961)]
        [Detaching after fork from child process 17962]
        [New Thread 0x7ffff29fe6c0 (LWP 17963)]
                      • Start testing of tst_QPixmap *********
                        Config: Using QtTest library 6.7.2, Qt 6.7.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.3.1 20240614), gentoo 2.15
                        PASS   : tst_QPixmap::initTestCase()
                         
                        Thread 1 "tst_qpixmap" received signal SIGSEGV, Segmentation fault.
                        0x0000000000000000 in ?? ()
                        (gdb) bt
                        #0  0x0000000000000000 in ?? ()
                        #1  0x000055555555e1e9 in tst_QPixmap::swap() ()
                        #2  0x00007ffff6d066e9 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Core.so.6
                        #3  0x00007ffff6d0711e in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Core.so.6
                        #4  0x00007ffff7f9621f in QTest::TestMethods::invokeTestOnData(int) const () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #5  0x00007ffff7f96f35 in QTest::TestMethods::invokeTest(int, QLatin1String, std::optional<QTest::WatchDog>&) const () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #6  0x00007ffff7f9768f in QTest::TestMethods::invokeTests(QObject*) const () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #7  0x00007ffff7f9de98 in QTest::qRun() () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #8  0x00007ffff7f9e48f in QTest::qExec(QObject*, int, char**) () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #9  0x000055555555d971 in main ()
                        (gdb)
      Code:
      1. gdb ./tst_qimage
        GNU gdb (Gentoo 14.2 vanilla) 14.2
        Copyright (C) 2023 Free Software Foundation, Inc.
        License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
        This is free software: you are free to change and redistribute it.
        There is NO WARRANTY, to the extent permitted by law.
        Type "show copying" and "show warranty" for details.
        This GDB was configured as "x86_64-pc-linux-gnu".
        Type "show configuration" for configuration details.
        For bug reporting instructions, please see:
        <https://bugs.gentoo.org/>.
        Find the GDB manual and other documentation resources online at:
            <http://www.gnu.org/software/gdb/documentation/>.
         
        For help, type "help".
        Type "apropos word" to search for commands related to "word"...
        Reading symbols from ./tst_qimage...
        (No debugging symbols found in ./tst_qimage)
        (gdb) run
        Starting program: /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/tests/auto/gui/image/qimage/tst_qimage
        [Thread debugging using libthread_db enabled]
        Using host libthread_db library "/usr/lib64/libthread_db.so.1".
        Detected locale "en_US.iso88591" with character encoding "ISO-8859-1", which is not UTF-8.
        Qt depends on a UTF-8 locale, and has switched to "en_US.UTF-8" instead.
        If this causes problems, reconfigure your locale. See the locale(1) manual
        for more information.
                      • Start testing of tst_QImage *********
                        Config: Using QtTest library 6.7.2, Qt 6.7.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.3.1 20240614), gentoo 2.15
                        PASS   : tst_QImage::initTestCase()
                         
                        Program received signal SIGSEGV, Segmentation fault.
                        0x0000000000000000 in ?? ()
                        (gdb) bt
                        #0  0x0000000000000000 in ?? ()
                        #1  0x00007ffff7917ed3 in QImage::fill(Qt::GlobalColor) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Gui.so.6
                        #2  0x000055555555ee99 in tst_QImage::swap() ()
                        #3  0x00007ffff75066e9 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Core.so.6
                        #4  0x00007ffff750711e in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Core.so.6
                        #5  0x00007ffff7f9621f in QTest::TestMethods::invokeTestOnData(int) const ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #6  0x00007ffff7f96f35 in QTest::TestMethods::invokeTest(int, QLatin1String, std::optional<QTest::WatchDog>&) const
                            () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #7  0x00007ffff7f9768f in QTest::TestMethods::invokeTests(QObject*) const ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #8  0x00007ffff7f9de98 in QTest::qRun() ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #9  0x00007ffff7f9e48f in QTest::qExec(QObject*, int, char**) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #10 0x000055555555e99b in main ()
                        (gdb)
      Code:
      1. gdb ./tst_qicon
        GNU gdb (Gentoo 14.2 vanilla) 14.2
        Copyright (C) 2023 Free Software Foundation, Inc.
        License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
        This is free software: you are free to change and redistribute it.
        There is NO WARRANTY, to the extent permitted by law.
        Type "show copying" and "show warranty" for details.
        This GDB was configured as "x86_64-pc-linux-gnu".
        Type "show configuration" for configuration details.
        For bug reporting instructions, please see:
        <https://bugs.gentoo.org/>.
        Find the GDB manual and other documentation resources online at:
            <http://www.gnu.org/software/gdb/documentation/>.
         
        For help, type "help".
        Type "apropos word" to search for commands related to "word"...
        Reading symbols from ./tst_qicon...
        (No debugging symbols found in ./tst_qicon)
        (gdb) run
        Starting program: /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/tests/auto/gui/image/qicon/tst_qicon
        [Thread debugging using libthread_db enabled]
        Using host libthread_db library "/usr/lib64/libthread_db.so.1".
        Detected locale "en_US.iso88591" with character encoding "ISO-8859-1", which is not UTF-8.
        Qt depends on a UTF-8 locale, and has switched to "en_US.UTF-8" instead.
        If this causes problems, reconfigure your locale. See the locale(1) manual
        for more information.
        [New Thread 0x7ffff31ff6c0 (LWP 18080)]
        [Detaching after fork from child process 18081]
        [New Thread 0x7ffff29fe6c0 (LWP 18082)]
                      • Start testing of tst_QIcon *********
                        Config: Using QtTest library 6.7.2, Qt 6.7.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.3.1 20240614), gentoo 2.15
                        PASS   : tst_QIcon::initTestCase()
                        PASS   : tst_QIcon::actualSize(resource0)
                        PASS   : tst_QIcon::actualSize(resource1)
                        PASS   : tst_QIcon::actualSize(resource2)
                        PASS   : tst_QIcon::actualSize(resource3)
                        PASS   : tst_QIcon::actualSize(resource4)
                        PASS   : tst_QIcon::actualSize(resource5)
                        PASS   : tst_QIcon::actualSize(resource6)
                        PASS   : tst_QIcon::actualSize(resource7)
                        PASS   : tst_QIcon::actualSize(resource8)
                        PASS   : tst_QIcon::actualSize(resource9)
                        PASS   : tst_QIcon::actualSize(resource10)
                        PASS   : tst_QIcon::actualSize(external0)
                        PASS   : tst_QIcon::actualSize(external1)
                        PASS   : tst_QIcon::actualSize(external2)
                        PASS   : tst_QIcon::actualSize(external3)
                        PASS   : tst_QIcon::actualSize(external4)
                        PASS   : tst_QIcon::actualSize(external5)
                        PASS   : tst_QIcon::actualSize(external6)
                        PASS   : tst_QIcon::actualSize(external7)
                        PASS   : tst_QIcon::actualSize(external8)
                        PASS   : tst_QIcon::actualSize(external9)
                        PASS   : tst_QIcon::actualSize(external10)
                        PASS   : tst_QIcon::actualSize2(trivial1)
                        PASS   : tst_QIcon::actualSize2(trivial2)
                        PASS   : tst_QIcon::actualSize2(best1)
                        PASS   : tst_QIcon::actualSize2(best2)
                        PASS   : tst_QIcon::actualSize2(best3)
                        PASS   : tst_QIcon::actualSize2(best4)
                        PASS   : tst_QIcon::actualSize2(best5)
                        PASS   : tst_QIcon::isNull()
                        PASS   : tst_QIcon::isMask()
                         
                        Thread 1 "tst_qicon" received signal SIGSEGV, Segmentation fault.
                        0x0000000000000000 in ?? ()
                        (gdb) bt
                        #0  0x0000000000000000 in ?? ()
                        #1  0x000055555555dbad in tst_QIcon::swap() ()
                        #2  0x00007ffff6d066e9 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Core.so.6
                        #3  0x00007ffff6d0711e in QMetaMethod::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*,
                         
                        QtPrivate::QMetaTypeInterface const* const*) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Core.so.6
                        #4  0x00007ffff7f9621f in QTest::TestMethods::invokeTestOnData(int) const ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #5  0x00007ffff7f96f35 in QTest::TestMethods::invokeTest(int, QLatin1String, std::optional<QTest::WatchDog>&) const
                            () from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #6  0x00007ffff7f9768f in QTest::TestMethods::invokeTests(QObject*) const ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #7  0x00007ffff7f9de98 in QTest::qRun() ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #8  0x00007ffff7f9e48f in QTest::qExec(QObject*, int, char**) ()
                           from /var/tmp/portage/dev-qt/qtbase-6.7.2-r4/work/qtbase-everywhere-src-6.7.2_build/lib64/libQt6Test.so.6
                        #9  0x000055555555ae2b in main ()
                        (gdb)

       

      See also:

      https://bugs.kde.org/show_bug.cgi?id=492886

      https://forums.gentoo.org/viewtopic-t-1170690-postdays-0-postorder-asc-start-0.html

      https://forums.gentoo.org/viewtopic-t-1169619.html

       

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            localtoast localtoast localtoast
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: