Bug 377644 - Kwin crash
Summary: Kwin crash
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.9.2
Platform: Slackware Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-03-15 14:25 UTC by Ricardo J. Barberis
Modified: 2017-04-03 16:54 UTC (History)
1 user (show)

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 Ricardo J. Barberis 2017-03-15 14:25:46 UTC
Application: kwin_x11 (5.9.2)

Qt Version: 5.7.1
Frameworks Version: 5.31.0
Operating System: Linux 4.4.38 x86_64
Distribution (Platform): Slackware Packages

-- Information about the crash:
I think the main problem is that my system is under memory pressure, at least that's when kwin crashes more often.

In this case I had Akregator downloading feeds, Opera browser with 15 tabs open and HW acceleration on (I should really try disabling it), yakuake with several tabs open (>50), a VM with kmail open, and not much more.

I also disabled bluetooth at the time of the crash.

The crash can be reproduced sometimes.

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

Thread 6 (Thread 0x7f2f733dd700 (LWP 26566)):
#0  0x00007f2f8a7f930d in poll () at /lib64/libc.so.6
#1  0x00007f2f8b61f2f2 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f2f8b6209da in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f2f8b5d17ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f2f8b4066ec in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f2f8b40b069 in  () at /usr/lib64/libQt5Core.so.5
#6  0x00007f2f8de3e684 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f2f8a804efd in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f2f53fff700 (LWP 24266)):
#0  0x00007f2f8de4436f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2f944885b4 in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f2f944885f9 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f2f8de3e684 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f2f8a804efd in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f2f5b07a700 (LWP 24264)):
#0  0x00007f2f8a7f930d in poll () at /lib64/libc.so.6
#1  0x00007f2f8b61f2f2 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f2f8b6209da in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f2f8b5d17ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f2f8b4066ec in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f2f93304ee5 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x00007f2f8b40b069 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f2f8de3e684 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f2f8a804efd in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f2f790b8700 (LWP 24249)):
#0  0x00007f2f8a7f930d in poll () at /lib64/libc.so.6
#1  0x00007f2f8b61f2f2 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f2f8b6209da in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f2f8b5d17ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f2f8b4066ec in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f2f907c6495 in  () at /usr/lib64/libQt5DBus.so.5
#6  0x00007f2f8b40b069 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f2f8de3e684 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f2f8a804efd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f2f7abba700 (LWP 24248)):
#0  0x00007f2f8a7f930d in poll () at /lib64/libc.so.6
#1  0x00007f2f8d5a9102 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f2f8d5aac8f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f2f7bd77dd9 in  () at /usr/lib64/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5
#4  0x00007f2f8b40b069 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f2f8de3e684 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f2f8a804efd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f2f95764800 (LWP 24243)):
[KCrash Handler]
#6  0x00007f2f932a2f24 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f2f932a0bb1 in QQmlMetaType::qmlSingletonTypes() () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f2f9327a360 in QQmlEngine::~QQmlEngine() () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f2f9327a4c9 in QQmlEngine::~QQmlEngine() () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f2f8a737fb8 in __run_exit_handlers () at /lib64/libc.so.6
#11 0x00007f2f8a738005 in  () at /lib64/libc.so.6
#12 0x00007f2f70640d05 in  () at /usr/lib64/xorg/modules/dri/i965_dri.so
#13 0x00007f2f7064cafc in  () at /usr/lib64/xorg/modules/dri/i965_dri.so
#14 0x00007f2f703cbb44 in  () at /usr/lib64/xorg/modules/dri/i965_dri.so
#15 0x00007f2f703cbcd2 in  () at /usr/lib64/xorg/modules/dri/i965_dri.so
#16 0x00007f2f8bdef237 in  () at /usr/lib64/libQt5Gui.so.5
#17 0x00007f2f8bdf151f in QOpenGLFramebufferObject::toImage(bool, int) const () at /usr/lib64/libQt5Gui.so.5
#18 0x00007f2f8bdf18b0 in QOpenGLFramebufferObject::toImage() const () at /usr/lib64/libQt5Gui.so.5
#19 0x00007f2f728c451c in  () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#20 0x00007f2f8b5fc6d6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#21 0x00007f2f8b608b38 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib64/libQt5Core.so.5
#22 0x00007f2f8b5fd15b in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007f2f8c2de41c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007f2f8c2e5836 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007f2f8b5d3278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f2f8b622c3e in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#27 0x00007f2f8b620c52 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f2f7bdecb5d in  () at /usr/lib64/qt5/plugins/platforms/../../../libQt5XcbQpa.so.5
#29 0x00007f2f8b5d17ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#30 0x00007f2f8b5d981d in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#31 0x00007f2f953c9a32 in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#32 0x00007f2f8a71e7d0 in __libc_start_main () at /lib64/libc.so.6
#33 0x0000000000400c49 in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2017-03-15 15:48:24 UTC
Unfortunately the backtrace is lacking debug symbols. If you are able to 
reproduce please install the debug packages provided by your 
distribution (please ask the distribution support channel on how to 
install them) and attach a new backtrace.
Comment 2 Ricardo J. Barberis 2017-03-16 23:04:34 UTC
Ah, sorry about that.

I don't think Slackware/alienBOB have debug packages for plasma but I'll check before submitting more bug reports.

Thanks!
Comment 3 Ricardo J. Barberis 2017-03-16 23:05:47 UTC
BTW, disabling HW acceleration in Opera had no effect.
Comment 4 Ricardo J. Barberis 2017-04-03 16:54:51 UTC
I think you can file this one under the "It's Intel's fault" category.

I was experimenting with the modesetting driver but it didn'twork for me, and when I went back to intel's driver I forgot to put back UXA as the AccelMethod.

Once I did that, my system became much more stable and I think kwin never crashed again after that.

Sorry for the noise :(