Bug 353461 - kwin_x11 crashes
Summary: kwin_x11 crashes
Status: RESOLVED DUPLICATE of bug 352259
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-10-02 18:08 UTC by Szymon Janc
Modified: 2015-10-08 10:11 UTC (History)
1 user (show)

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 Szymon Janc 2015-10-02 18:08:11 UTC
Application: kwin_x11 (5.4.1)

Qt Version: 5.5.0
Operating System: Linux 4.2.1-300.fc23.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Usually when starting new application KD just freeze. I'm still able to switch to test console and attach gdb or kill drkonq.
After that kwin is restarted and is operational again.

It is happening few times a day so is quite easy to reproduce.

This is hapening on ThinkPad T450s (intel graphics) running Fedora23 beta.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fd8835c3940 (LWP 2083))]

Thread 5 (Thread 0x7fd861cec700 (LWP 2107)):
#0  0x00007fd8787b911d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd879829182 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7fd861cebb80) at /usr/include/bits/poll2.h:46
#2  0x00007fd879829182 in _xcb_conn_wait (c=c@entry=0x5652ed94f510, cond=cond@entry=0x5652ed94f550, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007fd87982ac77 in xcb_wait_for_event (c=0x5652ed94f510) at xcb_in.c:648
#4  0x00007fd862592999 in QXcbEventReader::run() (this=0x5652ed959be0) at qxcbconnection.cpp:1198
#5  0x00007fd879ae354e in QThreadPrivate::start(void*) (arg=0x5652ed959be0) at thread/qthread_unix.cpp:331
#6  0x00007fd87c0a760a in start_thread (arg=0x7fd861cec700) at pthread_create.c:334
#7  0x00007fd8787c4bbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fd85a718700 (LWP 2173)):
#0  0x00007fd8787baea3 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd879d1641f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=11, fdread=fdread@entry=0x7fd84c000a78, fdwrite=fdwrite@entry=0x7fd84c000d08, fdexcept=fdexcept@entry=0x7fd84c000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fd879d17f1e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (timeout=0x0, exceptfds=0x7fd84c000f98, writefds=0x7fd84c000d08, readfds=0x7fd84c000a78, nfds=<optimized out>, this=0x7fd84c0008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  0x00007fd879d17f1e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7fd84c0008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fd879d1844e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd84c0008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fd879cc1daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd85a717c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fd879ade5a4 in QThread::exec() (this=this@entry=0x5652edb41a40) at thread/qthread.cpp:503
#7  0x00007fd880da8245 in QQmlThreadPrivate::run() (this=0x5652edb41a40) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/ftw/qqmlthread.cpp:141
#8  0x00007fd879ae354e in QThreadPrivate::start(void*) (arg=0x5652edb41a40) at thread/qthread_unix.cpp:331
#9  0x00007fd87c0a760a in start_thread (arg=0x7fd85a718700) at pthread_create.c:334
#10 0x00007fd8787c4bbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fd852078700 (LWP 2233)):
#0  0x00007fd87c0acb10 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd8823b8494 in QTWTF::TCMalloc_PageHeap::scavengerThread() (this=0x7fd8826a1380 <QTWTF::pageheap_memory>) at /usr/src/debug/qtscript-opensource-src-5.5.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fd8823b84d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=<optimized out>) at /usr/src/debug/qtscript-opensource-src-5.5.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fd87c0a760a in start_thread (arg=0x7fd852078700) at pthread_create.c:334
#4  0x00007fd8787c4bbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fd852879700 (LWP 2799)):
#0  0x00007fd8787baea3 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd879d1641f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=12, fdread=fdread@entry=0x7fd848000a78, fdwrite=fdwrite@entry=0x7fd848000d08, fdexcept=fdexcept@entry=0x7fd848000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fd879d17f1e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (timeout=0x0, exceptfds=0x7fd848000f98, writefds=0x7fd848000d08, readfds=0x7fd848000a78, nfds=<optimized out>, this=0x7fd8480008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  0x00007fd879d17f1e in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) (this=this@entry=0x7fd8480008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fd879d1844e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fd8480008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fd879cc1daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fd852878c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fd879ade5a4 in QThread::exec() (this=this@entry=0x5652ee86ada0) at thread/qthread.cpp:503
#7  0x00007fd880da8245 in QQmlThreadPrivate::run() (this=0x5652ee86ada0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/ftw/qqmlthread.cpp:141
#8  0x00007fd879ae354e in QThreadPrivate::start(void*) (arg=0x5652ee86ada0) at thread/qthread_unix.cpp:331
#9  0x00007fd87c0a760a in start_thread (arg=0x7fd852879700) at pthread_create.c:334
#10 0x00007fd8787c4bbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd8835c3940 (LWP 2083)):
[KCrash Handler]
#5  0x00007fd880c6b38a in toVariant(QV4::ExecutionEngine*, QV4::Value const&, int, bool, V4ObjectSet*) (this=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/jsruntime/qv4managed_p.h:128
#6  0x00007fd880c6b38a in toVariant(QV4::ExecutionEngine*, QV4::Value const&, int, bool, V4ObjectSet*) (this=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/jsruntime/qv4managed_p.h:176
#7  0x00007fd880c6b38a in toVariant(QV4::ExecutionEngine*, QV4::Value const&, int, bool, V4ObjectSet*) (e=0x5652ee527110, 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  0x00007fd880c6b684 in QV4::ExecutionEngine::toVariant(QV4::Value const&, int, bool) (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  0x00007fd880d26c20 in QQmlPropertyPrivate::writeBinding(QObject*, QQmlPropertyData const&, QQmlContextData*, QQmlJavaScriptExpression*, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) (object=0x5652ee7590a0, core=..., context=0x5652eec107f0, expression=expression@entry=0x5652eed69a40, result=..., isUndefined=isUndefined@entry=false, flags=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlproperty.cpp:1548
#10 0x00007fd880d9482f in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) (this=0x5652eed69a20, flags=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlbinding.cpp:198
#11 0x00007fd880d9dd46 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (f=..., e=true, this=0x5652eed69a58) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlabstractbinding_p.h:110
#12 0x00007fd880d9dd46 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) (this=0x5652ee490320, interrupt=...) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlobjectcreator.cpp:1194
#13 0x00007fd880d28a4e in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (enginePriv=0x5652ee37a5d0, state=0x5652ee5125e0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlcomponent.cpp:928
#14 0x00007fd880d28b17 in QQmlComponentPrivate::completeCreate() (this=0x5652ee512540) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlcomponent.cpp:964
#15 0x00007fd880d28980 in QQmlComponent::create(QQmlContext*) (this=0x5652ee51d510, context=0x5652ee9859d0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/qqmlcomponent.cpp:791
#16 0x00007fd85a95391f in Aurorae::Decoration::init() (this=0x5652eeccd800) at ../../../../clients/aurorae/src/aurorae.cpp:316
#17 0x00007fd882fcc4aa in KWin::Decoration::DecorationBridge::createDecoration(KWin::Client*) (this=0x5652eda45940, client=client@entry=0x5652ee9852e0) at ../decorations/decorationbridge.cpp:213
#18 0x00007fd882e8b419 in KWin::Client::createDecoration(QRect const&) (this=this@entry=0x5652ee9852e0, oldgeom=...) at ../client.cpp:409
#19 0x00007fd882e94c27 in KWin::Client::updateDecoration(bool, bool) (this=this@entry=0x5652ee9852e0, check_workspace_pos=check_workspace_pos@entry=false, force=force@entry=false) at ../client.cpp:396
#20 0x00007fd882eeee59 in KWin::Client::manage(unsigned int, bool) (this=this@entry=0x5652ee9852e0, w=w@entry=54525970, isMapped=isMapped@entry=false) at ../manage.cpp:385
#21 0x00007fd882e7a17f in KWin::Workspace::createClient(unsigned int, bool) (this=this@entry=0x5652eda2e130, w=54525970, is_mapped=is_mapped@entry=false) at ../workspace.cpp:485
#22 0x00007fd882ed2d07 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) (this=0x5652eda2e130, e=0x7fd85c002540) at ../events.cpp:419
#23 0x00007fd879cc0f3f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (this=<optimized out>, eventType=..., message=message@entry=0x7fd85c002540, result=result@entry=0x7ffccc30f908) at kernel/qabstracteventdispatcher.cpp:460
#24 0x00007fd862595fc4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x5652ed94dd70, event=event@entry=0x7fd85c002540) at qxcbconnection.cpp:981
#25 0x00007fd862596d73 in QXcbConnection::processXcbEvents() (this=0x5652ed94dd70) at qxcbconnection.cpp:1471
#26 0x00007fd879cf4021 in QObject::event(QEvent*) (this=0x5652ed94dd70, e=<optimized out>) at kernel/qobject.cpp:1246
#27 0x00007fd87a9ac4ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5652ed9463e0, receiver=receiver@entry=0x5652ed94dd70, e=e@entry=0x7fd85c002310) at kernel/qapplication.cpp:3717
#28 0x00007fd87a9b1976 in QApplication::notify(QObject*, QEvent*) (this=0x7ffccc30ff20, receiver=0x5652ed94dd70, e=0x7fd85c002310) at kernel/qapplication.cpp:3500
#29 0x00007fd879cc461b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffccc30ff20, receiver=0x5652ed94dd70, event=event@entry=0x7fd85c002310) at kernel/qcoreapplication.cpp:965
#30 0x00007fd879cc6a16 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7fd85c002310, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#31 0x00007fd879cc6a16 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5652ed9375e0) at kernel/qcoreapplication.cpp:1593
#32 0x00007fd879d18312 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5652ed97c3b0, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:579
#33 0x00007fd8625f927d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#34 0x00007fd879cc1daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffccc30fe40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#35 0x00007fd879cc9e6c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#36 0x00007fd87a1f724c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1528
#37 0x00007fd87a9a88e5 in QApplication::exec() () at kernel/qapplication.cpp:2977
#38 0x00007fd8832b6b93 in kdemain(int, char**) (argc=1, argv=0x7ffccc310088) at ../main_x11.cpp:303
#39 0x00007fd8786e2580 in __libc_start_main (main=0x5652ebe86d50 <main(int, char**)>, argc=1, argv=0x7ffccc310088, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffccc310078) at libc-start.c:289
#40 0x00005652ebe86d89 in _start ()

Possible duplicates by query: bug 352514, bug 352259.

Reported using DrKonqi
Comment 1 Thomas Lübking 2015-10-02 20:14:40 UTC
QtQuick bug, in particular induced by the Aurorae decoration => use the breeze decoration.

@Martin, do we need a plain default deco beyond aurorae?

*** This bug has been marked as a duplicate of bug 352259 ***
Comment 2 Martin Flöser 2015-10-03 09:02:27 UTC
> @Martin, do we need a plain default deco beyond aurorae?

that depends on why users use the aurorae themes. If they actively select them, then no. If it's because of falling back because breeze is not installed, then yes.