Bug 410093

Summary: KWin crash after switch to/from text console
Product: [Plasma] kwin Reporter: Stephan van den Akker <memelink.akker>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 5.16.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Stephan van den Akker 2019-07-22 06:38:55 UTC
Application: kwin_x11 (5.16.2)

Qt Version: 5.13.0
Frameworks Version: 5.59.0
Operating System: Linux 5.1.16-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I switched to a text console (Ctrl-Shift-F1) and switched back to Plasma (Ctrl-Shift-F7). I got a message that KWin crashed. I chose "restart" and the UI (including the compositor) is working again.

This is occuring every 2 or 3 days, usually after a "cold start" of the system, but is not ready reproducible (doesn't happen every time).

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f88f6a36880 (LWP 2230))]

Thread 4 (Thread 0x7f88dd0d7700 (LWP 2426)):
#0  0x00007f88f9939e05 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f88f9ded1ea in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f88f9ded20b in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f88f9933faa in start_thread () at /lib64/libpthread.so.0
#4  0x00007f88fba1773f in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f88ee093700 (LWP 2418)):
#0  0x00007f88fba24b3f in __libc_enable_asynccancel () at /lib64/libc.so.6
#1  0x00007f88fba0cd94 in ppoll () at /lib64/libc.so.6
#2  0x00007f88fa568d49 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f88fa56a341 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f88fa5152eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f88fa34df91 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f88f90c6595 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f88fa34f112 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f88f9933faa in start_thread () at /lib64/libpthread.so.0
#9  0x00007f88fba1773f in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f88efe0c700 (LWP 2262)):
#0  0x00007f88fba0cdb6 in ppoll () at /lib64/libc.so.6
#1  0x00007f88fa568d49 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f88fa56a341 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f88fa5152eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f88fa34df91 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f88f8b244f6 in  () at /usr/lib64/libQt5DBus.so.5
#6  0x00007f88fa34f112 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f88f9933faa in start_thread () at /lib64/libpthread.so.0
#8  0x00007f88fba1773f in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f88f6a36880 (LWP 2230)):
[KCrash Handler]
#6  0x00007f88f9f7b812 in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#7  0x00007f88fb7693c3 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#8  0x00007f88f9ff274e in  () at /usr/lib64/libkwin4_effect_builtins.so.1
#9  0x00007f88fb7693c3 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#10 0x00007f88fb775d7b in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#11 0x00007f88fb76fa58 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#12 0x00007f88fa05ccab in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwineffects.so.12
#13 0x00007f88fb76fa03 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#14 0x00007f88fa05ccab in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwineffects.so.12
#15 0x00007f88fb76fa03 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib64/libkwin.so.5
#16 0x00007f88fb778c35 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib64/libkwin.so.5
#17 0x00007f88fb779a36 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib64/libkwin.so.5
#18 0x00007f88ece419e3 in  () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#19 0x00007f88fb778ae0 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#20 0x00007f88fb76fb32 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#21 0x00007f88fa05cd2f in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwineffects.so.12
#22 0x00007f88fb76fadd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#23 0x00007f88fa05cd2f in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwineffects.so.12
#24 0x00007f88fb76fadd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib64/libkwin.so.5
#25 0x00007f88fb77a3f5 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib64/libkwin.so.5
#26 0x00007f88ece46857 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#27 0x00007f88fb782d56 in KWin::Compositor::performCompositing() () at /usr/lib64/libkwin.so.5
#28 0x00007f88fa542255 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#29 0x00007f88faf48c42 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#30 0x00007f88faf51ec0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#31 0x00007f88fa516692 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#32 0x00007f88fa56c0ab in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#33 0x00007f88fa56a4a7 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#34 0x00007f88f4bc91fe in  () at /usr/lib64/libQt5XcbQpa.so.5
#35 0x00007f88fa5152eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#36 0x00007f88fa51ce62 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#37 0x00007f88fb912fa6 in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#38 0x00007f88fb940bcb in __libc_start_main () at /lib64/libc.so.6
#39 0x00005574599b408a in _start ()
[Inferior 1 (process 2230) detached]

Reported using DrKonqi
Comment 1 Martin Flöser 2019-07-22 14:36:38 UTC
Unfortunately the backtrace is lacking debug symbols. If you are able to reproduce please install debug packages and attach a new backtrace.
Comment 2 Bug Janitor Service 2019-08-06 04:33:10 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
mark the bug 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 3 Bug Janitor Service 2019-08-21 04:33:10 UTC
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!