Bug 404738 - Kwin crashed during resume
Summary: Kwin crashed during resume
Status: RESOLVED DUPLICATE of bug 399499
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.15.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-02-23 14:20 UTC by Michał Dybczak
Modified: 2019-03-06 08:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Dybczak 2019-02-23 14:20:32 UTC
Application: kwin_x11 (5.15.1)

Qt Version: 5.12.1
Frameworks Version: 5.55.0
Operating System: Linux 4.20.11-1-MANJARO x86_64
Distribution: "Manjaro Linux"

-- Information about the crash:
- What I was doing when the application crashed:
System was suspended. Kwin crashed during resume.

Since system marked the gathered info as useful, I'm posting this.

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

Thread 6 (Thread 0x7f134a316700 (LWP 26074)):
#0  0x00007f135c5e5d16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f135b15dbab in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f135b15f08b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f135b10ab2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f135af4e569 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f13596f6969 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f135af4f96c in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f1359f39a9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f135c5f0b23 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f13363d3700 (LWP 3957)):
#0  0x00007f1359f3fafc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f135aa4428c in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f135aa442a9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f1359f39a9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f135c5f0b23 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f134b57e700 (LWP 3952)):
#0  0x00007f135c5e5d16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f135b15dbab in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f135b15f08b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f135b10ab2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f135af4e569 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f13596f6969 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f135af4f96c in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f1359f39a9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f135c5f0b23 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f13512a2700 (LWP 3922)):
#0  0x00007f135c5e5d16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f135b15dbab in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f135b15f08b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f135b10ab2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f135af4e569 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f135915bba6 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f135af4f96c in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f1359f39a9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f135c5f0b23 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f135320d700 (LWP 3837)):
#0  0x00007f135c5e5c21 in poll () at /usr/lib/libc.so.6
#1  0x00007f135ae73630 in  () at /usr/lib/libxcb.so.1
#2  0x00007f135ae752db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f1353513949 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f135af4f96c in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f1359f39a9d in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f135c5f0b23 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f135396d840 (LWP 3726)):
[KCrash Handler]
#6  0x00007f135acb67db in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const () at /usr/lib/libkwineffects.so.12
#7  0x00007f134a32ac13 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#8  0x00007f134a332253 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#9  0x00007f134a332399 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#10 0x00007f135c35b7dc in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#11 0x00007f135acb551d in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.12
#12 0x00007f135c35b774 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#13 0x00007f135ac522c6 in  () at /usr/lib/libkwin4_effect_builtins.so.1
#14 0x00007f135c35b774 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#15 0x00007f135abc1ffa in  () at /usr/lib/libkwin4_effect_builtins.so.1
#16 0x00007f135c35b774 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#17 0x00007f135c345c3d in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#18 0x00007f135c35b605 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#19 0x00007f135ac4437f in  () at /usr/lib/libkwin4_effect_builtins.so.1
#20 0x00007f135c35b5a4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#21 0x00007f135acb53ad in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.12
#22 0x00007f135c35b5a4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#23 0x00007f135acb53ad in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwineffects.so.12
#24 0x00007f135c35b5a4 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () at /usr/lib/libkwin.so.5
#25 0x00007f135c34c406 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () at /usr/lib/libkwin.so.5
#26 0x00007f135c348c58 in KWin::Scene::paintSimpleScreen(int, QRegion) () at /usr/lib/libkwin.so.5
#27 0x00007f134a3261e4 in  () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#28 0x00007f135c34b8f1 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#29 0x00007f135c35b357 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#30 0x00007f135acb5302 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.12
#31 0x00007f135c35b2fe in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#32 0x00007f135acb5302 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.12
#33 0x00007f135c35b2fe in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#34 0x00007f135acb5302 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwineffects.so.12
#35 0x00007f135c35b2fe in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () at /usr/lib/libkwin.so.5
#36 0x00007f135c34b58b in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () at /usr/lib/libkwin.so.5
#37 0x00007f134a32e3f7 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () at /usr/lib/qt/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#38 0x00007f135c33cbae in KWin::Compositor::performCompositing() () at /usr/lib/libkwin.so.5
#39 0x00007f135b13710b in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#40 0x00007f135bad5e24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#41 0x00007f135badd6e1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#42 0x00007f135b10be99 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#43 0x00007f135b161095 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#44 0x00007f135b15f1de in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#45 0x00007f1353514cbf in  () at /usr/lib/libQt5XcbQpa.so.5
#46 0x00007f135b10ab2c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#47 0x00007f135b112e36 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#48 0x00007f135c6c2b26 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#49 0x00007f135c519223 in __libc_start_main () at /usr/lib/libc.so.6
#50 0x0000557dd6e0b05e in _start ()
[Inferior 1 (process 3726) detached]

Reported using DrKonqi
Comment 1 Martin Flöser 2019-02-23 15:55:06 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 Michał Dybczak 2019-02-23 16:51:33 UTC
Ach, I thought that since I was showed that the info is useful, it already has debug symbols.

Frankly, this is the first time I saw this "useful" description. For the past few years, I always got that it's not enough/not useful. So I hoped the change happened because Arch finally added debug symbols. If that is not the case, I'm not sure what I can do or if there is something I can do. I'm not technical enough to understand all of it. I posted the bug because I really believed that this is useful stuff, but it isn't, then maybe it's better to close it to keep bugtracker clean and I will know for the future to not use it, till I won't know for sure that debug symbols are available.


Additionally, the crash happened just now, for the probably first time under those circumstances, so I can't reproduce it unless some update made it will happen again.

Kwin just restarted itself so this was harmless for the system, but I got the usual crash-icon with a crash window (not sure how to name it) which I used to report this bug.

If only getting debug symbols were as easy as to install certain packages, I would add them long ago, but it looks it's a  matter of upstream, in this case, Arch.

So if I can't get debug symbols in any reasonable time to make this bug report really useful, feel free to close it. I would, but I'm not sure which closed status would be suitable for everlasting "needsinfo".

Sorry to bother you. It looks like the crash GUI fooled me and maybe that is a bug worth reporting (no debug symbols but still shows this as useful?)?
Comment 3 Michał Dybczak 2019-03-05 08:20:48 UTC
I'm unable to trigger that crash intentionally and I don't have the debug symbols and from what I know, I won't have them any time soon.

I don't see a point of keeping this thread opened. Which status would work for this case? Or simply it will linger in "needsinfo" indefinitely? What is the right policy in such cases? Is there any?
Comment 4 Vlad Zahorodnii 2019-03-05 08:51:41 UTC
Do you have NVIDIA GPU?
Comment 5 Michał Dybczak 2019-03-06 07:34:59 UTC
Yes, I have intel/nvidia hybrid GPU setup and it's very, very likely my session was on nvidia then, or at least I remember being on nvidia at that moment. Usually, I'm on intel and I don't see kwin crashes but on nvidia I rarely suspend, so that is may be the reason why I didn't see another instance of that bug. I can try to do suspend/resume on nvidia to see if that is a persistent or just occasional crash.

However, I'm suspecting that if you already asking about nvidia, this is not so unknown problem.

I'll let you know if I know more.
Comment 6 Vlad Zahorodnii 2019-03-06 08:30:24 UTC

*** This bug has been marked as a duplicate of bug 399499 ***