Description of problem:
Unable to log out of kde session using the log out option from the Start/Leave menu.
ksmserver process is often (maybe always) taking 100% cpu when you cannot log out.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Choose Start/Leave/ log out
Session is logged out.
If you can get a backtrace of the hung ksmserver process, that would help diagnose things.
Will do so when I can catch a hung ksmserver.
Can you give instructions please if you need more than:
gdb -p <pid-of-ksmserver>
Also, do I need debuginfo packages installed? If so, which ones?
Is a strace of the ksmserver process going to be helpful as well?
you'll need to run gdb as root, and ideally install some debuginfo, but that's the gist.
I'm still waiting to encounter this on a system that I installed the debuginfo packages on. I have seen the issue a couple of times since the original report but not for about a couple of weeks now.
Created attachment 1054247 [details]
backtrace of ksmserver process
Finally managed to capture a backtrace of the 100% cpu ksmserver process, attached.
Looks like it's getting hung up in nvidia's libGL somewhere, I'd suggest you notify nvidia.
#0 0x00007f58278a0e25 in _nv014tls ()
#1 0x00007f582ae90406 in () at /usr/lib64/nvidia/libGL.so.1
#2 0x00007f582ae90747 in () at /usr/lib64/nvidia/libGL.so.1
#3 0x00007f582ae36424 in () at /usr/lib64/nvidia/libGL.so.1
#4 0x00007f582ae6274b in () at /usr/lib64/nvidia/libGL.so.1
#5 0x00007f582ae65aa8 in () at /usr/lib64/nvidia/libGL.so.1
#6 0x00007f582ae5b7f3 in glXCreateContextAttribsARB ()
#7 0x00007f5810106e64 in QGLXContext::init(QXcbScreen*, QPlatformOpenGLContext*) (this=0x2618fb0, screen=0x23eda00, share=<optimized out>) at qglxintegration.cpp:264
#8 0x00007f58100df3ab in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const (this=<optimized out>, context=0x7ffe8d547a50) at qxcbintegration.cpp:254
#9 0x00007f582e0314bb in QOpenGLContext::create() (this=this@entry=0x7ffe8d547a50)
#10 0x00007f58101074ea in QGLXContext::queryDummyContext() ()
#11 0x00007f5810107691 in QGLXContext::supportsThreading() ()
#12 0x00007f5812a81e8b in QSGRenderLoop::instance() ()