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

--- Comment #2 from Hugo Sales <[email protected]> ---
Full backtrace below, pulled with gdb from the coredump I already attached
(attachment 196272), run against the exact CopyQ binary from my Nix store and
with debuginfod resolving kguiaddons and Qt symbols. `thread apply all
backtrace` on all 5 threads:

Thread 5 (Thread 0x71729cb2d6c0 (LWP 2013418)):
#0  millisInSystemRange (millis=1789649582645, slack=0) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/time/qdatetime.cpp:2807
#1  QDateTimePrivate::expressUtcAsLocal (utcMSecs=utcMSecs@entry=1789649582645)
at /build/qtbase-everywhere-src-6.11.2/src/corelib/time/qdatetime.cpp:2854
#2  0x00007172ab90980c in QDateTime::setMSecsSinceEpoch
(this=this@entry=0x71729cb2c380, msecs=msecs@entry=1789649582645) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/time/qdatetime.cpp:4594
#3  0x00007172ab90b50b in QDateTime::fromMSecsSinceEpoch (msecs=1789649582645,
timeZone=...) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/time/qdatetime.cpp:5739
#4  0x00007172ab90b9f5 in QDateTime::currentDateTime (zone=...) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/time/qdatetime.cpp:5638
#5  0x00007172ab90ba53 in QDateTime::currentDateTime () at
/build/qtbase-everywhere-src-6.11.2/src/corelib/time/qdatetime.cpp:5419
#6  0x000059cb8ec7dfb7 in (anonymous namespace)::logAlways(QByteArray const&,
LogLevel) ()
#7  0x000059cb8ec5a54a in
QtPrivate::QCallableObject<ClipboardDataGuard::ClipboardDataGuard(QMimeData
const*, long const*)::{lambda()#1}, QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
#8  0x00007172ab8315e6 in QtPrivate::QSlotObjectBase::call
(this=0x59cb937f4c00, r=0x717294001830, a=0x71729cb2c530) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qobjectdefs_impl.h:462
#9  doActivate<false> (sender=0x717294001830, signal_index=<optimized out>,
argv=argv@entry=0x71729cb2c530) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qobject.cpp:4393
#10 0x00007172ab828389 in QMetaObject::activate
(sender=sender@entry=0x717294001830, m=m@entry=0x7172abcef980
<QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x71729cb2c530) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qobject.cpp:4453
#11 0x00007172ab828447 in QMetaObject::activate<void, QObject*>
(sender=0x717294001830, mo=0x7172abcef980 <QObject::staticMetaObject>,
local_signal_index=0, ret=0x0) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qobjectdefs.h:320
#12 QObject::destroyed (this=this@entry=0x717294001830, _t1=<optimized out>,
_t1@entry=0x717294001830) at
/build/qtbase-everywhere-src-6.11.2/build/src/corelib/kernel/moc_qobject.cpp:186
#13 0x00007172ab82d412 in QObject::~QObject (this=0x717294001830) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qobject.cpp:1080
#14 0x00007172ae1fd560 in non-virtual thunk to
DataControlDevice::ext_data_control_device_v1_selection(ext_data_control_offer_v1*)
() at /build/kguiaddons-6.30.0/src/systemclipboard/waylandclipboard.cpp:448
#15 0x00007172aac56052 in ffi_call_unix64 () from
/nix/store/3r5wfb1dl3sfknvy1yringvmap0hxj4r-libffi-3.8.0/lib/libffi.so.8
#16 0x00007172aac5325e in ffi_call_int () from
/nix/store/3r5wfb1dl3sfknvy1yringvmap0hxj4r-libffi-3.8.0/lib/libffi.so.8
#17 0x00007172aac547c5 in ffi_call () from
/nix/store/3r5wfb1dl3sfknvy1yringvmap0hxj4r-libffi-3.8.0/lib/libffi.so.8
#18 0x00007172acd2abcc in wl_closure_invoke
(closure=closure@entry=0x717298001e90, flags=flags@entry=1, target=<optimized
out>, target@entry=0x59cb937c2cf0, opcode=opcode@entry=1, data=<optimized out>)
at ../src/connection.c:1243
#19 0x00007172acd2610c in dispatch_event (display=display@entry=0x59cb936375e0,
queue=queue@entry=0x59cb937c4180) at ../src/wayland-client.c:1732
#20 0x00007172acd2753b in dispatch_queue (display=0x59cb936375e0,
queue=0x59cb937c4180) at ../src/wayland-client.c:1878
#21 wl_display_dispatch_queue_pending (display=0x59cb936375e0,
queue=0x59cb937c4180) at ../src/wayland-client.c:2243
#22 0x00007172ae1fb9db in ClipboardThread::run (this=0x59cb937ee490) at
/build/kguiaddons-6.30.0/src/systemclipboard/waylandclipboard.cpp:568
#23 0x00007172ab9b86e2 in QThreadPrivate::start (arg=0x59cb937ee490) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/thread/qthread_unix.cpp:466
#24 0x00007172aae9ce73 in start_thread (arg=<optimized out>) at
pthread_create.c:448
#25 0x00007172aaf242bc in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7172a67ff6c0 (LWP 2013191)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007172aae9912c in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8,
a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007172aae991a4 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0,
nr=271) at cancellation.c:75
#3  0x00007172aaf169b6 in __GI_ppoll (fds=fds@entry=0x7172a0001680,
nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007172ac1042c8 in ppoll (__fds=0x7172a0001680, __nfds=2, __timeout=0x0,
__ss=0x0) at
/nix/store/lbjwxax9n0457lgd83rqwpd1l9lgfl7r-glibc-2.42-84-dev/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>,
context=0x7172a0000d00, timeout_usec=<optimized out>, fds=0x7172a0001680,
n_fds=2) at ../glib/gmain.c:4837
#6  g_main_context_iterate_unlocked (context=context@entry=0x7172a0000d00,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/gmain.c:4511
#7  0x00007172ac104a9f in g_main_context_iteration (context=0x7172a0000d00,
may_block=1) at ../glib/gmain.c:4582
#8  0x00007172abb0abcd in QEventDispatcherGlib::processEvents
(this=0x7172a0000be0, flags=...) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#9  0x00007172ab7cbbeb in QEventLoop::exec (this=this@entry=0x7172a67fea80,
flags=..., flags@entry=...) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/global/qflags.h:78
#10 0x00007172ab8f98d5 in QThread::exec (this=this@entry=0x7172ae0ccde0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/thread/qthread.cpp:672
#11 0x00007172ae02d8c1 in QDBusConnectionManager::run (this=0x7172ae0ccde0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/build/qtbase-everywhere-src-6.11.2/src/dbus/qdbusconnectionmanager.cpp:145
#12 0x00007172ab9b86e2 in QThreadPrivate::start (arg=0x7172ae0ccde0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/thread/qthread_unix.cpp:466
#13 0x00007172aae9ce73 in start_thread (arg=<optimized out>) at
pthread_create.c:448
#14 0x00007172aaf242bc in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x71729ddfe6c0 (LWP 2013396)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007172aae9912c in __internal_syscall_cancel
(a1=a1@entry=124737088903888, a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0,
a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:49
#2  0x00007172aae991a4 in __syscall_cancel (a1=a1@entry=124737088903888,
a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0,
nr=7) at cancellation.c:75
#3  0x00007172aaf1640e in __GI___poll (fds=fds@entry=0x71729ddfdad0,
nfds=nfds@entry=2, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#4  0x00007172ab564c1e in poll (__fds=0x71729ddfdad0, __nfds=2, __timeout=-1)
at
/nix/store/lbjwxax9n0457lgd83rqwpd1l9lgfl7r-glibc-2.42-84-dev/include/bits/poll2.h:44
#5  QtWaylandClient::EventThread::run (this=0x59cb93657190) at
/build/qtbase-everywhere-src-6.11.2/src/plugins/platforms/wayland/qwaylanddisplay.cpp:186
#6  0x00007172ab9b86e2 in QThreadPrivate::start (arg=0x59cb93657190) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/thread/qthread_unix.cpp:466
#7  0x00007172aae9ce73 in start_thread (arg=<optimized out>) at
pthread_create.c:448
#8  0x00007172aaf242bc in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x71729e5ff6c0 (LWP 2013394)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007172aae9912c in __internal_syscall_cancel
(a1=a1@entry=124737097296592, a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0,
a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:49
#2  0x00007172aae991a4 in __syscall_cancel (a1=a1@entry=124737097296592,
a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0,
nr=7) at cancellation.c:75
#3  0x00007172aaf1640e in __GI___poll (fds=fds@entry=0x71729e5fead0,
nfds=nfds@entry=2, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#4  0x00007172ab564c1e in poll (__fds=0x71729e5fead0, __nfds=2, __timeout=-1)
at
/nix/store/lbjwxax9n0457lgd83rqwpd1l9lgfl7r-glibc-2.42-84-dev/include/bits/poll2.h:44
#5  QtWaylandClient::EventThread::run (this=0x59cb936568d0) at
/build/qtbase-everywhere-src-6.11.2/src/plugins/platforms/wayland/qwaylanddisplay.cpp:186
#6  0x00007172ab9b86e2 in QThreadPrivate::start (arg=0x59cb936568d0) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/thread/qthread_unix.cpp:466
#7  0x00007172aae9ce73 in start_thread (arg=<optimized out>) at
pthread_create.c:448
#8  0x00007172aaf242bc in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7172a6bd8a80 (LWP 2012945)):
#0  std::__atomic_base<int>::fetch_add (this=0x614d746e61697261, __i=1,
__m=std::memory_order::relaxed) at
/nix/store/8sjgd7q3mdks1rb7rbcv0sallhvrhai5-gcc-15.3.0/include/c++/15.3.0/bits/atomic_base.h:629
#1  QAtomicOps<int>::fetchAndAddRelaxed<int> (_q_value=<error reading variable:
Cannot access memory at address 0x614d746e61697261>, valueToAdd=1) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qatomic_cxx11.h:343
#2  QBasicAtomicInteger<int>::refRelaxed (this=0x614d746e61697261) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qbasicatomic.h:60
#3  QArrayData::ref (this=0x614d746e61697261) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qarraydata.h:72
#4  QArrayDataPointer<char16_t>::ref (this=0x59cb937f2640) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qarraydatapointer.h:350
#5  QArrayDataPointer<char16_t>::QArrayDataPointer (this=0x59cb937f2640,
other=...) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qarraydatapointer.h:41
#6  QString::QString (this=0x59cb937f2640, other=...) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qstring.h:1391
#7  QHashPrivate::Node<QString, QVariant>::Node (this=0x59cb937f2640) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qhash.h:79
#8  QHashPrivate::Data<QHashPrivate::Node<QString, QVariant>
>::reallocationHelper<false> (this=0x59cb937f6130, other=..., nSpans=<optimized
out>) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qhash.h:583
#9  QHashPrivate::Data<QHashPrivate::Node<QString, QVariant> >::Data
(this=0x59cb937f6130, other=...) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qhash.h:592
#10 QHashPrivate::Data<QHashPrivate::Node<QString, QVariant> >::detached
(d=<optimized out>) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qhash.h:606
#11 QHash<QString, QVariant>::detach (this=0x717294001868) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qhash.h:985
#12 QHash<QString, QVariant>::emplace<QVariant> (this=0x717294001868, key=...)
at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qhash.h:1420
#13 QHash<QString, QVariant>::emplace<QVariant>
(this=this@entry=0x717294001868, key=...) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qhash.h:1407
#14 0x00007172ae1fa5f2 in QHash<QString, QVariant>::insert (this=<optimized
out>, key=..., value=...) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qhash.h:1375
#15 DataControlOffer::retrieveData (this=<optimized out>, mimeType=...,
type=...) at
/build/kguiaddons-6.30.0/src/systemclipboard/waylandclipboard.cpp:264
#16 0x00007172ab8197a3 in QMimeDataPrivate::retrieveTypedData
(this=this@entry=0x717294001b70, format=..., type=...) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qmimedata.cpp:107
#17 0x00007172ab81ad6b in QMimeData::data (this=<optimized out>, mimeType=...)
at /build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qmimedata.cpp:552
#18 0x000059cb8ec5c7fe in ClipboardDataGuard::data(QString const&) ()
#19 0x000059cb8ec5e3cc in ClipboardDataGuard::getUtf8Data(QString const&) ()
#20 0x000059cb8ec69a43 in cloneData(ClipboardDataGuard&, QList<QString> const&)
()
#21 0x000059cb8edd3c45 in
X11PlatformClipboard::updateClipboardData(X11PlatformClipboard::ClipboardData*)
()
#22 0x000059cb8edd4deb in X11PlatformClipboard::onChanged(int) ()
#23 0x00007172ab8315e6 in QtPrivate::QSlotObjectBase::call
(this=0x59cb937b7f00, r=0x59cb9364a8c0, a=0x7ffef26e8cb0) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qobjectdefs_impl.h:462
#24 doActivate<false> (sender=0x59cb937ee600, signal_index=<optimized out>,
argv=argv@entry=0x7ffef26e8cb0) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qobject.cpp:4393
#25 0x00007172ab828389 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7172ae228460 <KSystemClipboard::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffef26e8cb0)
at /build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qobject.cpp:4453
#26 0x00007172ae1e8d32 in QMetaObject::activate<void, QClipboard::Mode>
(sender=<optimized out>, mo=0x7172ae228460
<KSystemClipboard::staticMetaObject>, local_signal_index=0, ret=0x0) at
/nix/store/znhanpma0jihwbw5l6zs8yc25yng7clp-qtbase-6.11.2/include/QtCore/qobjectdefs.h:320
#27 KSystemClipboard::changed (this=<optimized out>, _t1=<optimized out>) at
/build/kguiaddons-6.30.0/build/src/KF6GuiAddons_autogen/include/moc_ksystemclipboard.cpp:120
#28 0x00007172ab8212f4 in QObject::event (this=<optimized out>, e=<optimized
out>) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qobject.cpp:1480
#29 0x000059cb8edd1d41 in non-virtual thunk to
ApplicationExceptionHandler<QGuiApplication>::notify(QObject*, QEvent*) ()
#30 0x00007172ab7bd8d8 in QCoreApplication::notifyInternal2
(receiver=0x59cb937ee600, event=0x7172900023d0) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qcoreapplication.cpp:1126
#31 0x00007172ab7bdb3d in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qcoreapplication.cpp:1571
#32 0x00007172ab7c17a9 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x59cb9362da50) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qcoreapplication.cpp:1926
#33 0x00007172abb0b70f in postEventSourceDispatch (s=0x59cb93631370) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qeventdispatcher_glib.cpp:248
#34 0x00007172ac100c0b in g_main_dispatch (context=0x7172a0000f60) at
../glib/gmain.c:3591
#35 g_main_context_dispatch_unlocked (context=context@entry=0x7172a0000f60) at
../glib/gmain.c:4451
#36 0x00007172ac1041d8 in g_main_context_iterate_unlocked
(context=context@entry=0x7172a0000f60, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4516
#37 0x00007172ac104a9f in g_main_context_iteration (context=0x7172a0000f60,
may_block=1) at ../glib/gmain.c:4582
#38 0x00007172abb0abcd in QEventDispatcherGlib::processEvents
(this=0x59cb93631420, flags=...) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#39 0x00007172ab7cbbeb in QEventLoop::exec (this=0x7ffef26e9120, flags=...) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/global/qflags.h:78
#40 0x000059cb8ee0e94f in Scriptable::monitorClipboard() ()
#41 0x000059cb8ec01367 in Scriptable::qt_metacall(QMetaObject::Call, int,
void**) ()
#42 0x00007172adc23812 in QQmlObjectOrGadget::metacall
(this=this@entry=0x7ffef26e99e0, type=type@entry=QMetaObject::InvokeMetaMethod,
index=<optimized out>, index@entry=181, argv=argv@entry=0x7ffef26e95e0) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/qml/qqmlobjectorgadget.cpp:15
#43 0x00007172ada9e69a in QV4::CallMethod (object=..., index=181,
returnType=returnType@entry=..., argCount=argCount@entry=0,
argTypes=argTypes@entry=0x0, engine=0x59cb93780680, callArgs=0x71729d131640,
callType=QMetaObject::InvokeMetaMethod) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:1740
#44 0x00007172ada9fefa in QV4::QObjectMethod::callPrecise (object=...,
data=..., engine=<optimized out>, engine@entry=0x59cb93780680,
callArgs=<optimized out>, callArgs@entry=0x71729d131640,
callType=callType@entry=QMetaObject::InvokeMetaMethod) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:2100
#45 0x00007172adaa1611 in operator() (__closure=<optimized out>) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:3123
#46 operator()<QV4::QObjectMethod::callInternal(const QV4::Value*, const
QV4::Value*, int) const::<lambda()> > (__closure=<synthetic pointer>, call=...)
at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:3100
#47 QV4::QObjectMethod::callInternal (this=<optimized out>,
thisObject=0x71729d1315f0, argv=0x71729d1315a8, argc=<optimized out>) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:3123
#48 0x00007172adb17969 in QV4::FunctionObject::call (this=<optimized out>,
thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4functionobject_p.h:188
#49 QV4::Moth::VME::interpret (frame=0x59cb937f2640,
frame@entry=0x7ffef26e9da0, engine=0x59cb93780680, code=0x59cb93797afb
"\030\b\f0\001\026\b", <incomplete sequence \324>) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4vme_moth.cpp:781
#50 0x00007172adb1ad5f in QV4::Moth::VME::exec
(frame=frame@entry=0x7ffef26e9da0, engine=engine@entry=0x59cb93780680) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4vme_moth.cpp:493
#51 0x00007172ada3cc9f in qfoDoCall (fo=<optimized out>, thisObject=<optimized
out>, argv=<optimized out>, argc=<optimized out>) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4functionobject.cpp:528
#52 0x00007172ada3ee1c in QV4::FunctionObject::call (this=<optimized out>,
thisObject=<optimized out>, argv=0x71729d1315a8, argc=<optimized out>) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4functionobject_p.h:188
#53 QV4::FunctionPrototype::method_apply (b=<optimized out>,
thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4functionobject.cpp:375
#54 0x00007172adaca5f5 in QV4::Runtime::CallProperty::call
(engine=0x59cb93780680, baseRef=..., nameIndex=<optimized out>,
argv=0x71729d131550, argc=<optimized out>) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4runtime.cpp:1556
#55 0x00007172adb15f03 in QV4::Moth::VME::interpret (frame=0x59cb937f2640,
frame@entry=0x7ffef26ea2b0, engine=0x59cb93780680, code=0x59cb93796623 "\030",
<incomplete sequence \352>) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4vme_moth.cpp:325
#56 0x00007172adb1ad5f in QV4::Moth::VME::exec
(frame=frame@entry=0x7ffef26ea2b0, engine=engine@entry=0x59cb93780680) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4vme_moth.cpp:493
#57 0x00007172ada3cc9f in qfoDoCall (fo=<optimized out>, thisObject=<optimized
out>, argv=<optimized out>, argc=<optimized out>) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4functionobject.cpp:528
#58 0x00007172ad9c3a31 in QV4::FunctionObject::call (this=0x7172a983d040,
thisObject=0x71729d1314f8, argv=0x71729d131500, argc=<optimized out>) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4functionobject_p.h:188
#59 QV4::FunctionObject::call (data=..., this=0x7172a983d040) at
/build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsruntime/qv4jscall_p.h:106
#60 QJSValue::callWithInstance (this=<optimized out>, instance=..., args=...)
at /build/qtdeclarative-everywhere-src-6.11.2/src/qml/jsapi/qjsvalue.cpp:797
#61 0x000059cb8ee03b83 in Scriptable::call(QString const&, QJSValue*,
QList<QJSValue> const&) ()
#62 0x000059cb8ee0872c in Scriptable::executeArgumentsSimple(QList<QString>
const&) ()
#63 0x000059cb8ee0962b in Scriptable::executeArguments(QList<QString> const&)
()
#64 0x000059cb8ec2bc31 in ClipboardClient::start(QString const&, QList<QString>
const&) ()
#65 0x00007172ab8212f4 in QObject::event (this=<optimized out>, e=<optimized
out>) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qobject.cpp:1480
#66 0x000059cb8edd1d41 in non-virtual thunk to
ApplicationExceptionHandler<QGuiApplication>::notify(QObject*, QEvent*) ()
#67 0x00007172ab7bd8d8 in QCoreApplication::notifyInternal2
(receiver=0x7ffef26eaf00, event=0x59cb93772240) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qcoreapplication.cpp:1126
#68 0x00007172ab7bdb3d in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qcoreapplication.cpp:1571
#69 0x00007172ab7c17a9 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x59cb9362da50) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qcoreapplication.cpp:1926
#70 0x00007172abb0b70f in postEventSourceDispatch (s=0x59cb93631370) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qeventdispatcher_glib.cpp:248
#71 0x00007172ac100c0b in g_main_dispatch (context=0x7172a0000f60) at
../glib/gmain.c:3591
#72 g_main_context_dispatch_unlocked (context=context@entry=0x7172a0000f60) at
../glib/gmain.c:4451
#73 0x00007172ac1041d8 in g_main_context_iterate_unlocked
(context=context@entry=0x7172a0000f60, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4516
#74 0x00007172ac104a9f in g_main_context_iteration (context=0x7172a0000f60,
may_block=1) at ../glib/gmain.c:4582
#75 0x00007172abb0abcd in QEventDispatcherGlib::processEvents
(this=0x59cb93631420, flags=...) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#76 0x00007172ab7cbbeb in QEventLoop::exec (this=this@entry=0x7ffef26eae90,
flags=..., flags@entry=...) at
/build/qtbase-everywhere-src-6.11.2/src/corelib/global/qflags.h:78
#77 0x00007172ab7c6e99 in QCoreApplication::exec () at
/build/qtbase-everywhere-src-6.11.2/src/corelib/kernel/qcoreapplication.cpp:1469
#78 0x000059cb8ef199cf in (anonymous namespace)::startClient(int, char**,
QList<QString> const&, QString const&) ()
#79 0x000059cb8ef1ae3e in (anonymous namespace)::startApplication(int, char**)
()
#80 0x000059cb8ebee5ae in main ()

Thread 1 is the crashing GUI thread, inside QHash<QString,QVariant>::detach(),
reallocating the hash and copying a QString key at 0x59cb937f2640
(waylandclipboard.cpp:264, DataControlOffer::retrieveData). Thread 5 is inside
QObject::~QObject, called from
DataControlDevice::ext_data_control_device_v1_selection at
waylandclipboard.cpp:448, destroying the previous offer. Both threads touch the
same offer's QMimeData at once: thread 1 is mid-copy of its cached QString,
thread 5 is freeing it underneath it.

.copyq-wrapped itself has no debug info in this build, so its own frames show
as bare addresses, but both sides of the race are inside kguiaddons/Qt, which
are fully symbolized.

(This backtrace was extracted and written up with the help of Claude Code; I
checked the addresses and source lines against the coredump myself before
posting.)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to