Bug 447407

Summary: plasma crashes in Plasma::WindowTextureProvider::~WindowTextureProvider when installing packages or changing scrap settings
Product: [Plasma] plasmashell Reporter: eiskboy
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.23.4   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description eiskboy 2021-12-23 06:22:41 UTC
Application: plasmashell (5.23.4)

Qt Version: 5.15.3
Frameworks Version: 5.89.0
Operating System: Linux 5.11.0-43-generic x86_64
Windowing System: X11
Distribution: KDE neon User - Plasma 25th Anniversary Edition
DrKonqi: 5.23.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:

менял системные настройки, связанные с внешним видом, батареей, экраном. параллльно обновлялись системные пакеты
- Custom settings of the application:

The crash can be reproduced sometimes.

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

[New LWP 1139]
[New LWP 1244]
[New LWP 1271]
[New LWP 1275]
[New LWP 1280]
[New LWP 1284]
[New LWP 1288]
[New LWP 1297]
[New LWP 1420]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56288e8f5750) at ../sysdeps/nptl/futex-internal.h:183
__preamble__
[Current thread is 1 (Thread 0x7fca2dc6a9c0 (LWP 1087))]

Thread 10 (Thread 0x7fca0d185700 (LWP 1420)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56288f3b6924) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56288f3b68d0, cond=0x56288f3b68f8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56288f3b68f8, mutex=0x56288f3b68d0) at pthread_cond_wait.c:638
#3  0x00007fca31ebb5cb in QWaitConditionPrivate::wait (deadline=..., this=0x56288f3b68d0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x56289070c698, mutex=mutex@entry=0x56289070c690, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fca33b25c24 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x56289070c688) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x56289070c5f0) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007fca33b26099 in QSGRenderThread::run (this=0x56289070c5f0) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007fca31eb545c in QThreadPrivate::start (arg=0x56289070c5f0) at thread/qthread_unix.cpp:329
#9  0x00007fca30df0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fca31b33293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fc9ea01d700 (LWP 1297)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562890306500) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5628903064b0, cond=0x5628903064d8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5628903064d8, mutex=0x5628903064b0) at pthread_cond_wait.c:638
#3  0x00007fca31ebb5cb in QWaitConditionPrivate::wait (deadline=..., this=0x5628903064b0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x5628902e3778, mutex=mutex@entry=0x5628902e3770, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fca33b25c24 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x5628902e3768) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x5628902e36d0) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007fca33b26099 in QSGRenderThread::run (this=0x5628902e36d0) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007fca31eb545c in QThreadPrivate::start (arg=0x5628902e36d0) at thread/qthread_unix.cpp:329
#9  0x00007fca30df0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fca31b33293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fc9eb0fd700 (LWP 1288)):
[KCrash Handler]
#4  QSGAreaAllocator::deallocateInNode (this=this@entry=0x7fc9e4174020, pos=..., node=0x0) at scenegraph/util/qsgareaallocator.cpp:170
#5  0x00007fca33ad3daa in QSGAreaAllocator::deallocate (this=this@entry=0x7fc9e4174020, rect=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpoint.h:124
#6  0x00007fca33ada583 in QSGOpenGLAtlasTexture::AtlasBase::remove (this=0x7fc9e4174010, t=0x7fc9e48f2340) at scenegraph/util/qsgopenglatlastexture.cpp:286
#7  0x00007fca33ada6c1 in QSGOpenGLAtlasTexture::Texture::~Texture (this=0x7fc9e48f2340, __in_chrg=<optimized out>) at scenegraph/util/qsgopenglatlastexture.cpp:516
#8  0x00007fca33ada6dd in QSGOpenGLAtlasTexture::Texture::~Texture (this=0x7fc9e48f2340, __in_chrg=<optimized out>) at scenegraph/util/qsgopenglatlastexture.cpp:539
#9  0x00007fca1eda2bc1 in QScopedPointerDeleter<QSGTexture>::cleanup (pointer=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:52
#10 QScopedPointer<QSGTexture, QScopedPointerDeleter<QSGTexture> >::~QScopedPointer (this=0x7fc9e48a7d40, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:107
#11 Plasma::WindowTextureProvider::~WindowTextureProvider (this=0x7fc9e48a7d30, __in_chrg=<optimized out>) at ./src/declarativeimports/core/windowthumbnail.h:149
#12 Plasma::WindowTextureProvider::~WindowTextureProvider (this=0x7fc9e48a7d30, __in_chrg=<optimized out>) at ./src/declarativeimports/core/windowthumbnail.h:149
#13 0x00007fca33b26dd2 in QSGRenderThread::event (this=0x56288df7d750, e=0x56288f3cbbf0) at scenegraph/qsgthreadedrenderloop.cpp:394
#14 0x00007fca33b25bc4 in QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x56288df7d750) at scenegraph/qsgthreadedrenderloop.cpp:937
#15 0x00007fca33b26099 in QSGRenderThread::run (this=0x56288df7d750) at scenegraph/qsgthreadedrenderloop.cpp:1053
#16 0x00007fca31eb545c in QThreadPrivate::start (arg=0x56288df7d750) at thread/qthread_unix.cpp:329
#17 0x00007fca30df0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#18 0x00007fca31b33293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fc9ff1f4700 (LWP 1284)):
#0  __GI___libc_read (nbytes=16, buf=0x7fc9ff1f3990, fd=44) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=44, buf=0x7fc9ff1f3990, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fca30407b2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fca303beebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fca303bf312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fca303bf4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fca320f661b in QEventDispatcherGlib::processEvents (this=0x7fc9ec003290, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007fca3209a8ab in QEventLoop::exec (this=this@entry=0x7fc9ff1f3ba0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007fca31eb42c2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007fc9ebd9007c in KCupsConnection::run() () from /lib/x86_64-linux-gnu/libkcupslib.so
#10 0x00007fca31eb545c in QThreadPrivate::start (arg=0x56288e561390) at thread/qthread_unix.cpp:329
#11 0x00007fca30df0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007fca31b33293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fca0c984700 (LWP 1280)):
#0  0x00007fca31b2912b in __GI___select (nfds=37, readfds=0x7fca0c983ba0, writefds=0x0, exceptfds=0x0, timeout=0x7fca0c983b90) at ../sysdeps/unix/sysv/linux/select.c:41
#1  0x00007fca25efc7f1 in ?? () from /lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#2  0x00007fca25efa288 in ?? () from /lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#3  0x00007fca30df0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#4  0x00007fca31b33293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fca1cc80700 (LWP 1275)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fca14005a44) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fca140059f0, cond=0x7fca14005a18) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7fca14005a18, mutex=0x7fca140059f0) at pthread_cond_wait.c:638
#3  0x00007fca31ebb5cb in QWaitConditionPrivate::wait (deadline=..., this=0x7fca140059f0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x7fca2000bb38, mutex=mutex@entry=0x7fca2000bb30, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fca33b25c24 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x7fca2000bb28) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x7fca2000ba90) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007fca33b26099 in QSGRenderThread::run (this=0x7fca2000ba90) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007fca31eb545c in QThreadPrivate::start (arg=0x7fca2000ba90) at thread/qthread_unix.cpp:329
#9  0x00007fca30df0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007fca31b33293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fca1d9d7700 (LWP 1271)):
#0  0x00007fca31b26aff in __GI___poll (fds=0x7fca100607a0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fca303bf36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fca303bf4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fca320f661b in QEventDispatcherGlib::processEvents (this=0x7fca10061320, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fca3209a8ab in QEventLoop::exec (this=this@entry=0x7fca1d9d6ba0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fca31eb42c2 in QThread::exec (this=this@entry=0x56288dc378d0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fca33a603fa in QQuickPixmapReader::run (this=0x56288dc378d0) at util/qquickpixmapcache.cpp:1024
#7  0x00007fca31eb545c in QThreadPrivate::start (arg=0x56288dc378d0) at thread/qthread_unix.cpp:329
#8  0x00007fca30df0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fca31b33293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fca1ffff700 (LWP 1244)):
#0  __GI___libc_read (nbytes=16, buf=0x7fca1fffe9b0, fd=21) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=21, buf=0x7fca1fffe9b0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fca30407b2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fca303beebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fca303bf312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fca303bf4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fca320f661b in QEventDispatcherGlib::processEvents (this=0x7fca18000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007fca3209a8ab in QEventLoop::exec (this=this@entry=0x7fca1fffebc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007fca31eb42c2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007fca336c6549 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007fca31eb545c in QThreadPrivate::start (arg=0x56288d2f48c0) at thread/qthread_unix.cpp:329
#11 0x00007fca30df0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007fca31b33293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fca27fff700 (LWP 1139)):
#0  0x00007fca303bb8ed in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fca303bd345 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fca303becbf in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fca303bf312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fca303bf4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fca320f661b in QEventDispatcherGlib::processEvents (this=0x7fca20000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fca3209a8ab in QEventLoop::exec (this=this@entry=0x7fca27ffebb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007fca31eb42c2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007fca32a27f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fca31eb545c in QThreadPrivate::start (arg=0x7fca32aabd80) at thread/qthread_unix.cpp:329
#10 0x00007fca30df0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007fca31b33293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fca2dc6a9c0 (LWP 1087)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x56288e8f5750) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56288e8f5700, cond=0x56288e8f5728) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56288e8f5728, mutex=0x56288e8f5700) at pthread_cond_wait.c:638
#3  0x00007fca31ebb5cb in QWaitConditionPrivate::wait (deadline=..., this=0x56288e8f5700) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x56288df7d7a8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007fca33b24217 in QSGThreadedRenderLoop::polishAndSync (this=this@entry=0x56288d660760, w=0x7fca2800aab0, inExpose=inExpose@entry=false) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  0x00007fca33b24df4 in QSGThreadedRenderLoop::handleUpdateRequest (this=0x56288d660760, window=0x56288dc4fc00) at scenegraph/qsgthreadedrenderloop.cpp:1430
#7  0x00007fca33b8ffa7 in QQuickWindow::event (this=this@entry=0x56288dc4fc00, e=e@entry=0x7fffac7b66a0) at items/qquickwindow.cpp:1857
#8  0x000056288cfcc3e7 in PanelView::event (this=0x56288dc4fc00, e=0x7fffac7b66a0) at ./shell/panelview.cpp:1022
#9  0x00007fca32dacdc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007fca32db5bb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fca3209bdaa in QCoreApplication::notifyInternal2 (receiver=0x56288dc4fc00, event=0x7fffac7b66a0) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#12 0x00007fca3246ed54 in QPlatformWindow::windowEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#13 0x00007fca32db5a83 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007fca3209bdaa in QCoreApplication::notifyInternal2 (receiver=0x56288dc4fc00, event=0x7fffac7b6930) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#15 0x00007fca320f5950 in QTimerInfoList::activateTimers (this=0x56288d13c6f0) at kernel/qtimerinfo_unix.cpp:643
#16 0x00007fca320f6284 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#17 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230
#18 0x00007fca303bf17d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fca303bf400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fca303bf4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fca320f6602 in QEventDispatcherGlib::processEvents (this=0x56288d136370, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#22 0x00007fca3209a8ab in QEventLoop::exec (this=this@entry=0x7fffac7b6b70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#23 0x00007fca320a2a64 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#24 0x000056288cfb1cf5 in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:238
[Inferior 1 (process 1087) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2022-01-11 23:10:24 UTC

*** This bug has been marked as a duplicate of bug 445893 ***