Summary: | segfault in QV4::ExecutionEngine::toVariant() | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | augustinus354 |
Component: | aurorae | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | crash | CC: | arthur.marsh, awilfox, bh-kde, filip.buric, jon_p_griffiths, kairo, kdebugs, michael.petzold, null, opensusebugtrucking, pmanousis, sisie.ys, soportelh, szymon.janc, travneff |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.3.2 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
See Also: |
https://bugreports.qt.io/browse/QTBUG-44895 https://bugs.kde.org/show_bug.cgi?id=348091 https://bugs.kde.org/show_bug.cgi?id=354164 https://bugs.kde.org/show_bug.cgi?id=358369 |
||
Latest Commit: | Version Fixed In: |
Description
augustinus354
2015-09-04 08:23:17 UTC
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. *** |