Bug 485048

Summary: plasmashell crashed after switching desktop users
Product: [Plasma] plasmashell Reporter: Vadym Krevs <vkrevs>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 5.27.11   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vadym Krevs 2024-04-04 20:33:52 UTC
Application: plasmashell (5.27.11)

Qt Version: 5.15.12
Frameworks Version: 5.115.0
Operating System: Linux 5.14.21-150500.55.52-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.5"
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
After performing the steps in https://bugs.kde.org/show_bug.cgi?id=347772#c75, plasmashell  (in user1's session) crashes with this stacktrace. 

Sorry for missing Qt debug symbols.

This is because the openSUSE's KDE:/Qt5/openSUSE_Leap_15.5  repo now contains Qt5 5.15.13 which is not installable unless one enables and installes from Q6/Plasma6 repos.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007fcb21e785a0 in QSGAreaAllocator::deallocateInNode(QPoint const&, QSGAreaAllocatorNode*) () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fcb21e7862b in QSGAreaAllocator::deallocate(QRect const&) () at /usr/lib64/libQt5Quick.so.5
#6  0x00007fcb21e7fec7 in  () at /usr/lib64/libQt5Quick.so.5
#7  0x00007fcb21e7ff8c in  () at /usr/lib64/libQt5Quick.so.5
#8  0x00007fcb21e7ffa9 in  () at /usr/lib64/libQt5Quick.so.5
#9  0x00007fcb1a28a15d in std::default_delete<QSGTexture>::operator()(QSGTexture*) const (this=<optimized out>, __ptr=<optimized out>) at /usr/include/c++/7/bits/unique_ptr.h:78
#10 std::unique_ptr<QSGTexture, std::default_delete<QSGTexture> >::~unique_ptr() (this=0x7fca35a636e0, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/unique_ptr.h:263
#11 Plasma::WindowTextureProvider::~WindowTextureProvider() (this=0x7fca35a636d0, __in_chrg=<optimized out>) at /usr/src/debug/plasma-framework-5.115.0-lp155.403.2.x86_64/src/declarativeimports/core/windowthumbnail.h:153
#12 Plasma::WindowTextureProvider::~WindowTextureProvider() (this=0x7fca35a636d0, __in_chrg=<optimized out>) at /usr/src/debug/plasma-framework-5.115.0-lp155.403.2.x86_64/src/declarativeimports/core/windowthumbnail.h:153
#13 0x00007fcb21f25851 in QQuickWindowPrivate::runAndClearJobs(QList<QRunnable*>*) () at /usr/lib64/libQt5Quick.so.5
#14 0x00007fcb21ec436f in  () at /usr/lib64/libQt5Quick.so.5
#15 0x00007fcb21ec641e in  () at /usr/lib64/libQt5Quick.so.5
#16 0x00007fcb21eca74f in  () at /usr/lib64/libQt5Quick.so.5
#17 0x00007fcb200abf6c in  () at /usr/lib64/libQt5Core.so.5
#18 0x00007fcb226206ea in start_thread () at /lib64/libpthread.so.0
#19 0x00007fcb1fcaa58f in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7fca477fe700 (LWP 20694) "KCupsConnection"):
#1  0x00007fcb1e4acb49 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fcb1e4acc5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fcb2030823b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fcb202a465a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fcb200aa977 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fcb0a0b2af7 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#7  0x00007fcb200abf6c in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fcb226206ea in start_thread () at /lib64/libpthread.so.0
#9  0x00007fcb1fcaa58f in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7fca47fff700 (LWP 20642) "plasmashell"):
#1  0x00007fcb1d445ad3 in usbmuxd_listen_inotify () at /usr/lib64/libusbmuxd-2.0.so.6
#2  0x00007fcb1d446f33 in device_monitor () at /usr/lib64/libusbmuxd-2.0.so.6
#3  0x00007fcb226206ea in start_thread () at /lib64/libpthread.so.0
#4  0x00007fcb1fcaa58f in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fca9dffe700 (LWP 20476) "QQuickPixmapRea"):
#1  0x00007fcb1e4acb49 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fcb1e4acc5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fcb2030823b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fcb202a465a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fcb200aa977 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fcb21e0bae6 in  () at /usr/lib64/libQt5Quick.so.5
#7  0x00007fcb200abf6c in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fcb226206ea in start_thread () at /lib64/libpthread.so.0
#9  0x00007fcb1fcaa58f in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fcaccbfb700 (LWP 20449) "CPMMListener"):
#1  0x00007fcb0aaffd57 in  () at /usr/lib64/libnvidia-glcore.so.550.67
#2  0x00007fcb0aae1564 in  () at /usr/lib64/libnvidia-glcore.so.550.67
#3  0x00007fcb226206ea in start_thread () at /lib64/libpthread.so.0
#4  0x00007fcb1fcaa58f in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fcaf61fb700 (LWP 20418) "QSGRenderThread"):
#1  0x00007fcb200b287b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fcb21eca31a in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fcb21eca791 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fcb200abf6c in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fcb226206ea in start_thread () at /lib64/libpthread.so.0
#6  0x00007fcb1fcaa58f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fcb09dff700 (LWP 20111) "QQmlThread"):
#1  0x00007fcb1e4faad0 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fcb1e4ac5d0 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fcb1e4acaf0 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fcb1e4acc5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fcb2030823b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fcb202a465a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fcb200aa977 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007fcb21a8bbd5 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007fcb200abf6c in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007fcb226206ea in start_thread () at /lib64/libpthread.so.0
#11 0x00007fcb1fcaa58f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fcb133ff700 (LWP 19919) "QDBusConnection"):
#1  0x00007fcb1e4acb49 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fcb1e4acc5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fcb2030823b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fcb202a465a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fcb200aa977 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fcb20dce555 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007fcb200abf6c in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fcb226206ea in start_thread () at /lib64/libpthread.so.0
#9  0x00007fcb1fcaa58f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fcb1cc4aec0 (LWP 19907) "plasmashell"):
#1  0x00007fcb200b287b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fcb21ec725a in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007fcb21ec7d5a in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007fcb21f32768 in QQuickWindow::event(QEvent*) () at /usr/lib64/libQt5Quick.so.5
#5  0x00007fcb2105887c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#6  0x00007fcb2105f63f in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#7  0x00007fcb202a5df3 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#8  0x00007fcb206e1153 in QPlatformWindow::windowEvent(QEvent*) () at /usr/lib64/libQt5Gui.so.5
#9  0x00007fcb2105f461 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007fcb202a5df3 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#11 0x00007fcb203076a9 in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#12 0x00007fcb20307e71 in  () at /usr/lib64/libQt5Core.so.5
#13 0x00007fcb1e4ac82b in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#14 0x00007fcb1e4acbd0 in  () at /usr/lib64/libglib-2.0.so.0
#15 0x00007fcb1e4acc5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#16 0x00007fcb2030821c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#17 0x00007fcb202a465a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#18 0x00007fcb202ade97 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#19 0x0000557c77d90960 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma5-workspace-5.27.11-lp155.1.1.x86_64/shell/main.cpp:235
[Inferior 1 (process 19907) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2024-04-05 13:21:24 UTC

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