Bug 354966 - KDE plasma, sddm crash on start after hanging while playing audio
Summary: KDE plasma, sddm crash on start after hanging while playing audio
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.2
Platform: Debian testing Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2015-11-06 22:48 UTC by Eyal Rozenberg
Modified: 2018-10-27 02:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.58 KB, text/plain)
2015-11-06 22:54 UTC, Eyal Rozenberg
Details
.xsession-errors from a session with crashes (74.86 KB, text/plain)
2015-11-08 21:00 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2015-11-06 22:48:55 UTC
Application: plasmashell (5.4.2)

Qt Version: 5.5.1
Operating System: Linux 4.2.0-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (stretch)

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

I was trying to login! Before, I was logged in, and my system hanged while I was playing some music. On reboot, sddm would not come up - it would hang, essentially. I replaced it with lxdm and that worked. However, trying to login to a KDE session, I was met with severa crash notifications, no window manager and no panel. Other apps can start, e.g. Iceweasel, konsole etc.

- Unusual behavior I noticed:

Like I said, it's after a hard reboot during a hang. Probably there's a problem dealing with partially corrupt data files written to during runs. But - what are they? And why a crash rather than a graceful failure?

The crash can be reproduced every time.

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

Thread 7 (Thread 0x7f3fc4ea3700 (LWP 5637)):
#0  0x00007f3fd5f1a52d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3fd9fbd252 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f3fd9fbeddf in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f3fc6be9839 in QXcbEventReader::run (this=0xeecef0) at qxcbconnection.cpp:1229
#4  0x00007f3fd6606a6e in QThreadPrivate::start (arg=0xeecef0) at thread/qthread_unix.cpp:331
#5  0x00007f3fd57230a4 in start_thread (arg=0x7f3fc4ea3700) at pthread_create.c:309
#6  0x00007f3fd5f2306d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f3fbb197700 (LWP 5649)):
#0  0x00007f3fd2d18859 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3fd2cd3779 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3fd2cd410b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3fd2cd42ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3fd683e58b in QEventDispatcherGlib::processEvents (this=0x7f3fb40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f3fd67e554a in QEventLoop::exec (this=this@entry=0x7f3fbb196c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f3fd6601ac4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f3fd8e82105 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f3fd6606a6e in QThreadPrivate::start (arg=0x100f220) at thread/qthread_unix.cpp:331
#9  0x00007f3fd57230a4 in start_thread (arg=0x7f3fbb197700) at pthread_create.c:309
#10 0x00007f3fd5f2306d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f3fb2d86700 (LWP 5666)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f3fd57254d4 in _L_lock_986 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f3fd5725336 in __GI___pthread_mutex_lock (mutex=0x7f3fd23935d0) at ../nptl/pthread_mutex_lock.c:114
#3  0x00007f3fd2114fdc in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#4  0x00007f3fd2119b21 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#5  0x00007f3fd2119fcb in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#6  0x00007f3fce4a7ff0 in ?? () from /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.352.39
#7  0x00007f3fd2d174d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f3fd2cd3cc4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f3fd2cd4180 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f3fd2cd42ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f3fd683e58b in QEventDispatcherGlib::processEvents (this=0x7f3fac0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#12 0x00007f3fd67e554a in QEventLoop::exec (this=this@entry=0x7f3fb2d85c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#13 0x00007f3fd6601ac4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#14 0x00007f3fd8e82105 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#15 0x00007f3fd6606a6e in QThreadPrivate::start (arg=0x1236130) at thread/qthread_unix.cpp:331
#16 0x00007f3fd57230a4 in start_thread (arg=0x7f3fb2d86700) at pthread_create.c:309
#17 0x00007f3fd5f2306d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f3fb0d67700 (LWP 5948)):
#0  0x00007f3fd5f165fd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3fce4a7f75 in ?? () from /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.352.39
#2  0x00007f3fd2d174d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3fd2cd3cc4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3fd2cd4180 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3fd2cd42ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f3fd683e58b in QEventDispatcherGlib::processEvents (this=0x7f3fa40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#7  0x00007f3fd67e554a in QEventLoop::exec (this=this@entry=0x7f3fb0d66c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f3fd6601ac4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#9  0x00007f3fd8e82105 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007f3fd6606a6e in QThreadPrivate::start (arg=0x12e5d50) at thread/qthread_unix.cpp:331
#11 0x00007f3fd57230a4 in start_thread (arg=0x7f3fb0d67700) at pthread_create.c:309
#12 0x00007f3fd5f2306d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f3fab3d8700 (LWP 5953)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3fdb22d1c4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f3fdb22d209 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f3fd57230a4 in start_thread (arg=0x7f3fab3d8700) at pthread_create.c:309
#4  0x00007f3fd5f2306d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f3fa8a8f700 (LWP 5957)):
#0  0x00007f3fd2d18859 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3fd2cd3c1c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3fd2cd4180 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3fd2cd42ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3fd683e58b in QEventDispatcherGlib::processEvents (this=0x7f3f180008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f3fd67e554a in QEventLoop::exec (this=this@entry=0x7f3fa8a8ec10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f3fd6601ac4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f3fd9804136 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f3fd6606a6e in QThreadPrivate::start (arg=0x12897e0) at thread/qthread_unix.cpp:331
#9  0x00007f3fd57230a4 in start_thread (arg=0x7f3fa8a8f700) at pthread_create.c:309
#10 0x00007f3fd5f2306d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f3fdb7d5940 (LWP 5633)):
[KCrash Handler]
#6  0x00007f3fd5e72107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f3fd5e734e8 in __GI_abort () at abort.c:89
#8  0x00007f3fd65f41e1 in qt_message_fatal (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1578
#9  QMessageLogger::fatal (this=<optimized out>, msg=<optimized out>) at global/qlogging.cpp:781
#10 0x00007f3fd9870991 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007f3fd98719a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007f3fd9872946 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#13 0x00007f3fd6b33385 in QWindow::event (this=0x11423b0, ev=<optimized out>) at kernel/qwindow.cpp:2060
#14 0x00007f3fd98abec1 in QQuickWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#15 0x000000000043e8f6 in DesktopView::event (this=0x11423b0, e=0x7ffc5e02a680) at ../../shell/desktopview.cpp:206
#16 0x00007f3fd72ec9dc in QApplicationPrivate::notify_helper (this=this@entry=0xeca910, receiver=receiver@entry=0x11423b0, e=e@entry=0x7ffc5e02a680) at kernel/qapplication.cpp:3716
#17 0x00007f3fd72f1ea6 in QApplication::notify (this=0x7ffc5e02aac0, receiver=0x11423b0, e=0x7ffc5e02a680) at kernel/qapplication.cpp:3499
#18 0x00007f3fd67e7dbb in QCoreApplication::notifyInternal (this=0x7ffc5e02aac0, receiver=receiver@entry=0x11423b0, event=event@entry=0x7ffc5e02a680) at kernel/qcoreapplication.cpp:965
#19 0x00007f3fd6b2b57c in QCoreApplication::sendSpontaneousEvent (event=0x7ffc5e02a680, receiver=0x11423b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#20 QGuiApplicationPrivate::processExposeEvent (e=0x1188ea0) at kernel/qguiapplication.cpp:2648
#21 0x00007f3fd6b2c2ed in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x1188ea0) at kernel/qguiapplication.cpp:1643
#22 0x00007f3fd6b101f8 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:625
#23 0x00007f3fc6c1b100 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#24 0x00007f3fd2cd3fe7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f3fd2cd4240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f3fd2cd42ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f3fd683e56f in QEventDispatcherGlib::processEvents (this=0xf731e0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#28 0x00007f3fd67e554a in QEventLoop::exec (this=this@entry=0x7ffc5e02a940, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#29 0x00007f3fd67ed62c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#30 0x00007f3fd6b21cec in QGuiApplication::exec () at kernel/qguiapplication.cpp:1527
#31 0x00007f3fd72e8e15 in QApplication::exec () at kernel/qapplication.cpp:2976
#32 0x00000000004322c3 in main (argc=2, argv=<optimized out>) at ../../shell/main.cpp:176

Possible duplicates by query: bug 353914, bug 353523, bug 353161, bug 353156, bug 353057.

Reported using DrKonqi
Comment 1 Eyal Rozenberg 2015-11-06 22:54:32 UTC
Created attachment 95363 [details]
New crash information added by DrKonqi

plasmashell (5.4.2) using Qt 5.5.1

This is another one of the numerous crashes I got when logging in again after rebooting.

-- Backtrace (Reduced):
#6  0x00007fbd7b87b107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fbd7b87c4e8 in __GI_abort () at abort.c:89
#8  0x00007fbd7bffd1e1 in qt_message_fatal (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1578
#9  QMessageLogger::fatal (this=<optimized out>, msg=<optimized out>) at global/qlogging.cpp:781
#10 0x00007fbd7f279991 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
Comment 2 David Edmundson 2015-11-08 20:24:58 UTC
Can I see ~.xsession-errors please
Comment 3 Eyal Rozenberg 2015-11-08 21:00:41 UTC
Created attachment 95397 [details]
.xsession-errors from a session with crashes

So, here's an .xsession-errors I generated just now; obviously it's not the same session as the crash reports I uploaded a before. If it's critical for the reports and the .xsession-errors to be from the same session, let me know.

Also note that this session was started using LXDE. If I try to use sddm - the machine hangs.

Finally I'll note that the machine has an NVIDIA GTX 650 Ti - although the display does not use it - and a few days ago I installed CUDA 7.5 and the display drivers which come with it. I was thinking perhaps that could be part of the cause.
Comment 4 David Edmundson 2015-11-08 21:02:38 UTC
> was thinking perhaps that could be part of the cause.

It is, the error was in us using OpenGL. 

I just wanted to get the exact error message from this log for our error handling.
Comment 5 David Edmundson 2015-11-09 22:30:45 UTC
Git commit e20c4c6b7a2910bef752a19a414488e257a49419 by David Edmundson.
Committed on 09/11/2015 at 22:30.
Pushed by davidedmundson into branch 'master'.

Catch other openGL error gracefully
Related: bug 355054
REVIEW: 125997

M  +6    -3    shell/main.cpp

http://commits.kde.org/plasma-workspace/e20c4c6b7a2910bef752a19a414488e257a49419
Comment 6 Andrew Crouthamel 2018-09-25 21:52:04 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-10-27 02:50:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!