Bug 371686 - KWin segfault when opening Chromium
Summary: KWin segfault when opening Chromium
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-25 22:11 UTC by Kevin Liu
Modified: 2016-10-26 06:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Liu 2016-10-25 22:11:20 UTC
Application: kwin_x11 (5.8.2)

Qt Version: 5.7.0
Frameworks Version: 5.27.0
Operating System: Linux 4.4.21-1-lts-ck x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:

I opened Chromium and the desktop froze for a moment, and then a message appeared saying that KWin had crashed. I was able to reproduce this again once by closing and reopening Chromium, but not again after that.

The crash can be reproduced sometimes.

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

Thread 7 (Thread 0x7f8e2b8e5700 (LWP 7222)):
#0  0x00007f8e52a2510f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f8e56bf9c2b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f8e51e46395 in  () at /usr/lib/libQt5Quick.so.5
#3  0x00007f8e51e46c8a in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f8e56bf8d78 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f8e52a1f454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f8e597797df in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f8d9c88a700 (LWP 6911)):
#0  0x00007ffd217b9c79 in clock_gettime ()
#1  0x00007f8e597866b6 in clock_gettime () at /usr/lib/libc.so.6
#2  0x00007f8e56c9e1a1 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f8e56e253a9 in QTimerInfoList::updateCurrentTime() () at /usr/lib/libQt5Core.so.5
#4  0x00007f8e56e25955 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8e56e24694 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f8e56dd123a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f8e56bf40f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f8e5177a2d5 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f8e56bf8d78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f8e52a1f454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f8e597797df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f8e29c45700 (LWP 5497)):
#0  0x00007f8e52a2510f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f8e55d69ac4 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f8e55d69b09 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f8e52a1f454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f8e597797df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f8e37555700 (LWP 5433)):
#0  0x00007ffd217b9c79 in clock_gettime ()
#1  0x00007f8e597866b6 in clock_gettime () at /usr/lib/libc.so.6
#2  0x00007f8e56c9e1a1 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f8e56e253a9 in QTimerInfoList::updateCurrentTime() () at /usr/lib/libQt5Core.so.5
#4  0x00007f8e56e25955 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8e56e24694 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f8e56dd123a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f8e56bf40f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f8e5177a2d5 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f8e56bf8d78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f8e52a1f454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f8e597797df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f8e3dfaa700 (LWP 5352)):
#0  0x00007ffd217b9c79 in clock_gettime ()
#1  0x00007f8e597866b6 in clock_gettime () at /usr/lib/libc.so.6
#2  0x00007f8e56c9e1a1 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f8e56e253a9 in QTimerInfoList::updateCurrentTime() () at /usr/lib/libQt5Core.so.5
#4  0x00007f8e56e25955 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/libQt5Core.so.5
#5  0x00007f8e56e24694 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f8e56dd123a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f8e56bf40f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f8e50944e55 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007f8e56bf8d78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f8e52a1f454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f8e597797df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f8e400d1700 (LWP 5222)):
#0  0x00007f8e5977048d in poll () at /usr/lib/libc.so.6
#1  0x00007f8e588b58e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f8e588b7679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f8e40fa9449 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f8e56bf8d78 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f8e52a1f454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f8e597797df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f8e59d27840 (LWP 5207)):
[KCrash Handler]
#6  0x0000000040dc43bb in  ()
#7  0x00007f8e353a1bb4 in  () at /usr/lib/libnvidia-glcore.so.370.28
#8  0x00007f8e353a6dc8 in  () at /usr/lib/libnvidia-glcore.so.370.28
#9  0x00007f8e34f881c8 in  () at /usr/lib/libnvidia-glcore.so.370.28
#10 0x00007f8e57638ec4 in QOpenGLTextureGlyphCache::resizeTextureData(int, int) () at /usr/lib/libQt5Gui.so.5
#11 0x00007f8e575d8ea6 in QTextureGlyphCache::fillInPendingGlyphs() () at /usr/lib/libQt5Gui.so.5
#12 0x00007f8e51e2dd38 in  () at /usr/lib/libQt5Quick.so.5
#13 0x00007f8e51e2bbf4 in  () at /usr/lib/libQt5Quick.so.5
#14 0x00007f8e51eb2e07 in QQuickTextNode::addGlyphs(QPointF const&, QGlyphRun const&, QColor const&, QQuickText::TextStyle, QColor const&, QSGNode*) () at /usr/lib/libQt5Quick.so.5
#15 0x00007f8e51eb7a54 in  () at /usr/lib/libQt5Quick.so.5
#16 0x00007f8e51eb3d2c in QQuickTextNode::addTextLayout(QPointF const&, QTextLayout*, QColor const&, QQuickText::TextStyle, QColor const&, QColor const&, QColor const&, QColor const&, int, int, int, int) () at /usr/lib/libQt5Quick.so.5
#17 0x00007f8e51eb27ea in QQuickText::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) () at /usr/lib/libQt5Quick.so.5
#18 0x00007f8e51e70190 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () at /usr/lib/libQt5Quick.so.5
#19 0x00007f8e51e709ab in QQuickWindowPrivate::updateDirtyNodes() () at /usr/lib/libQt5Quick.so.5
#20 0x00007f8e51e71a1e in QQuickWindowPrivate::syncSceneGraph() () at /usr/lib/libQt5Quick.so.5
#21 0x00007f8e51f5538a in QQuickRenderControl::sync() () at /usr/lib/libQt5Quick.so.5
#22 0x00007f8e37573080 in  () at /usr/lib/qt/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#23 0x00007f8e56dfe9ce in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#24 0x00007f8e56e0b6d8 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib/libQt5Core.so.5
#25 0x00007f8e56dff473 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#26 0x00007f8e57ab2e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007f8e57aba581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007f8e56dd2de0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#29 0x00007f8e56e266ae in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#30 0x00007f8e56e24618 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#31 0x00007f8e410220dd in  () at /usr/lib/libQt5XcbQpa.so.5
#32 0x00007f8e56dd123a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#33 0x00007f8e56dd973c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#34 0x00007f8e59a38495 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#35 0x00007f8e596b1291 in __libc_start_main () at /usr/lib/libc.so.6
#36 0x000000000040069a in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2016-10-26 06:19:57 UTC
The crash happens in the NVIDIA driver triggered by QtQuick. There is nothing our software can do to circumvent the crash. As a workaround you can use the breeze window decoration.