Bug 373134 - kwin crashes starting up the system
Summary: kwin crashes starting up the system
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-12-01 10:42 UTC by Lynaex
Modified: 2016-12-01 16:54 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 Lynaex 2016-12-01 10:42:22 UTC
Application: kwin_x11 (5.8.3)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.27-2-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed: kwin crashes inmediately running the system, but not always.

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 0x7fce7f51b940 (LWP 2195))]

Thread 6 (Thread 0x7fce59ba3700 (LWP 2322)):
#0  0x00007fce7ec7cb03 in select () from /lib64/libc.so.6
#1  0x00007fce7c34f849 in qt_safe_select (nfds=11, fdread=0x7fce40000a78, fdwrite=0x7fce40000d08, fdexcept=0x7fce40000f98, orig_timeout=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fce7c3510c3 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fce400008e0, flags=..., flags@entry=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:196
#3  0x00007fce7c351527 in QEventDispatcherUNIX::processEvents (this=0x7fce400008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#4  0x00007fce7c300fdb in QEventLoop::exec (this=this@entry=0x7fce59ba2c70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fce7c13bf1a in QThread::exec (this=this@entry=0x209ab60) at thread/qthread.cpp:500
#6  0x00007fce76d289b8 in QQmlThreadPrivate::run (this=0x209ab60) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007fce7c1409e9 in QThreadPrivate::start (arg=0x209ab60) at thread/qthread_unix.cpp:341
#8  0x00007fce7ef45734 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fce7ec83d3d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fce58ba8700 (LWP 2277)):
#0  0x00007fce7ef4a0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fce7b2d193b in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007fce7b2d1969 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007fce7ef45734 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fce7ec83d3d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fce5b7fe700 (LWP 2271)):
#0  0x00007fce7ec7cb03 in select () from /lib64/libc.so.6
#1  0x00007fce7c34f849 in qt_safe_select (nfds=13, fdread=0x7fce48000a98, fdwrite=0x7fce48000d28, fdexcept=0x7fce48000fb8, orig_timeout=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fce7c3510c3 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fce48000900, flags=..., flags@entry=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:196
#3  0x00007fce7c351527 in QEventDispatcherUNIX::processEvents (this=0x7fce480008e0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#4  0x00007fce7c300fdb in QEventLoop::exec (this=this@entry=0x7fce5b7fdc70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fce7c13bf1a in QThread::exec (this=this@entry=0x203df80) at thread/qthread.cpp:500
#6  0x00007fce76d289b8 in QQmlThreadPrivate::run (this=0x203df80) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007fce7c1409e9 in QThreadPrivate::start (arg=0x203df80) at thread/qthread_unix.cpp:341
#8  0x00007fce7ef45734 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fce7ec83d3d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fce61d62700 (LWP 2238)):
#0  0x00007fce7ec7cb03 in select () from /lib64/libc.so.6
#1  0x00007fce7c34f849 in qt_safe_select (nfds=8, fdread=0x7fce54000a98, fdwrite=0x7fce54000d28, fdexcept=0x7fce54000fb8, orig_timeout=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fce7c3510c3 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fce54000900, flags=..., flags@entry=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:196
#3  0x00007fce7c351527 in QEventDispatcherUNIX::processEvents (this=0x7fce540008e0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#4  0x00007fce7c300fdb in QEventLoop::exec (this=this@entry=0x7fce61d61c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fce7c13bf1a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007fce75f091d5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007fce7c1409e9 in QThreadPrivate::start (arg=0x7fce76171ce0) at thread/qthread_unix.cpp:341
#8  0x00007fce7ef45734 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fce7ec83d3d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fce63e73700 (LWP 2211)):
#0  0x00007fce7ec7b49d in poll () from /lib64/libc.so.6
#1  0x00007fce7de023e2 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fce7de03fcf in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fce64f4f839 in QXcbEventReader::run (this=0x1e96e80) at qxcbconnection.cpp:1325
#4  0x00007fce7c1409e9 in QThreadPrivate::start (arg=0x1e96e80) at thread/qthread_unix.cpp:341
#5  0x00007fce7ef45734 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fce7ec83d3d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fce7f51b940 (LWP 2195)):
[KCrash Handler]
#6  0x0000000041848c0f in ?? ()
#7  0x00007fce6d3af2c0 in ?? () from /usr/lib64/libnvidia-glcore.so.340.98
#8  0x00007fce6d3b6350 in ?? () from /usr/lib64/libnvidia-glcore.so.340.98
#9  0x00007fce6d023378 in ?? () from /usr/lib64/libnvidia-glcore.so.340.98
#10 0x00007fce7cb5eb6a in QOpenGLFunctions::glDrawArrays (count=4, first=0, mode=6, this=0x28c15e0) at ../../src/gui/opengl/qopenglfunctions.h:717
#11 QOpenGLTextureGlyphCache::resizeTextureData (this=0x2b24aa0, width=<optimized out>, height=<optimized out>) at opengl/qopengltextureglyphcache.cpp:299
#12 0x00007fce7cad3010 in QTextureGlyphCache::resizeCache (height=16, width=512, this=0x2b24aa0) at painting/qtextureglyphcache_p.h:124
#13 QTextureGlyphCache::fillInPendingGlyphs (this=0x2b24aa0) at painting/qtextureglyphcache.cpp:241
#14 0x00007fce773e8cd3 in QSGTextMaskMaterial::populate (this=<optimized out>, p=..., glyphIndexes=..., glyphPositions=..., geometry=geometry@entry=0x25d9be0, boundingRect=boundingRect@entry=0x7ffe38d81b80, baseLine=baseLine@entry=0x25d9bc8, margins=...) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp:451
#15 0x00007fce773e6d4d in QSGDefaultGlyphNode::update (this=0x25d9ad0) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/quick/scenegraph/qsgdefaultglyphnode.cpp:121
#16 0x00007fce77467dfb in QQuickTextNode::addGlyphs (this=this@entry=0x2b24580, position=..., glyphs=..., color=..., style=style@entry=QQuickText::Normal, styleColor=..., parentNode=parentNode@entry=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/quick/items/qquicktextnode.cpp:109
#17 0x00007fce7746de77 in QQuickTextNodeEngine::addToSceneGraph (this=this@entry=0x7ffe38d81dd0, parentNode=parentNode@entry=0x2b24580, style=style@entry=QQuickText::Normal, styleColor=...) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/quick/items/qquicktextnodeengine.cpp:768
#18 0x00007fce774685e8 in QQuickTextNode::addTextLayout (this=this@entry=0x2b24580, position=..., textLayout=textLayout@entry=0x28b2780, color=..., style=QQuickText::Normal, styleColor=..., anchorColor=..., selectionColor=..., selectedTextColor=..., selectionStart=selectionStart@entry=-1, selectionEnd=selectionEnd@entry=-1, lineStart=lineStart@entry=0, lineCount=lineCount@entry=1) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/quick/items/qquicktextnode.cpp:259
#19 0x00007fce774677b7 in QQuickText::updatePaintNode (this=0x28ada00, oldNode=<optimized out>, data=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/quick/items/qquicktext.cpp:2286
#20 0x00007fce77427c57 in QQuickWindowPrivate::updateDirtyNode (this=this@entry=0x2b17ae0, item=item@entry=0x28ada00) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/quick/items/qquickwindow.cpp:3025
#21 0x00007fce774287ca in QQuickWindowPrivate::updateDirtyNodes (this=this@entry=0x2b17ae0) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/quick/items/qquickwindow.cpp:2770
#22 0x00007fce77429720 in QQuickWindowPrivate::syncSceneGraph (this=0x2b17ae0) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/quick/items/qquickwindow.cpp:379
#23 0x00007fce7750954c in QQuickRenderControl::sync (this=<optimized out>) at /usr/src/debug/qtdeclarative-opensource-src-5.6.1/src/quick/items/qquickrendercontrol.cpp:266
#24 0x00007fce60273906 in ?? () from /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#25 0x00007fce7c32d1c3 in QtPrivate::QSlotObjectBase::call (a=0x7ffe38d845a0, r=0x26dd2e0, this=0x271beb0) at ../../src/corelib/kernel/qobject_impl.h:124
#26 QMetaObject::activate (sender=sender@entry=0x27f28e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3715
#27 0x00007fce7c32d717 in QMetaObject::activate (sender=sender@entry=0x27f28e0, m=m@entry=0x7fce7c749700 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3595
#28 0x00007fce7c3a6220 in QTimer::timeout (this=this@entry=0x27f28e0) at .moc/moc_qtimer.cpp:198
#29 0x00007fce7c33a112 in QTimer::timerEvent (this=0x27f28e0, e=<optimized out>) at kernel/qtimer.cpp:247
#30 0x00007fce7c32df34 in QObject::event (this=0x27f28e0, e=<optimized out>) at kernel/qobject.cpp:1237
#31 0x00007fce7d009e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#32 0x00007fce7d00e49a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#33 0x00007fce7c302fc5 in QCoreApplication::notifyInternal2 (receiver=0x27f28e0, event=event@entry=0x7ffe38d849e0) at kernel/qcoreapplication.cpp:1015
#34 0x00007fce7c352c7e in QCoreApplication::sendEvent (event=0x7ffe38d849e0, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:225
#35 QTimerInfoList::activateTimers (this=0x1ed5888) at kernel/qtimerinfo_unix.cpp:637
#36 0x00007fce7c350970 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1ec82b0) at kernel/qeventdispatcher_unix.cpp:549
#37 0x00007fce7c3515c8 in QEventDispatcherUNIX::processEvents (this=0x1ec82b0, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#38 0x00007fce64fb194d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#39 0x00007fce7c300fdb in QEventLoop::exec (this=this@entry=0x7ffe38d84b40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#40 0x00007fce7c308ec6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#41 0x00007fce7f1639cc in kdemain () from /usr/lib64/libkdeinit5_kwin_x11.so
#42 0x00007fce7ebba6e5 in __libc_start_main () from /lib64/libc.so.6
#43 0x0000000000400809 in _start ()

Possible duplicates by query: bug 364259, bug 364008, bug 358369.

Reported using DrKonqi
Comment 1 Martin Flöser 2016-12-01 16:54:35 UTC
Unfortunately it crashes in the proprietary NVIDIA driver. There is probably nothing we can do about it. From what the backtrace shows, you can workaround by using the breeze window decoration.