Application: kwin_x11 (5.3.2) Qt Version: 5.5.0 Operating System: Linux 4.1.4-200.fc22.x86_64 x86_64 Distribution (Platform): Fedora RPMs -- Information about the crash: - What I was doing when the application crashed: Right after startup, the system freezes upon launching a KDE application like Dolphin (rare) or Okular (often). In most cases DrKonqi is not started automatically. 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 0x7fcce9d5c900 (LWP 2561))] Thread 4 (Thread 0x7fccdb7fe700 (LWP 2575)): #0 0x00000036b58f9063 in select () at /lib64/libc.so.6 #1 0x00000030dc6d541f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /lib64/libQt5Core.so.5 #2 0x00000030dc6d6f1e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /lib64/libQt5Core.so.5 #3 0x00000030dc6d744e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #4 0x00000030dc680daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #5 0x00000030dc49d5a4 in QThread::exec() () at /lib64/libQt5Core.so.5 #6 0x00000030e92d9245 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5 #7 0x00000030dc4a254e in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5 #8 0x00000036b5407555 in start_thread () at /lib64/libpthread.so.0 #9 0x00000036b5902b9d in clone () at /lib64/libc.so.6 Thread 3 (Thread 0x7fcccbfff700 (LWP 2613)): #0 0x00000036b540c540 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00000030eb385494 in QTWTF::TCMalloc_PageHeap::scavengerThread() () at /lib64/libQt5Script.so.5 #2 0x00000030eb3854d9 in () at /lib64/libQt5Script.so.5 #3 0x00000036b5407555 in start_thread () at /lib64/libpthread.so.0 #4 0x00000036b5902b9d in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7fcc43fff700 (LWP 2945)): #0 0x00000036b58f9063 in select () at /lib64/libc.so.6 #1 0x00000030dc6d541f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /lib64/libQt5Core.so.5 #2 0x00000030dc6d6f1e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /lib64/libQt5Core.so.5 #3 0x00000030dc6d744e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #4 0x00000030dc680daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #5 0x00000030dc49d5a4 in QThread::exec() () at /lib64/libQt5Core.so.5 #6 0x00000030e92d9245 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5 #7 0x00000030dc4a254e in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5 #8 0x00000036b5407555 in start_thread () at /lib64/libpthread.so.0 #9 0x00000036b5902b9d in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7fcce9d5c900 (LWP 2561)): [KCrash Handler] #6 0x00000030e919c38a in toVariant(QV4::ExecutionEngine*, QV4::Value const&, int, bool, QSet<QV4::Heap::Object*>*) () at /lib64/libQt5Qml.so.5 #7 0x00000030e919c684 in QV4::ExecutionEngine::toVariant(QV4::Value const&, int, bool) () at /lib64/libQt5Qml.so.5 #8 0x00000030e9257c20 in QQmlPropertyPrivate::writeBinding(QObject*, QQmlPropertyData const&, QQmlContextData*, QQmlJavaScriptExpression*, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () at /lib64/libQt5Qml.so.5 #9 0x00000030e92c582f in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () at /lib64/libQt5Qml.so.5 #10 0x00000030e92ced46 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /lib64/libQt5Qml.so.5 #11 0x00000030e9259a4e in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /lib64/libQt5Qml.so.5 #12 0x00000030e9259b17 in QQmlComponentPrivate::completeCreate() () at /lib64/libQt5Qml.so.5 #13 0x00000030e9259980 in QQmlComponent::create(QQmlContext*) () at /lib64/libQt5Qml.so.5 #14 0x00007fcce02849cf in Aurorae::Decoration::init() () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so #15 0x00000030e8baaa4a in KWin::Decoration::DecorationBridge::createDecoration(KWin::Client*) () at /lib64/libkwin.so.5 #16 0x00000030e8a716e9 in KWin::Client::createDecoration(QRect const&) () at /lib64/libkwin.so.5 #17 0x00000030e8a7b059 in KWin::Client::updateDecoration(bool, bool) () at /lib64/libkwin.so.5 #18 0x00000030e8ad1422 in KWin::Client::manage(unsigned int, bool) () at /lib64/libkwin.so.5 #19 0x00000030e8a6689d in KWin::Workspace::createClient(unsigned int, bool) () at /lib64/libkwin.so.5 #20 0x00000030e8ab6c14 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /lib64/libkwin.so.5 #21 0x00000030dc67ff3f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /lib64/libQt5Core.so.5 #22 0x00007fcce31f3fc4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /lib64/libQt5XcbQpa.so.5 #23 0x00007fcce31f4d73 in QXcbConnection::processXcbEvents() () at /lib64/libQt5XcbQpa.so.5 #24 0x00000030dc6b3021 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5 #25 0x00000030de5544ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #26 0x00000030de559976 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5 #27 0x00000030dc68361b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5 #28 0x00000030dc685a16 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5 #29 0x00000030dc6d7312 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #30 0x00007fcce325727d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5XcbQpa.so.5 #31 0x00000030dc680daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5 #32 0x00000030dc688e6c in QCoreApplication::exec() () at /lib64/libQt5Core.so.5 #33 0x00000030e8605b07 in kdemain () at /lib64/libkdeinit5_kwin_x11.so #34 0x00000036b5820700 in __libc_start_main () at /lib64/libc.so.6 #35 0x0000000000400c89 in _start () Reported using DrKonqi
Qt bug, very likely https://bugreports.qt.io/browse/QTBUG-44895 also see bug #348091 It's induced by the aurora decoration, so use the breeze engine (not plastik!, since that uses QML as well)
After changing to the breeze windows decoration, the problem has not occurred any more. Thanks.
*** Bug 352514 has been marked as a duplicate of this bug. ***
Better backtrace from dupe: -- Backtrace: Application: KWin (kwin_x11), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f907fa68900 (LWP 819))] Thread 4 (Thread 0x7f9059689700 (LWP 844)): #0 0x00007f907488564f in __libc_enable_asynccancel () from /lib64/libc.so.6 #1 0x00007f907486e055 in select () from /lib64/libc.so.6 #2 0x00007f9075db541f in qt_safe_select (nfds=13, fdread=fdread@entry=0x7f9050000a98, fdwrite=fdwrite@entry=0x7f9050000d28, fdexcept=fdexcept@entry=0x7f9050000fb8, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75 #3 0x00007f9075db6f1e in select (timeout=0x0, exceptfds=0x7f9050000fb8, writefds=0x7f9050000d28, readfds=0x7f9050000a98, nfds=<optimized out>, this=0x7f90500008e0) at kernel/qeventdispatcher_unix.cpp:320 #4 QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f9050000900, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196 #5 0x00007f9075db744e in QEventDispatcherUNIX::processEvents (this=0x7f90500008e0, flags=...) at kernel/qeventdispatcher_unix.cpp:607 #6 0x00007f9075d60daa in QEventLoop::exec (this=this@entry=0x7f9059688ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #7 0x00007f9075b7d5a4 in QThread::exec (this=this@entry=0x25c36e0) at thread/qthread.cpp:503 #8 0x00007f907d645245 in QQmlThreadPrivate::run (this=0x25c36e0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/ftw/qqmlthread.cpp:141 #9 0x00007f9075b8254e in QThreadPrivate::start (arg=0x25c36e0) at thread/qthread_unix.cpp:331 #10 0x00007f9078e78555 in start_thread () from /lib64/libpthread.so.0 #11 0x00007f9074877b9d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f904afae700 (LWP 873)): #0 0x00007f9078e7d540 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f907e805494 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQt5Script.so.5 #2 0x00007f907e8054d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQt5Script.so.5 #3 0x00007f9078e78555 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f9074877b9d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f905a22d700 (LWP 950)): #0 0x00007f907486e063 in select () from /lib64/libc.so.6 #1 0x00007f9075db541f in qt_safe_select (nfds=11, fdread=fdread@entry=0x7f904c000a58, fdwrite=fdwrite@entry=0x7f904c000ce8, fdexcept=fdexcept@entry=0x7f904c000f78, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75 #2 0x00007f9075db6f1e in select (timeout=0x0, exceptfds=0x7f904c000f78, writefds=0x7f904c000ce8, readfds=0x7f904c000a58, nfds=<optimized out>, this=0x7f904c01fbe0) at kernel/qeventdispatcher_unix.cpp:320 #3 QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f904c0008c0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196 #4 0x00007f9075db744e in QEventDispatcherUNIX::processEvents (this=0x7f904c01fbe0, flags=...) at kernel/qeventdispatcher_unix.cpp:607 #5 0x00007f9075d60daa in QEventLoop::exec (this=this@entry=0x7f905a22cca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #6 0x00007f9075b7d5a4 in QThread::exec (this=this@entry=0x2c54690) at thread/qthread.cpp:503 #7 0x00007f907d645245 in QQmlThreadPrivate::run (this=0x2c54690) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/ftw/qqmlthread.cpp:141 #8 0x00007f9075b8254e in QThreadPrivate::start (arg=0x2c54690) at thread/qthread_unix.cpp:331 #9 0x00007f9078e78555 in start_thread () from /lib64/libpthread.so.0 #10 0x00007f9074877b9d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f907fa68900 (LWP 819)): [KCrash Handler] #5 d (this=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/jsruntime/qv4managed_p.h:128 #6 as<QV4::RegExpObject> (this=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/jsruntime/qv4managed_p.h:176 #7 toVariant (e=0x2bc3640, value=..., typeHint=typeHint@entry=39, createJSValueForObjects=createJSValueForObjects@entry=true, visitedObjects=visitedObjects@entry=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/jsruntime/qv4engine.cpp:1276 #8 0x00007f907d508684 in QV4::ExecutionEngine::toVariant (this=<optimized out>, value=..., typeHint=typeHint@entry=39, createJSValueForObjects=createJSValueForObjects@entry=true) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/jsruntime/qv4engine.cpp:1187 #9 0x00007f907d5c3c20 in QQmlPropertyPrivate::writeBinding (object=0x2cb3650, core=..., context=0x2d55740, expression=expression@entry=0x2b97fa0, result=..., isUndefined=isUndefined@entry=false, flags=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlproperty.cpp:1548 #10 0x00007f907d63182f in QQmlBinding::update (this=0x2b97f80, flags=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlbinding.cpp:198 #11 0x00007f907d63ad46 in setEnabled (f=..., e=true, this=0x2b97fb8) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlabstractbinding_p.h:110 #12 QQmlObjectCreator::finalize (this=0x2d77a50, interrupt=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlobjectcreator.cpp:1194 #13 0x00007f907d5c5a4e in QQmlComponentPrivate::complete (enginePriv=0x2c39b90, state=0x2b9df10) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlcomponent.cpp:928 #14 0x00007f907d5c5b17 in QQmlComponentPrivate::completeCreate (this=0x2b9de70) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlcomponent.cpp:964 #15 0x00007f907d5c5980 in QQmlComponent::create (this=0x2b9dd40, context=0x2c4c950) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlcomponent.cpp:791 #16 0x00007f90596a79cf in Aurorae::Decoration::init (this=0x2ce1630) at ../../../../clients/aurorae/src/aurorae.cpp:313 #17 0x00007f907f3faa4a in KWin::Decoration::DecorationBridge::createDecoration (this=0x24c6400, client=client@entry=0x2d0a260) at ../decorations/decorationbridge.cpp:215 #18 0x00007f907f2c16e9 in KWin::Client::createDecoration (this=this@entry=0x2d0a260, oldgeom=...) at ../client.cpp:430 #19 0x00007f907f2cb059 in KWin::Client::updateDecoration (this=this@entry=0x2d0a260, check_workspace_pos=check_workspace_pos@entry=false, force=force@entry=false) at ../client.cpp:417 #20 0x00007f907f321422 in KWin::Client::manage (this=this@entry=0x2d0a260, w=w@entry=58745839, isMapped=isMapped@entry=false) at ../manage.cpp:382 #21 0x00007f907f2b689d in KWin::Workspace::createClient (this=this@entry=0x24afab0, w=58745839, is_mapped=is_mapped@entry=false) at ../workspace.cpp:440 #22 0x00007f907f306c14 in KWin::Workspace::workspaceEvent (this=0x24afab0, e=0x7f90540018a0) at ../events.cpp:419 #23 0x00007f9075d5ff3f in QAbstractEventDispatcher::filterNativeEvent (this=<optimized out>, eventType=..., message=message@entry=0x7f90540018a0, result=result@entry=0x7ffd017e7fe8) at kernel/qabstracteventdispatcher.cpp:460 #24 0x00007f905d16ffc4 in QXcbConnection::handleXcbEvent (this=this@entry=0x23cd8d0, event=event@entry=0x7f90540018a0) at qxcbconnection.cpp:981 #25 0x00007f905d170d73 in QXcbConnection::processXcbEvents (this=0x23cd8d0) at qxcbconnection.cpp:1471 #26 0x00007f9075d93021 in QObject::event (this=0x23cd8d0, e=<optimized out>) at kernel/qobject.cpp:1246 #27 0x00007f9076a4c4ac in QApplicationPrivate::notify_helper (this=this@entry=0x23c1650, receiver=receiver@entry=0x23cd8d0, e=e@entry=0x7f9054002020) at kernel/qapplication.cpp:3717 #28 0x00007f9076a51976 in QApplication::notify (this=0x7ffd017e8600, receiver=0x23cd8d0, e=0x7f9054002020) at kernel/qapplication.cpp:3500 #29 0x00007f9075d6361b in QCoreApplication::notifyInternal (this=0x7ffd017e8600, receiver=0x23cd8d0, event=event@entry=0x7f9054002020) at kernel/qcoreapplication.cpp:965 #30 0x00007f9075d65a16 in sendEvent (event=0x7f9054002020, receiver=<optimized out>) at kernel/qcoreapplication.h:224 #31 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x23b2020) at kernel/qcoreapplication.cpp:1593 #32 0x00007f9075db7312 in QEventDispatcherUNIX::processEvents (this=0x2401650, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:579 #33 0x00007f905d1d327d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62 #34 0x00007f9075d60daa in QEventLoop::exec (this=this@entry=0x7ffd017e8520, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #35 0x00007f9075d68e6c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229 #36 0x00007f907629724c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1528 #37 0x00007f9076a488e5 in QApplication::exec () at kernel/qapplication.cpp:2977 #38 0x00007f907f6ebb07 in kdemain (argc=1, argv=0x7ffd017e8768) at ../main_x11.cpp:301 #39 0x00007f9074795700 in __libc_start_main () from /lib64/libc.so.6 #40 0x0000000000400c89 in _start ()
*** Bug 353461 has been marked as a duplicate of this bug. ***
*** Bug 353464 has been marked as a duplicate of this bug. ***
*** Bug 353682 has been marked as a duplicate of this bug. ***
*** Bug 354929 has been marked as a duplicate of this bug. ***
*** Bug 355274 has been marked as a duplicate of this bug. ***
I can see this crash (backtrace in bug 355274) on current openSUSE Tumbleweed with Qt 5.5.1 which already has the patch from QTBUG-44895.
crash code in Qt (from your detailed backtrace) QV4::ScopedObject o(scope, value); Q_ASSERT(o); if (QV4::RegExpObject *re = o->as<QV4::RegExpObject>()) // crash here, o is 0x0 return re->toQRegExp(); What looks a hell lot like the asserts that Jan encountered in the Qt bug...
*** Bug 357511 has been marked as a duplicate of this bug. ***
*** Bug 357654 has been marked as a duplicate of this bug. ***
*** Bug 358558 has been marked as a duplicate of this bug. ***
*** Bug 359284 has been marked as a duplicate of this bug. ***
*** Bug 359749 has been marked as a duplicate of this bug. ***
Under System Settings, Appearance, Application Style, Window Decorations I've switched from Plastik to org.kde.breeze and done one successful logout/login and restart of iceweasel.
Note that I experienced both the bug and the org.kde.breeze work-around under Qt 5.5.1: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810947#105
*** Bug 360553 has been marked as a duplicate of this bug. ***
*** Bug 361843 has been marked as a duplicate of this bug. ***
*** Bug 362667 has been marked as a duplicate of this bug. ***