Bug 414083

Summary: Plasma crashes after login
Product: [Plasma] plasmashell Reporter: Alexander Ivers <ajivers>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aacid, costar57, dantti12, lobo, materka, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.16.5   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Alexander Ivers 2019-11-13 04:02:21 UTC
Application: plasmashell (5.16.5)

Qt Version: 5.12.4
Frameworks Version: 5.62.0
Operating System: Linux 5.3.0-22-generic x86_64
Distribution: Ubuntu 19.10

-- Information about the crash:
After login I get a black screen and nothing responds after I get the message that KDE plasma has crashed. Applications that were previously open before problem occured still opened.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8fd340a880 (LWP 1262))]

Thread 8 (Thread 0x7f8fb65de700 (LWP 1514)):
#0  0x00007fffa0baf933 in clock_gettime ()
#1  0x00007f8fd992b12b in __GI___clock_gettime (clock_id=1, tp=0x7f8fb65ddb00) at ../sysdeps/unix/sysv/linux/clock_gettime.c:33
#2  0x00007f8fd9eb6f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f8fd9eb582d in QTimerInfoList::updateCurrentTime() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f8fd9eb7e65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8fd8389471 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f8fd83899e2 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f8fd8389b73 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f8fd9eb76c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f8fd9e5e63b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f8fd9c97a75 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f8fd9c98cc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f8fd911b669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#13 0x00007f8fd991d323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f8fb6de5700 (LWP 1513)):
#0  0x00007fffa0baf933 in clock_gettime ()
#1  0x00007f8fd992b12b in __GI___clock_gettime (clock_id=1, tp=0x7f8fb6de4a50) at ../sysdeps/unix/sysv/linux/clock_gettime.c:33
#2  0x00007f8fd9eb6f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f8fd9eb582d in QTimerInfoList::updateCurrentTime() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f8fd9eb5e09 in QTimerInfoList::timerWait(timespec&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8fd9eb7416 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f8fd8388fbf in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f8fd838996b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f8fd8389b73 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f8fd9eb76c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f8fd9e5e63b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f8fd9c97a75 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f8fb75d101c in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#13 0x00007f8fd9c98cc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f8fd911b669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#15 0x00007f8fd991d323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f8fbec29700 (LWP 1487)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x561b87027e34) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x561b87027de0, cond=0x561b87027e08) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x561b87027e08, mutex=0x561b87027de0) at pthread_cond_wait.c:638
#3  0x00007f8fd9c9edef in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f8fd9c9eee1 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8fdbab77b9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f8fdbab7a1a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f8fd9c98cc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f8fd911b669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007f8fd991d323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f8fbf8a0700 (LWP 1484)):
#0  0x00007f8fd83d5c3d in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f8fd83895fa in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8fd8389ad0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8fd8389b73 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8fd9eb76c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8fd9e5e63b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f8fd9c97a75 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f8fdba2f8aa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f8fd9c98cc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f8fd911b669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#10 0x00007f8fd991d323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f8fcbfff700 (LWP 1426)):
#0  0x00007f8fd8389594 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f8fd83899e2 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8fd8389b73 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8fd9eb76c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f8fd9e5e63b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8fd9c97a75 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f8fdb75a319 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f8fd9c98cc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f8fd911b669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007f8fd991d323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f8fd1782700 (LWP 1294)):
#0  0x00007f8fd8386594 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f8fd8387c14 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8fd838938f in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8fd83899e2 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8fd8389b73 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8fd9eb76c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f8fd9e5e63b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f8fd9c97a75 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f8fda77cefa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f8fd9c98cc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f8fd911b669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#11 0x00007f8fd991d323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f8fd25a6700 (LWP 1272)):
#0  0x00007f8fd9910c2f in __GI___poll (fds=0x7f8fd25a5c28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8fdbeae917 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f8fdbeb053a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f8fd2d5c288 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f8fd9c98cc2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8fd911b669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007f8fd991d323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f8fd340a880 (LWP 1262)):
[KCrash Handler]
#6  0x00007f8fb75f073a in JobModel::updateJob(int, KCupsJob const&) () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f8fb75f27e8 in JobModel::insertJob(int, KCupsJob const&) () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#8  0x00007f8fb75f2ca9 in JobModel::getJobFinished(KCupsRequest*) () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#9  0x00007f8fd9e8beba in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f8fda9fba86 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f8fdaa04e00 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f8fd9e5fa9a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f8fd9e62718 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f8fd9eb80a7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f8fd838984d in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f8fd8389ad0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f8fd8389b73 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f8fd9eb76a5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f8fd9e5e63b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f8fd9e663a6 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x0000561b851be774 in ?? ()
#22 0x00007f8fd98221e3 in __libc_start_main (main=0x561b851bdc20, argc=1, argv=0x7fffa0b53408, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa0b533f8) at ../csu/libc-start.c:308
#23 0x0000561b851bebfe in _start ()
[Inferior 1 (process 1262) detached]

Possible duplicates by query: bug 413909, bug 412269, bug 411870, bug 410847, bug 410570.

Reported using DrKonqi
Comment 1 costar57 2019-11-19 21:55:31 UTC
Created attachment 124019 [details]
New crash information added by DrKonqi

plasmashell (5.17.3) using Qt 5.13.2

- What I was doing when the application crashed:
I just logged in
- Unusual behavior I noticed:
Plasmashell crashed
- Custom settings of the application:
Theme applied and wikimedia wallpaper service used

-- Backtrace (Reduced):
#8  0x00007f1ae495f8f4 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f1ae00b9563 in  () at /usr/lib/libQt5WaylandClient.so.5
#10 0x00007f1ae00b95c1 in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib/libQt5WaylandClient.so.5
#11 0x00007f1ae00c6439 in QtWaylandClient::QWaylandWindow::setVisible(bool) () at /usr/lib/libQt5WaylandClient.so.5
#12 0x00007f1add4acaf5 in  () at /usr/lib/qt/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so
Comment 2 Rubén Gómez Antolí 2019-11-29 09:42:31 UTC
Created attachment 124175 [details]
New crash information added by DrKonqi

plasmashell (5.17.3) using Qt 5.13.2

- What I was doing when the application crashed:

Just login in the system.

This machine is a multi-user system accesing via Xrdp, all the users get the crash.

-- Backtrace (Reduced):
#6  0x00007fed3253dc80 in JobModel::updateJob(int, KCupsJob const&) () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007fed3253fe68 in JobModel::insertJob(int, KCupsJob const&) () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#8  0x00007fed3254046b in JobModel::getJobFinished(KCupsRequest*) () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#9  0x00007fed8edbe432 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fed906f7eac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 3 Albert Astals Cid 2019-11-29 09:54:37 UTC
print-manager is what is crashing, i had to uninstall it too to be able to login and then forgot to investigate what may be wrong/broken since i don't print much anymore these days.

Thing is that if you look JobModel it hasn't changed in a while.

Adding some people that may be able to understand what's wrong.

Now that i look at it, this is maybe a dupe of 326289 that's supposedly alreday fixed in the upcoming 19.12 release?
Comment 4 Albert Astals Cid 2019-11-29 09:56:28 UTC
Hmmm, actually the fix for that crash is supposed to be there since 18.08 and i defenitely had this crash with 19.08 so maybe it isn't really fixed?
Comment 5 Albert Astals Cid 2019-11-30 00:51:37 UTC
If you can still reproduce this problem can you please run

 lpstat -R

and attach the output?
Comment 6 Christoph Feck 2019-11-30 09:44:13 UTC
Bug 326289 got reopened, so yes, it isn't fixed yet.

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