https://bugs.kde.org/show_bug.cgi?id=391322

--- Comment #29 from Rick <rick.avloni...@gmail.com> ---
KWin stops working when I close my laptop lid.  My power options are set to "do
nothing".  When I open the lid, the meta key has lost its binding.
I started my pc and opened a terninal.  I entered 

echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
gdb -pid $(pidof kwin_x11) -batch -ex "set logging file kwin.gdb" -ex "set
logging on" -ex "continue" -ex "thread apply all backtrace" -ex "quit"

and closed the lid.  The meta key lost its binding.  Then I opened another
terminal and entered

win_x11 --replace & disown

to restore functionality.  Below is the stacktrace from kwin.gdb.  I hope it
helps.



Thread 1 "kwin_x11" received signal SIGINT, Interrupt.
0x00007fe0da57156e in ppoll () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7fe0ce58e640 (LWP 51981) "QSGRenderThread"):
#0  0x00007fe0d9ddc6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at
/usr/lib/libpthread.so.0
#1  0x00007fe0da9220d4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at
/usr/lib/libQt5Core.so.5
#2  0x00007fe0d96d52fb in  () at /usr/lib/libQt5Quick.so.5
#3  0x00007fe0d96d789b in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fe0da91be8f in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fe0d9dd63e9 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fe0da57c293 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fe0cc850640 (LWP 34522) "kwin_x11"):
#0  0x00007fe0d9ddc6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at
/usr/lib/libpthread.so.0
#1  0x00007fe0da26afee in  () at /usr/lib/libQt5Script.so.5
#2  0x00007fe0da26b019 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007fe0d9dd63e9 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fe0da57c293 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fe0bcbf8640 (LWP 34477) "kwin_x1:disk$3"):
#0  0x00007fe0d9ddc6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at
/usr/lib/libpthread.so.0
#1  0x00007fe0beced8dc in  () at /usr/lib/dri/iris_dri.so
#2  0x00007fe0beced7d8 in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fe0d9dd63e9 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fe0da57c293 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fe0bd3f9640 (LWP 34476) "kwin_x1:disk$2"):
#0  0x00007fe0d9ddc6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at
/usr/lib/libpthread.so.0
#1  0x00007fe0beced8dc in  () at /usr/lib/dri/iris_dri.so
#2  0x00007fe0beced7d8 in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fe0d9dd63e9 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fe0da57c293 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fe0bdbfa640 (LWP 34475) "kwin_x1:disk$1"):
#0  0x00007fe0d9ddc6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at
/usr/lib/libpthread.so.0
#1  0x00007fe0beced8dc in  () at /usr/lib/dri/iris_dri.so
#2  0x00007fe0beced7d8 in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fe0d9dd63e9 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fe0da57c293 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fe0be3fb640 (LWP 34474) "kwin_x1:disk$0"):
#0  0x00007fe0d9ddc6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at
/usr/lib/libpthread.so.0
#1  0x00007fe0beced8dc in  () at /usr/lib/dri/iris_dri.so
#2  0x00007fe0beced7d8 in  () at /usr/lib/dri/iris_dri.so
#3  0x00007fe0d9dd63e9 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fe0da57c293 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fe0cdabc640 (LWP 34410) "QQmlThread"):
#0  0x00007fe0da57156e in ppoll () at /usr/lib/libc.so.6
#1  0x00007fe0dab568ab in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() at /usr/lib/libQt5Core.so.5
#2  0x00007fe0dab57fed in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#3  0x00007fe0dab0065c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#4  0x00007fe0da91aca2 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fe0d938c4b9 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007fe0da91be8f in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fe0d9dd63e9 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fe0da57c293 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fe0cf79f640 (LWP 34353) "QDBusConnection"):
#0  0x00007fe0da57156e in ppoll () at /usr/lib/libc.so.6
#1  0x00007fe0dab568ab in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() at /usr/lib/libQt5Core.so.5
#2  0x00007fe0dab57fed in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#3  0x00007fe0dab0065c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#4  0x00007fe0da91aca2 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fe0dbc05098 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007fe0da91be8f in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fe0d9dd63e9 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fe0da57c293 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fe0d4a99640 (LWP 34335) "QXcbEventQueue"):
#0  0x00007fe0da57146f in poll () at /usr/lib/libc.so.6
#1  0x00007fe0da82e63b in  () at /usr/lib/libxcb.so.1
#2  0x00007fe0da83037b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fe0d4bd1f61 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fe0da91be8f in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fe0d9dd63e9 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fe0da57c293 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fe0d4fc5cc0 (LWP 34306) "kwin_x11"):
#0  0x00007fe0da57156e in ppoll () at /usr/lib/libc.so.6
#1  0x00007fe0dab567c1 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() at /usr/lib/libQt5Core.so.5
#2  0x00007fe0dab57fed in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#3  0x00007fe0d4bd336f in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fe0dab0065c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#5  0x00007fe0dab08af4 in QCoreApplication::exec() () at
/usr/lib/libQt5Core.so.5
#6  0x000055949e1b8412 in  ()
#7  0x00007fe0da4a4152 in __libc_start_main () at /usr/lib/libc.so.6
#8  0x000055949e1b894e in _start ()
A debugging session is active.

        Inferior 1 [process 34306] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]
[Inferior 1 (process 34306) detached]
The program is not being run.
[Thread 0x7f180d78b640 (LWP 1170) exited]
[Thread 0x7f18106a8640 (LWP 1141) exited]
[Thread 0x7f17ee5a1640 (LWP 1288) exited]
[Thread 0x7f17fcf96640 (LWP 1287) exited]
[Thread 0x7f17fd797640 (LWP 1286) exited]
[Thread 0x7f17fdf98640 (LWP 1285) exited]
[Thread 0x7f180f3eb640 (LWP 1143) exited]
[Thread 0x7f1810bd4cc0 (LWP 1129) exited]
[Inferior 1 (process 1129) exited normally]

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to