It does not crash if the clipboard has text in it This is the stack trace I get #0 0xb5befead in QMimeData::hasText (this=0x0) at /srcbuild/qtbase/src/corelib/kernel/qmimedata.cpp:410 No locals. #1 0xb7f34fb3 in KonqMainWindow::slotClipboardDataChanged() () from /opt/lib/i386-linux-gnu/libkdeinit5_konqueror.so No symbol table info available. #2 0xb7f349cf in KonqMainWindow::eventFilter(QObject*, QEvent*) () from /opt/lib/i386-linux-gnu/libkdeinit5_konqueror.so No symbol table info available. #3 0xb5bbcefb in QCoreApplicationPrivate::sendThroughObjectEventFilters ( this=0x80543c0, receiver=0x80ff398, event=0xbfffeb9c) at /srcbuild/qtbase/src/corelib/kernel/qcoreapplication.cpp:1059 obj = 0x80d2018 i = 5 q = 0xbffff0c8 __PRETTY_FUNCTION__ = "bool QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)" #4 0xb66d9231 in QApplicationPrivate::notify_helper (this=0x80543c0, receiver=0x80ff398, e=0xbfffeb9c) at /srcbuild/qtbase/src/widgets/kernel/qapplication.cpp:3709 consumed = 191 #5 0xb66d90c4 in QApplication::notify (this=0xbffff0c8, receiver=0x80ff398, e=0xbfffeb9c) at /srcbuild/qtbase/src/widgets/kernel/qapplication.cpp:3678 d = 0x80543c0 __PRETTY_FUNCTION__ = "virtual bool QApplication::notify(QObject*, QEvent*)" res = false #6 0xb5bbcb29 in QCoreApplication::notifyInternal (this=0xbffff0c8, receiver=0x80ff398, event=0xbfffeb9c) at /srcbuild/qtbase/src/corelib/kernel/qcoreapplication.cpp:963 threadData = 0x804bf50 loopLevelCounter = {threadData = 0x804bf50} result = false cbdata = {0x80ff398, 0xbfffeb9c, 0xbfffeb23} d = 0x80ff490 #7 0xb66c8be4 in QCoreApplication::sendEvent (receiver=0x80ff398, event=0xbfffeb9c) at ../../include/QtCore/../../../src/corelib/kernel/qcoreapplication.h:228 No locals. #8 0xb66d2818 in QApplicationPrivate::setFocusWidget (focus=0x80ff398, reason=Qt::ActiveWindowFocusReason) at /srcbuild/qtbase/src/widgets/kernel/qapplication.cpp:1866 in = {<QEvent> = { _vptr.QEvent = 0xb65cfa80 <vtable for QFocusEvent+8>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0xb5e01a40 <qt_meta_stringdata_QEvent>, data = 0xb5e02f40 <qt_meta_data_QEvent>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 8, posted = 0, spont = 0, m_accept = 1, reserved = 0}, m_reason = Qt::ActiveWindowFocusReason} that = {wp = {d = 0x81323a8, value = 0x80ff398}} prev = 0x0 #9 0xb6722a9f in QWidget::setFocus (this=0x80ff398, reason=Qt::ActiveWindowFocusReason) at /srcbuild/qtbase/src/widgets/kernel/qwidget.cpp:6446 prev = 0x0 f = 0x80ff398 previousProxyFocus = 0x0 #10 0xb66d38cf in QApplication::setActiveWindow (act=0x80d2018) at /srcbuild/qtbase/src/widgets/kernel/qapplication.cpp:2205 w = 0x80ff398 window = 0x80d2018 toBeActivated = {<QListSpecialMethods<QWidget*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x83244a8}, d = 0x83244a8}} activationChange = {_vptr.QEvent = 0xb5f176c0 <vtable for QEvent+8>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0xb5e01a40 <qt_meta_stringdata_QEvent>, data = 0xb5e02f40 <qt_meta_data_QEvent>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 99, posted = 0, spont = 0, m_accept = 1, reserved = 262} windowDeactivate = {_vptr.QEvent = 0xb5f176c0 <vtable for QEvent+8>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0xb5e01a40 <qt_meta_stringdata_QEvent>, data = 0xb5e02f40 <qt_meta_data_QEvent>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 25, posted = 0, spont = 0, m_accept = 1, reserved = 256} toBeDeactivated = {<QListSpecialMethods<QWidget*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0xb5ce47d8 <QListData::shared_null>}, d = 0xb5ce47d8 <QListData::shared_null>}} windowActivate = {_vptr.QEvent = 0xb5f176c0 <vtable for QEvent+8>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0xb5e01a40 <qt_meta_stringdata_QEvent>, data = 0xb5e02f40 <qt_meta_data_QEvent>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 24, posted = 0, spont = 0, m_accept = 1, reserved = 0} #11 0xb66d3be9 in QApplicationPrivate::notifyActiveWindowChange ( this=0x80543c0, previous=0x0) at /srcbuild/qtbase/src/widgets/kernel/qapplication.cpp:2248 wnd = 0x82eee90 tlw = 0x80d2018 #12 0xb5fed2f0 in QGuiApplicationPrivate::processActivatedEvent (e=0xb1707510) at /srcbuild/qtbase/src/gui/kernel/qguiapplication.cpp:2001 previous = 0x0 newFocus = 0x82eee90 previousFocusObject = 0x0 #13 0xb5feb8ff in QGuiApplicationPrivate::processWindowSystemEvent ( e=0xb1707510) at /srcbuild/qtbase/src/gui/kernel/qguiapplication.cpp:1603 __PRETTY_FUNCTION__ = "static void QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)" #14 0xb5fd3376 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /srcbuild/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:608 event = 0xb1707510 nevents = 1 #15 0xb2296d8c in userEventSourceDispatch (source=0x8076580) at /srcbuild/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:70 userEventSource = 0x8076580 dispatcher = 0x80702e0 #16 0xb4036c84 in g_main_dispatch (context=<optimized out>) at gmain.c:3122 user_data = 0x0 callback = 0x0 cb_funcs = 0x805aa50 source = 0x8076580 current = 0x808ec88 i = 134589008 #17 g_main_context_dispatch (context=0x2) at gmain.c:3737 No locals. #18 0xb4036fa9 in g_main_context_iterate (context=0xb1703000, block=134589008, block@entry=1, dispatch=1, self=<optimized out>) at gmain.c:3808 max_priority = 0 timeout = 0 some_ready = 1 fds = 0x1 #19 0xb4037076 in g_main_context_iteration (context=0xb1703000, may_block=1) at gmain.c:3869 retval = <optimized out> #20 0xb5c335fc in QEventDispatcherGlib::processEvents (this=0x80702e0, flags=...) at /srcbuild/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:418 d = 0x806e5e8 canWait = true savedFlags = {i = 0} result = 187 #21 0xb2296fab in QPAEventDispatcherGlib::processEvents (this=0x80702e0, flags=...) at /srcbuild/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:115 No locals. #22 0xb5bb9493 in QEventLoop::processEvents (this=0xbffff028, flags=...) at /srcbuild/qtbase/src/corelib/kernel/qeventloop.cpp:128 d = 0x813cd90 #23 0xb5bb97a6 in QEventLoop::exec (this=0xbffff028, flags=...) at /srcbuild/qtbase/src/corelib/kernel/qeventloop.cpp:204 locker = {val = 134528984} __PRETTY_FUNCTION__ = "int QEventLoop::exec(QEventLoop::ProcessEventsFlags)" ref = {d = 0x813cd90, locker = @0xbfffefc4, exceptionCaught = true} app = 0xbffff0c8 d = 0x813cd90 #24 0xb5bbd2ff in QCoreApplication::exec () at /srcbuild/qtbase/src/corelib/kernel/qcoreapplication.cpp:1216 threadData = 0x804bf50 __PRETTY_FUNCTION__ = "static int QCoreApplication::exec()" eventLoop = {<QObject> = { _vptr.QObject = 0xb5f190a8 <vtable for QEventLoop+8>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0xb5d9e880 <qt_meta_stringdata_QObject>, data = 0xb5d9e980 <qt_meta_data_QObject>, static_metacall = 0xb5bfd194 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x813cd90}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0xb5decd80 <qt_meta_stringdata_Qt>, data = 0xb5df5480 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = { superdata = 0xb5f134b8 <QObject::staticMetaObject>, stringdata = 0xb5e01540 <qt_meta_stringdata_QEventLoop>, data = 0xb5e015c0 <qt_meta_data_QEventLoop>, static_metacall = 0xb5c9442c <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}} returnCode = -1235398668 #25 0xb5feb6be in QGuiApplication::exec () at /srcbuild/qtbase/src/gui/kernel/qguiapplication.cpp:1528 No locals. #26 0xb66d6071 in QApplication::exec () at /srcbuild/qtbase/src/widgets/kernel/qapplication.cpp:2973 No locals. #27 0xb7f7cef1 in kdemain () from /opt/lib/i386-linux-gnu/libkdeinit5_konqueror.so No symbol table info available. #28 0x080486dc in main () No symbol table info available. Reproducible: Always
I forgot to mention this is the Frameworks version
I think this is resolved, I can't replicate it...