Bug 466236 - With NVIDIA GPU, plasmashell crashes in QSGSoftwareRenderableNode::update() when filtering in the Klipper history popup
Summary: With NVIDIA GPU, plasmashell crashes in QSGSoftwareRenderableNode::update() w...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard (show other bugs)
Version: 5.27.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 465962 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-02-22 10:04 UTC by Aleksey Kontsevich
Modified: 2023-03-14 13:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27.4


Attachments
plasmashell-20230222-115656.kcrash (18.83 KB, text/vnd.kde.kcrash-report)
2023-02-22 10:16 UTC, Aleksey Kontsevich
Details
plasma_error.txt (75.30 KB, text/plain)
2023-03-09 22:17 UTC, Aleksey Kontsevich
Details
plasma_error_2.txt (49.33 KB, text/plain)
2023-03-09 22:34 UTC, Aleksey Kontsevich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksey Kontsevich 2023-02-22 10:04:48 UTC
Application: plasmashell (5.27.0)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.12-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.0 [KCrashBackend]

-- Information about the crash:
Most often this happens when press Klipper hotkey - to show records at mouse position, type something - to filter records - crash/freeze.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f0220c4a9bc in QSGSoftwareRenderableNode::update (this=this@entry=0x7f0198035330) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarerenderablenode.cpp:187
#5  0x00007f0220c4b247 in QSGSoftwareRenderableNode::setTransform (this=this@entry=0x7f0198035330, transform=...) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarerenderablenode.cpp:368
#6  0x00007f0220c4f824 in QSGSoftwareRenderableNodeUpdater::updateRenderableNode<QSGImageNode> (this=0x7f020c01e250, type=<optimized out>, node=0x7f0198029280) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarerenderablenodeupdater_p.h:131
#7  0x00007f0220c09175 in QSGNodeVisitorEx::visitChildren (this=0x7f020c01e250, node=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/qsgadaptationlayer.cpp:519
#8  0x00007f0220c091db in QSGNodeVisitorEx::visitChildren (this=0x7f020c01e250, node=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/qsgadaptationlayer.cpp:528
#9  0x00007f0220c0919b in QSGNodeVisitorEx::visitChildren (this=0x7f020c01e250, node=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/qsgadaptationlayer.cpp:502
#10 0x00007f0220c0919b in QSGNodeVisitorEx::visitChildren (this=0x7f020c01e250, node=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/qsgadaptationlayer.cpp:502
#11 0x00007f0220c0921b in QSGNodeVisitorEx::visitChildren (this=0x7f020c01e250, node=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/qsgadaptationlayer.cpp:495
#12 0x00007f0220c0919b in QSGNodeVisitorEx::visitChildren (this=0x7f020c01e250, node=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/qsgadaptationlayer.cpp:502
#13 0x00007f0220c0919b in QSGNodeVisitorEx::visitChildren (this=0x7f020c01e250, node=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/qsgadaptationlayer.cpp:502
#14 0x00007f0220c0919b in QSGNodeVisitorEx::visitChildren (this=0x7f020c01e250, node=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/qsgadaptationlayer.cpp:502
#15 0x00007f0220c0919b in QSGNodeVisitorEx::visitChildren (this=this@entry=0x7f020c01e250, node=node@entry=0x7f019805c3b0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/qsgadaptationlayer.cpp:502
#16 0x00007f0220c4d707 in QSGSoftwareRenderableNodeUpdater::updateNodes (this=0x7f020c01e250, node=<optimized out>, node@entry=0x7f019805c3b0, isNodeRemoved=isNodeRemoved@entry=false) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarerenderablenodeupdater.cpp:277
#17 0x00007f0220c3f5f0 in QSGAbstractSoftwareRenderer::nodeAdded (this=this@entry=0x7f0198005620, node=node@entry=0x7f019805c3b0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgabstractsoftwarerenderer.cpp:261
#18 0x00007f0220c40ee5 in QSGAbstractSoftwareRenderer::nodeChanged (this=0x7f0198005620, node=0x7f019805c3b0, state=...) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgabstractsoftwarerenderer.cpp:102
#19 0x00007f0220c97fd2 in QQuickWindowPrivate::syncSceneGraph (this=this@entry=0x5649cbe06620) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/items/qquickwindow.cpp:521
#20 0x00007f0220c562bd in QSGSoftwareRenderThread::sync (this=this@entry=0x7f01a6186890, inExpose=inExpose@entry=true) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:437
#21 0x00007f0220c56d92 in QSGSoftwareRenderThread::syncAndRender (this=this@entry=0x7f01a6186890) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:480
#22 0x00007f0220c5724e in QSGSoftwareRenderThread::run (this=0x7f01a6186890) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:399
#23 0x00007f021ecf5e3d in QThreadPrivate::start (arg=0x7f01a6186890) at thread/qthread_unix.cpp:330
#24 0x00007f021e692615 in start_thread () from /lib64/libc.so.6
#25 0x00007f021e718c60 in clone3 () from /lib64/libc.so.6

Thread 11 (Thread 0x7f02023ff6c0 (LWP 26644) "QSGSoftwareRend"):
#1  0x00007f021e691960 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f021ecfb74b in QWaitConditionPrivate::wait (deadline=..., this=0x5649d4a6aa70) at thread/qwaitcondition_unix.cpp:146
#3  QWaitCondition::wait (this=this@entry=0x5649ca382310, mutex=mutex@entry=0x5649ca382308, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f0220c55ff1 in QSGSoftwareEventQueue::takeEvent (wait=true, this=0x5649ca382300) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:146
#5  QSGSoftwareRenderThread::processEventsAndWaitForMore (this=this@entry=0x5649ca3822a0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:379
#6  0x00007f0220c57281 in QSGSoftwareRenderThread::run (this=0x5649ca3822a0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:407
#7  0x00007f021ecf5e3d in QThreadPrivate::start (arg=0x5649ca3822a0) at thread/qthread_unix.cpp:330
#8  0x00007f021e692615 in start_thread () from /lib64/libc.so.6
#9  0x00007f021e718c60 in clone3 () from /lib64/libc.so.6

Thread 10 (Thread 0x7f01c60db6c0 (LWP 26493) "QSGSoftwareRend"):
#1  0x00007f021e691960 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f021ecfb74b in QWaitConditionPrivate::wait (deadline=..., this=0x7f020c00b670) at thread/qwaitcondition_unix.cpp:146
#3  QWaitCondition::wait (this=this@entry=0x5649cc63e570, mutex=mutex@entry=0x5649cc63e568, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f0220c55ff1 in QSGSoftwareEventQueue::takeEvent (wait=true, this=0x5649cc63e560) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:146
#5  QSGSoftwareRenderThread::processEventsAndWaitForMore (this=this@entry=0x5649cc63e500) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:379
#6  0x00007f0220c57281 in QSGSoftwareRenderThread::run (this=0x5649cc63e500) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:407
#7  0x00007f021ecf5e3d in QThreadPrivate::start (arg=0x5649cc63e500) at thread/qthread_unix.cpp:330
#8  0x00007f021e692615 in start_thread () from /lib64/libc.so.6
#9  0x00007f021e718c60 in clone3 () from /lib64/libc.so.6

Thread 9 (Thread 0x7f01c7fff6c0 (LWP 26435) "plasmashell"):
#1  0x00007f021d078b4f in usbmuxd_listen_inotify () at /usr/src/debug/libusbmuxd-2.0.2-1.11.x86_64/src/libusbmuxd.c:923
#2  0x00007f021d0797e3 in usbmuxd_listen () at /usr/src/debug/libusbmuxd-2.0.2-1.11.x86_64/src/libusbmuxd.c:979
#3  device_monitor (data=<optimized out>) at /usr/src/debug/libusbmuxd-2.0.2-1.11.x86_64/src/libusbmuxd.c:1107
#4  0x00007f021e692615 in start_thread () from /lib64/libc.so.6
#5  0x00007f021e718c60 in clone3 () from /lib64/libc.so.6

Thread 8 (Thread 0x7f01cc9ff6c0 (LWP 26434) "KCupsConnection"):
#1  0x00007f021daacdbe in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f021daacedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f021ef33c2e in QEventDispatcherGlib::processEvents (this=0x7f01ac000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f021eedac5b in QEventLoop::exec (this=this@entry=0x7f01cc9febc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f021ecf4c47 in QThread::exec (this=this@entry=0x5649cd408cb0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f01e84e4f07 in KCupsConnection::run (this=0x5649cd408cb0) at /usr/src/debug/print-manager-22.12.2/libkcups/KCupsConnection.cpp:289
#7  0x00007f021ecf5e3d in QThreadPrivate::start (arg=0x5649cd408cb0) at thread/qthread_unix.cpp:330
#8  0x00007f021e692615 in start_thread () from /lib64/libc.so.6
#9  0x00007f021e718c60 in clone3 () from /lib64/libc.so.6

Thread 7 (Thread 0x7f01cd5ce6c0 (LWP 26433) "QQuickXmlQueryE"):
#1  0x00007f021daacdbe in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f021daacedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f021ef33c2e in QEventDispatcherGlib::processEvents (this=0x7f01b4000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f021eedac5b in QEventLoop::exec (this=this@entry=0x7f01cd5cdbe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f021ecf4c47 in QThread::exec (this=this@entry=0x5649cd1d6f30) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f01e8b22895 in QQuickXmlQueryEngine::run (this=0x5649cd1d6f30) at /usr/src/debug/qtxmlpatterns-everywhere-src-5.15.8+kde0/src/imports/xmllistmodel/qqmlxmllistmodel.cpp:325
#7  0x00007f021ecf5e3d in QThreadPrivate::start (arg=0x5649cd1d6f30) at thread/qthread_unix.cpp:330
#8  0x00007f021e692615 in start_thread () from /lib64/libc.so.6
#9  0x00007f021e718c60 in clone3 () from /lib64/libc.so.6

Thread 6 (Thread 0x7f01eb8ab6c0 (LWP 26423) "QSGSoftwareRend"):
#1  0x00007f021e691960 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f021ecfb74b in QWaitConditionPrivate::wait (deadline=..., this=0x7f021402a950) at thread/qwaitcondition_unix.cpp:146
#3  QWaitCondition::wait (this=this@entry=0x5649cbdce480, mutex=mutex@entry=0x5649cbdce478, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f0220c55ff1 in QSGSoftwareEventQueue::takeEvent (wait=true, this=0x5649cbdce470) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:146
#5  QSGSoftwareRenderThread::processEventsAndWaitForMore (this=this@entry=0x5649cbdce410) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:379
#6  0x00007f0220c57281 in QSGSoftwareRenderThread::run (this=0x5649cbdce410) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:407
#7  0x00007f021ecf5e3d in QThreadPrivate::start (arg=0x5649cbdce410) at thread/qthread_unix.cpp:330
#8  0x00007f021e692615 in start_thread () from /lib64/libc.so.6
#9  0x00007f021e718c60 in clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7f01f559b6c0 (LWP 26418) "QQuickPixmapRea"):
#1  0x00007f021daac271 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#2  0x00007f021daaccf3 in ?? () from /lib64/libglib-2.0.so.0
#3  0x00007f021daacedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f021ef33c2e in QEventDispatcherGlib::processEvents (this=0x7f01d4000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f021eedac5b in QEventLoop::exec (this=this@entry=0x7f01f559abc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f021ecf4c47 in QThread::exec (this=this@entry=0x5649cb528740) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f0220b86016 in QQuickPixmapReader::run (this=0x5649cb528740) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/util/qquickpixmapcache.cpp:1024
#8  0x00007f021ecf5e3d in QThreadPrivate::start (arg=0x5649cb528740) at thread/qthread_unix.cpp:330
#9  0x00007f021e692615 in start_thread () from /lib64/libc.so.6
#10 0x00007f021e718c60 in clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7f020b3fb6c0 (LWP 26407) "Qt bearer threa"):
#1  0x00007f021daacdbe in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f021daacedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f021ef33c2e in QEventDispatcherGlib::processEvents (this=0x7f01fc000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f021eedac5b in QEventLoop::exec (this=this@entry=0x7f020b3fac00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f021ecf4c47 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f021ecf5e3d in QThreadPrivate::start (arg=0x5649cacf5420) at thread/qthread_unix.cpp:330
#7  0x00007f021e692615 in start_thread () from /lib64/libc.so.6
#8  0x00007f021e718c60 in clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7f020bfff6c0 (LWP 26402) "QQmlThread"):
#1  0x00007f021e6dbbbd in clock_gettime@GLIBC_2.2.5 () from /lib64/libc.so.6
#2  0x00007f021ef33571 in qt_clock_gettime (ts=0x7f020bffe940, clock=1) at kernel/qelapsedtimer_unix.cpp:111
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007f021ef31ef9 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f0204004910) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f021ef324f5 in QTimerInfoList::timerWait (this=0x7f0204004910, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f021ef33e7e in timerSourcePrepareHelper (timeout=0x7f020bffea14, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:133
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f020bffea14) at kernel/qeventdispatcher_glib.cpp:166
#9  0x00007f021daac285 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#10 0x00007f021daaccf3 in ?? () from /lib64/libglib-2.0.so.0
#11 0x00007f021daacedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#12 0x00007f021ef33c2e in QEventDispatcherGlib::processEvents (this=0x7f0204000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007f021eedac5b in QEventLoop::exec (this=this@entry=0x7f020bffebe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#14 0x00007f021ecf4c47 in QThread::exec (this=this@entry=0x5649cac0c370) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#15 0x00007f022073f175 in QQmlThreadPrivate::run (this=0x5649cac0c370) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/qml/qml/ftw/qqmlthread.cpp:155
#16 0x00007f021ecf5e3d in QThreadPrivate::start (arg=0x5649cac0c370) at thread/qthread_unix.cpp:330
#17 0x00007f021e692615 in start_thread () from /lib64/libc.so.6
#18 0x00007f021e718c60 in clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f021a2036c0 (LWP 26398) "QDBusConnection"):
#1  0x00007f021daacdbe in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f021daacedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f021ef33c2e in QEventDispatcherGlib::processEvents (this=0x7f0214000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f021eedac5b in QEventLoop::exec (this=this@entry=0x7f021a202bd0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f021ecf4c47 in QThread::exec (this=this@entry=0x7f0220397060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f022031e277 in QDBusConnectionManager::run (this=0x7f0220397060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007f021ecf5e3d in QThreadPrivate::start (arg=0x7f0220397060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330
#8  0x00007f021e692615 in start_thread () from /lib64/libc.so.6
#9  0x00007f021e718c60 in clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f02211e8e40 (LWP 26395) "plasmashell"):
#1  0x00007f021e691960 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2  0x00007f021ecfb74b in QWaitConditionPrivate::wait (deadline=..., this=0x5649ce3c8ad0) at thread/qwaitcondition_unix.cpp:146
#3  QWaitCondition::wait (this=<optimized out>, mutex=0x7f01a61868c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#4  0x00007f0220c5793e in QSGSoftwareThreadedRenderLoop::polishAndSync (this=this@entry=0x5649cae426c0, w=w@entry=0x5649d4efa000, inExpose=inExpose@entry=true) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:990
#5  0x00007f0220c5820a in QSGSoftwareThreadedRenderLoop::handleExposure (this=0x5649cae426c0, window=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.8+kde22/src/quick/scenegraph/adaptations/software/qsgsoftwarethreadedrenderloop.cpp:874
#6  0x00007f021f3878b5 in QWindow::event (this=0x5649cb2eb3b0, ev=<optimized out>) at kernel/qwindow.cpp:2455
#7  0x00007f0211366ed5 in ToolTipDialog::event (this=0x5649cb2eb3b0, e=0x7ffe4d92da00) at /usr/src/debug/plasma-framework-5.103.0/src/declarativeimports/core/tooltipdialog.cpp:88
#8  0x00007f021fda544e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5649cb2eb3b0, e=0x7ffe4d92da00) at kernel/qapplication.cpp:3640
#9  0x00007f021eedc1e8 in QCoreApplication::notifyInternal2 (receiver=0x5649cb2eb3b0, event=0x7ffe4d92da00) at kernel/qcoreapplication.cpp:1064
#10 0x00007f021f37cc1d in QGuiApplicationPrivate::processExposeEvent (e=0x7f020c0133a0) at kernel/qguiapplication.cpp:3261
#11 0x00007f021f34f26c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#12 0x00007f021a31814a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#13 0x00007f021daaca90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#14 0x00007f021daace48 in ?? () from /lib64/libglib-2.0.so.0
#15 0x00007f021daacedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#16 0x00007f021ef33c16 in QEventDispatcherGlib::processEvents (this=0x5649ca376a40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#17 0x00007f021eedac5b in QEventLoop::exec (this=this@entry=0x7ffe4d92dc70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#18 0x00007f021eee2dc6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#19 0x00007f021f36ed3c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#20 0x00007f021fda53c5 in QApplication::exec () at kernel/qapplication.cpp:2832
#21 0x00005649c9864c19 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.27.0/shell/main.cpp:235
[Inferior 1 (process 26395) detached]

Reported using DrKonqi
Comment 1 Aleksey Kontsevich 2023-02-22 10:16:08 UTC
Created attachment 156600 [details]
plasmashell-20230222-115656.kcrash

Backtrace
Comment 2 Nate Graham 2023-02-22 17:52:59 UTC
*** Bug 465962 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2023-02-22 17:55:39 UTC
Reproduction steps from other bug report:
1. Press Klipper hotkey to show history  at mouse position
2. Switch to cyrillic
3. Type something to filter records 
4. crash/freeze.
Comment 4 Nate Graham 2023-02-22 17:56:31 UTC
Just tried that and it didn't happen to me.

The backtrace indicates that it's deep in graphics code. What kind of GPU do you have? And have you forced Plasma or KWin to use a non-default rendering mode?
Comment 5 Aleksey Kontsevich 2023-02-22 18:22:41 UTC
(In reply to Nate Graham from comment #4)
> Just tried that and it didn't happen to me.
> 
> The backtrace indicates that it's deep in graphics code. What kind of GPU do
> you have? 

> inxi -SGa
System:
  Host: Aleksey Kernel: 6.1.12-1-default arch: x86_64 bits: 64 compiler: gcc
    v: 12.2.1 parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.12-1-default
    root=UUID=24fbaf81-79f0-4b37-b08e-b1d709ed97e7 splash=silent
    resume=/dev/disk/by-uuid/a58af199-9a71-4f77-9547-30a7871438e8
    mitigations=auto quiet security=apparmor nosimplefb=1
  Desktop: KDE Plasma v: 5.27.0 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 7 dm: SDDM
    Distro: openSUSE Tumbleweed 20230221
Graphics:
  Device-1: NVIDIA GA106 [Geforce RTX 3050] vendor: ASUSTeK driver: nvidia
    v: 525.89.02 alternate: nouveau,nvidia_drm non-free: 520.xx+
    status: current (as of 2022-10) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 2 speed: 5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none
    off: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0 chip-ID: 10de:2507
    class-ID: 0300
  Device-2: Logitech C920 PRO HD Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 5-2:3 chip-ID: 046d:08e5
    class-ID: 0102
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
    compositor: kwin_x11 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,vesa alternate: nouveau,nv
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 192 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 note: disabled model: Samsung
    serial: 16780800 built: 2021 res: 3840x2160 dpi: 103 gamma: 1.2
    size: 950x540mm (37.4x21.26") diag: 1093mm (43") ratio: 16:9 modes:
    max: 3840x2160 min: 640x480
  API: OpenGL v: 4.6.0 NVIDIA 525.89.02 renderer: NVIDIA GeForce RTX
    3050/PCIe/SSE2 direct render: Yes

>And have you forced Plasma or KWin to use a non-default rendering mode?
Tried OpenGl or Automatic - what else?
Comment 6 Nate Graham 2023-02-22 21:27:32 UTC
All right, NVIDIA GPU with the proprietary drivers, thanks.
Comment 7 Aleksey Kontsevich 2023-02-22 21:41:43 UTC
Crashes also with Latin keyboard, also when browsing in chrome based browser, etc.
Comment 8 Aleksey Kontsevich 2023-02-27 17:30:55 UTC
(In reply to Aleksey Kontsevich from comment #0)
> Most often this happens when press Klipper hotkey - to show records at mouse
> position, type something - to filter records - crash/freeze.

Of course it also crashes very often accidentally without any reason as well. Please fix. Same crashes are in 5.27.1 version.
Comment 9 Fabian Vogt 2023-03-03 07:28:23 UTC
Apparently you use the QML software renderer. That should not be the case, did you configure that explicitly in kcmshell kcm_qtquicksettings?
Comment 10 Aleksey Kontsevich 2023-03-03 07:31:54 UTC
(In reply to Fabian Vogt from comment #9)
> Apparently you use the QML software renderer. That should not be the case,
> did you configure that explicitly in kcmshell kcm_qtquicksettings?

No, after the crash "kcmshell5 kcm_qtquicksettings" appeared for me so I tried any variants: Program, OpenGL, Automatic - all crashes.
Comment 11 Fabian Vogt 2023-03-09 19:40:36 UTC
(In reply to Aleksey Kontsevich from comment #10)
> (In reply to Fabian Vogt from comment #9)
> > Apparently you use the QML software renderer. That should not be the case,
> > did you configure that explicitly in kcmshell kcm_qtquicksettings?
> 
> No, after the crash "kcmshell5 kcm_qtquicksettings" appeared for me so I
> tried any variants: Program, OpenGL, Automatic - all crashes.

Please switch to OpenGL, when it crashes again attach a backtrace.
Comment 12 Aleksey Kontsevich 2023-03-09 19:42:47 UTC
> > No, after the crash "kcmshell5 kcm_qtquicksettings" appeared for me so I
> > tried any variants: Program, OpenGL, Automatic - all crashes.
> 
> Please switch to OpenGL, when it crashes again attach a backtrace.

Already switched, but problem is crash sender UI never appears, while it crashes or freezes all the time.
Comment 13 Fabian Vogt 2023-03-09 19:44:16 UTC
(In reply to Aleksey Kontsevich from comment #12)
> > > No, after the crash "kcmshell5 kcm_qtquicksettings" appeared for me so I
> > > tried any variants: Program, OpenGL, Automatic - all crashes.
> > 
> > Please switch to OpenGL, when it crashes again attach a backtrace.
> 
> Already switched, but problem is crash sender UI never appears, while it
> crashes or freezes all the time.

If it's frozen (or crashed but somehow hangs instead of restarting), you can run

gdb -ex "thread apply all bt" -ex "kill" -ex "q" -p $(pidof plasmashell)
Comment 14 Aleksey Kontsevich 2023-03-09 22:17:34 UTC
Created attachment 157159 [details]
plasma_error.txt
Comment 15 Aleksey Kontsevich 2023-03-09 22:21:12 UTC
(In reply to Fabian Vogt from comment #13)
> If it's frozen (or crashed but somehow hangs instead of restarting), you can
> run
> 
> gdb -ex "thread apply all bt" -ex "kill" -ex "q" -p $(pidof plasmashell)

That was tricky: Klipper filtering freezes plasma hardly - several CPU completely loaded, no keyboard response, so forced to do this in virtual terminal switching by Ctrl-Alt-F1 and redirect output to a file - see attachment below.

See Attachment #157159 [details].
Comment 16 Aleksey Kontsevich 2023-03-09 22:34:05 UTC
Created attachment 157160 [details]
plasma_error_2.txt
Comment 17 Aleksey Kontsevich 2023-03-09 22:35:39 UTC
Right after the 1st crash (freeze), 2nd one happened accidentally (did nothing at that time: browsing in chrome based browser). See Attachment #157160 [details].
Comment 18 Aleksey Kontsevich 2023-03-09 22:44:04 UTC
(In reply to Aleksey Kontsevich from comment #17)
> Right after the 1st crash (freeze), 2nd one happened accidentally (did
> nothing at that time: browsing in chrome based browser). See Attachment
> #157160 [details].

3rd crash just happened then auto-restarted - so was unable to catch the stack trace.
Comment 19 Fabian Vogt 2023-03-10 07:26:46 UTC
I see that plasmashell still uses the software renderer, so the switch to OpenGL did not work.

However, it looks like in both backtraces it's busy in clipboard history code. In plasma_error_2.txt, it's saving a copied image to disk.
Comment 20 Aleksey Kontsevich 2023-03-10 11:00:39 UTC
(In reply to Fabian Vogt from comment #19)
> I see that plasmashell still uses the software renderer, so the switch to
> OpenGL did not work.

Another bug?

> However, it looks like in both backtraces it's busy in clipboard history
> code. In plasma_error_2.txt, it's saving a copied image to disk.

What was changed in 5.27 that causes it?!
Comment 21 Fushan Wen 2023-03-10 11:29:30 UTC
If you clear the clipboard history, will the bug still exist?
Comment 22 Aleksey Kontsevich 2023-03-10 12:03:34 UTC
(In reply to Fushan Wen from comment #21)
> If you clear the clipboard history, will the bug still exist?

Cleared, copied some. With 1 record - no. Will check further when have more records. Why does not switch to OpenGL, how to switch?
Comment 23 Bug Janitor Service 2023-03-10 12:05:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2730
Comment 24 Fushan Wen 2023-03-14 13:45:44 UTC
Git commit b34c60956fe858f123dcdde7ee6322b986a795f6 by Fushan Wen.
Committed on 14/03/2023 at 13:44.
Pushed by fusionfuture into branch 'Plasma/5.27'.

klipper: remove duplicate items when loading from history

Due to a catastrophic bug existing in 5.27 beta and 5.27.0, there could
be duplicate items in klipper's history file, so filter them out here.

The popup menu will try to read `item->next_uuid()` in a loop to fill the menu, hence it's possible to create an infinite loop when there are duplicate items.
Related: bug 465225
FIXED-IN: 5.27.4

M  +9    -0    klipper/klipper.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/b34c60956fe858f123dcdde7ee6322b986a795f6