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

Weng Xuetian <wen...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wen...@gmail.com

--- Comment #25 from Weng Xuetian <wen...@gmail.com> ---
It seems that I'm also affected by this.
For some other probably unrelated reason, unplug external monitor would cause
SIGSEGV on Xwayland on my setup,  but I observed that kwin freeze due to this
in this case. 

I gdb attached to Xwayland and noticed Xwayland received a sigsegv, after
detach from gdb, noticed Xwayland become a zombie process.

Relevant stack trace in kwin, looks similar to the existing ones.
It seems that kwin is blocked on some X event request and never returns.

I'd say we should try to manage Xwayland process in a separate thread,
otherwise we may fail to collect xwayland process when making a blocking call.
#0  0x00007f18b7bd32af in poll () at /usr/lib/libc.so.6
#1  0x00007f18b8d8963b in  () at /usr/lib/libxcb.so.1
#2  0x00007f18b8d8b08f in  () at /usr/lib/libxcb.so.1
#3  0x00007f18b8d8b1a2 in xcb_wait_for_reply () at /usr/lib/libxcb.so.1
#4  0x00007f18ba58339a in KWin::Workspace::updateXStackingOrder() () at
/usr/lib/libkwin.so.5
#5  0x00007f18ba583479 in KWin::Workspace::xStackingOrder() const () at
/usr/lib/libkwin.so.5
#6  0x00007f18ba512243 in KWin::Compositor::windowsToRender() const () at
/usr/lib/libkwin.so.5
#7  0x00007f18ba5127be in KWin::Compositor::composite(KWin::RenderLoop*) () at
/usr/lib/libkwin.so.5
#8  0x00007f18b84af463 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f18ba4d07a7 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*)
() at /usr/lib/libkwin.so.5
#10 0x00007f18ba5a1c18 in KWin::RenderLoopPrivate::dispatch() () at
/usr/lib/libkwin.so.5
#11 0x00007f18b84af463 in  () at /usr/lib/libQt5Core.so.5
#12 0x00007f18b84b169f in QTimer::timeout(QTimer::QPrivateSignal) () at
/usr/lib/libQt5Core.so.5
#13 0x00007f18b84a2766 in QObject::event(QEvent*) () at
/usr/lib/libQt5Core.so.5
#14 0x00007f18b8f3c1c6 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt5Widgets.so.5
#15 0x00007f18b847e5aa in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt5Core.so.5
#16 0x00007f18b84c9dd5 in QTimerInfoList::activateTimers() () at
/usr/lib/libQt5Core.so.5
#17 0x00007f18b84ca272 in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#18 0x0000557e3c5a97e2 in  ()
#19 0x00007f18b847688b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#20 0x00007f18b8481fd7 in QCoreApplication::exec() () at
/usr/lib/libQt5Core.so.5
#21 0x0000557e3c4b832a in  ()
#22 0x00007f18b7afa310 in __libc_start_call_main () at /usr/lib/libc.so.6
#23 0x00007f18b7afa3c1 in __libc_start_main_impl () at /usr/lib/libc.so.6
#24 0x0000557e3c4b9ab5 in  ()

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

Reply via email to