Bug 364259 - kwin crashes when multiple windows open e.g. on FF-browser restore
Summary: kwin crashes when multiple windows open e.g. on FF-browser restore
Status: RESOLVED DUPLICATE of bug 358369
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.5.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-06-12 22:07 UTC by Robert KOFLER
Modified: 2016-06-12 22:11 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 Robert KOFLER 2016-06-12 22:07:51 UTC
Application: kwin_x11 (5.5.5)

Qt Version: 5.5.1
Operating System: Linux 4.5.2-040502-generic x86_64
Distribution: Ubuntu 16.04 LTS

-- Information about the crash:
- What I was doing when the application crashed: an application opened 2 windows at same time.
had these crashes for the last month. today I even remove .conf/ directory, so that I have a clean KDE/Plasma env. 

Sometimes I can save my work with a "sudo kwin_x11 --replace ", but in most cases the keyboard input does not work. btw. even a console swith (ctrl+alt+F1) does not work.

Plasma and Nvidia seem to be a a pain.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7efdba951900 (LWP 2757))]

Thread 4 (Thread 0x7efda1211700 (LWP 2779)):
#0  0x00007efdba441d13 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007efdb8c4610f in qt_safe_select (nfds=11, fdread=fdread@entry=0x7efd98000a78, fdwrite=fdwrite@entry=0x7efd98000d08, fdexcept=fdexcept@entry=0x7efd98000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007efdb8c47c0e in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=0x7efd98000f98, writefds=0x7efd98000d08, readfds=0x7efd98000a78, nfds=<optimized out>, this=0x7efd980008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7efd980008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007efdb8c4813e in QEventDispatcherUNIX::processEvents (this=0x7efd980008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007efdb8bf1dea in QEventLoop::exec (this=this@entry=0x7efda1210ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007efdb8a0e8a4 in QThread::exec (this=this@entry=0x281d180) at thread/qthread.cpp:503
#7  0x00007efdb35243c5 in QQmlThreadPrivate::run (this=0x281d180) at qml/ftw/qqmlthread.cpp:141
#8  0x00007efdb8a1384e in QThreadPrivate::start (arg=0x281d180) at thread/qthread_unix.cpp:331
#9  0x00007efdb43c76fa in start_thread (arg=0x7efda1211700) at pthread_create.c:333
#10 0x00007efdba44bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7efd8ed3e700 (LWP 2780)):
#0  0x00007efdba441d13 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007efdb8c4610f in qt_safe_select (nfds=20, fdread=fdread@entry=0x7efd88000a78, fdwrite=fdwrite@entry=0x7efd88000d08, fdexcept=fdexcept@entry=0x7efd88000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007efdb8c47c0e in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=0x7efd88000f98, writefds=0x7efd88000d08, readfds=0x7efd88000a78, nfds=<optimized out>, this=0x7efd880008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7efd880008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007efdb8c4813e in QEventDispatcherUNIX::processEvents (this=0x7efd880008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007efdb8bf1dea in QEventLoop::exec (this=this@entry=0x7efd8ed3dca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007efdb8a0e8a4 in QThread::exec (this=this@entry=0x2f4c6c0) at thread/qthread.cpp:503
#7  0x00007efdb35243c5 in QQmlThreadPrivate::run (this=0x2f4c6c0) at qml/ftw/qqmlthread.cpp:141
#8  0x00007efdb8a1384e in QThreadPrivate::start (arg=0x2f4c6c0) at thread/qthread_unix.cpp:331
#9  0x00007efdb43c76fa in start_thread (arg=0x7efd8ed3e700) at pthread_create.c:333
#10 0x00007efdba44bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7efd6ba51700 (LWP 2783)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007efdb7b9bbd4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007efdb7b9bc19 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007efdb43c76fa in start_thread (arg=0x7efd6ba51700) at pthread_create.c:333
#4  0x00007efdba44bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7efdba951900 (LWP 2757)):
[KCrash Handler]
#4  0x000000004021c27b in ?? ()
#5  0x00007efd909ebdf4 in ?? () from /usr/lib/nvidia-364/libnvidia-glcore.so.364.19
#6  0x00007efd909f1058 in ?? () from /usr/lib/nvidia-364/libnvidia-glcore.so.364.19
#7  0x00007efd905d2b08 in ?? () from /usr/lib/nvidia-364/libnvidia-glcore.so.364.19
#8  0x00007efdb924c756 in QOpenGLFunctions::glDrawArrays (count=4, first=0, mode=6, this=0x2dc0fc0) at ../../include/QtGui/../../src/gui/opengl/qopenglfunctions.h:716
#9  QOpenGLTextureGlyphCache::resizeTextureData (this=0x59526c0, width=<optimized out>, height=<optimized out>) at opengl/qopengltextureglyphcache.cpp:299
#10 0x00007efdb91d92aa in QTextureGlyphCache::resizeCache (height=<optimized out>, width=<optimized out>, this=0x59526c0) at painting/qtextureglyphcache_p.h:124
#11 QTextureGlyphCache::fillInPendingGlyphs (this=this@entry=0x59526c0) at painting/qtextureglyphcache.cpp:233
#12 0x00007efdb39eedb7 in QSGTextMaskMaterial::populate (this=0x5200d80, p=..., glyphIndexes=..., glyphPositions=..., geometry=geometry@entry=0x5d6a380, boundingRect=boundingRect@entry=0x7fff76c42170, baseLine=0x5d6a368, margins=...) at scenegraph/qsgdefaultglyphnode_p.cpp:446
#13 0x00007efdb39ecc4c in QSGDefaultGlyphNode::update (this=0x5d6a270) at scenegraph/qsgdefaultglyphnode.cpp:121
#14 0x00007efdb3a76677 in QQuickTextNode::addGlyphs (this=this@entry=0x6008eb0, position=..., glyphs=..., color=..., style=style@entry=QQuickText::Normal, styleColor=..., parentNode=0x0) at items/qquicktextnode.cpp:153
#15 0x00007efdb3a7aa9c in QQuickTextNodeEngine::addToSceneGraph (this=0x53d6400, parentNode=parentNode@entry=0x6008eb0, style=style@entry=QQuickText::Normal, styleColor=...) at items/qquicktextnodeengine.cpp:767
#16 0x00007efdb3a77547 in QQuickTextNode::addTextLayout (this=this@entry=0x6008eb0, position=..., textLayout=textLayout@entry=0x5b96db0, color=..., style=QQuickText::Normal, styleColor=..., anchorColor=..., selectionColor=..., selectedTextColor=..., selectionStart=-1, selectionEnd=-1, lineStart=0, lineCount=1) at items/qquicktextnode.cpp:304
#17 0x00007efdb3a75cb8 in QQuickText::updatePaintNode (this=0x5e7b720, oldNode=<optimized out>, data=<optimized out>) at items/qquicktext.cpp:2313
#18 0x00007efdb3a342d8 in QQuickWindowPrivate::updateDirtyNode (this=this@entry=0x5962b00, item=item@entry=0x5e7b720) at items/qquickwindow.cpp:2984
#19 0x00007efdb3a34b4b in QQuickWindowPrivate::updateDirtyNodes (this=this@entry=0x5962b00) at items/qquickwindow.cpp:2722
#20 0x00007efdb3a34cc0 in QQuickWindowPrivate::syncSceneGraph (this=0x5962b00) at items/qquickwindow.cpp:341
#21 0x00007efdb3b134fa in QQuickRenderControl::sync (this=<optimized out>) at items/qquickrendercontrol.cpp:256
#22 0x00007efda152031a in Aurorae::Decoration::<lambda()>::operator() (__closure=<synthetic pointer>) at /build/kwin-2AFxJo/kwin-5.5.5/clients/aurorae/src/aurorae.cpp:362
#23 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Aurorae::Decoration::init()::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:495
#24 QtPrivate::Functor<Aurorae::Decoration::init()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:552
#25 QtPrivate::QFunctorSlotObject<Aurorae::Decoration::init()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:192
#26 0x00007efdb8c22e4f in QtPrivate::QSlotObjectBase::call (a=0x7fff76c44180, r=0x5f46d60, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#27 QMetaObject::activate (sender=sender@entry=0x5107440, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3698
#28 0x00007efdb8c237d7 in QMetaObject::activate (sender=sender@entry=0x5107440, m=m@entry=0x7efdb8e3d840 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#29 0x00007efdb8ca26d0 in QTimer::timeout (this=this@entry=0x5107440) at .moc/moc_qtimer.cpp:197
#30 0x00007efdb8c2f878 in QTimer::timerEvent (this=0x5107440, e=<optimized out>) at kernel/qtimer.cpp:247
#31 0x00007efdb8c23e53 in QObject::event (this=0x5107440, e=<optimized out>) at kernel/qobject.cpp:1261
#32 0x00007efdb94e705c in QApplicationPrivate::notify_helper (this=this@entry=0x25e7090, receiver=receiver@entry=0x5107440, e=e@entry=0x7fff76c444b0) at kernel/qapplication.cpp:3716
#33 0x00007efdb94ec516 in QApplication::notify (this=0x7fff76c446e0, receiver=0x5107440, e=0x7fff76c444b0) at kernel/qapplication.cpp:3499
#34 0x00007efdb8bf462b in QCoreApplication::notifyInternal (this=0x7fff76c446e0, receiver=0x5107440, event=event@entry=0x7fff76c444b0) at kernel/qcoreapplication.cpp:965
#35 0x00007efdb8c4989d in QCoreApplication::sendEvent (event=0x7fff76c444b0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#36 QTimerInfoList::activateTimers (this=0x261bb08) at kernel/qtimerinfo_unix.cpp:637
#37 0x00007efdb8c47640 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x2619600) at kernel/qeventdispatcher_unix.cpp:549
#38 0x00007efdb8c480b6 in QEventDispatcherUNIX::processEvents (this=0x2619600, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#39 0x00007efda44c34ed in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#40 0x00007efdb8bf1dea in QEventLoop::exec (this=this@entry=0x7fff76c44600, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#41 0x00007efdb8bf9e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#42 0x00007efdb8f2dc3c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1542
#43 0x00007efdb94e3495 in QApplication::exec () at kernel/qapplication.cpp:2976
#44 0x00007efdba713504 in kdemain (argc=2, argv=0x7fff76c44848) at /build/kwin-2AFxJo/kwin-5.5.5/main_x11.cpp:308
#45 0x00007efdba365830 in __libc_start_main (main=0x400780 <main(int, char**)>, argc=2, argv=0x7fff76c44848, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff76c44838) at ../csu/libc-start.c:291
#46 0x00000000004007b9 in _start ()

Possible duplicates by query: bug 364008, bug 358369.

Reported using DrKonqi
Comment 1 Thomas Lübking 2016-06-12 22:11:04 UTC
run "kcmshell5 kwindecoration" and switch to breeze.

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