Bug 354929 - Crash when opening new windows when using Aurorae decorations
Summary: Crash when opening new windows when using Aurorae decorations
Status: RESOLVED DUPLICATE of bug 352259
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-11-06 05:27 UTC by A. Wilcox (awilfox)
Modified: 2015-11-06 06:49 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 A. Wilcox (awilfox) 2015-11-06 05:27:36 UTC
Application: kwin_x11 (5.4.2)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.3.0-ciall x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
This happens on every fresh login.  The second window I open crashes KWin.  Once it restarts it doesn't usually crash any more, though I have seen a few times.  I thought there was another bug report like this but neither I nor Dr Konqi could find it so I am filing a new one instead.  If there is indeed another report, feel free to RESO DUPL this one and I will provide any information necessary on that one.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff9ad59e7c0 (LWP 4111))]

Thread 5 (Thread 0x7ff981128700 (LWP 4119)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff98abfd8bb in cnd_wait (mtx=0x14f5218, cond=0x14f5240) at /var/tmp/portage/media-libs/mesa-11.0.4/work/mesa-11.0.4/include/c11/threads_posix.h:154
#2  pipe_semaphore_wait (sema=0x14f5218) at /var/tmp/portage/media-libs/mesa-11.0.4/work/mesa-11.0.4/src/gallium/auxiliary/os/os_thread.h:259
#3  radeon_drm_cs_emit_ioctl (param=param@entry=0x14f4ed0) at /var/tmp/portage/media-libs/mesa-11.0.4/work/mesa-11.0.4/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:644
#4  0x00007ff98abfcf07 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-11.0.4/work/mesa-11.0.4/include/c11/threads_posix.h:87
#5  0x00007ff9a5acb434 in start_thread (arg=0x7ff981128700) at pthread_create.c:334
#6  0x00007ff9ad0886dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7ff9806fe700 (LWP 4120)):
#0  0x00007ff9ad0812b3 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff9ab989771 in qt_safe_select (nfds=17, fdread=fdread@entry=0x7ff978000a78, fdwrite=fdwrite@entry=0x7ff978000d08, fdexcept=fdexcept@entry=0x7ff978000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007ff9ab98af0e in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=0x7ff978000f98, writefds=0x7ff978000d08, readfds=0x7ff978000a78, nfds=<optimized out>, this=0x7ff9780008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7ff9780008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007ff9ab98b465 in QEventDispatcherUNIX::processEvents (this=0x7ff9780008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007ff9ab93e7ba in QEventLoop::exec (this=this@entry=0x7ff9806fdde0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ff9ab78c834 in QThread::exec (this=this@entry=0x133dd10) at thread/qthread.cpp:503
#7  0x00007ff9a6e3a665 in QQmlThreadPrivate::run (this=0x133dd10) at qml/ftw/qqmlthread.cpp:141
#8  0x00007ff9ab7912a2 in QThreadPrivate::start (arg=0x133dd10) at thread/qthread_unix.cpp:331
#9  0x00007ff9a5acb434 in start_thread (arg=0x7ff9806fe700) at pthread_create.c:334
#10 0x00007ff9ad0886dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7ff97daae700 (LWP 4123)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff9aa985924 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7ff9aaa75e40 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007ff9aa985969 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007ff9a5acb434 in start_thread (arg=0x7ff97daae700) at pthread_create.c:334
#4  0x00007ff9ad0886dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7ff990c3a700 (LWP 4363)):
#0  0x00007ff9ad0812b3 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff9ab989771 in qt_safe_select (nfds=11, fdread=fdread@entry=0x7ff9840c0238, fdwrite=fdwrite@entry=0x7ff9840c04c8, fdexcept=fdexcept@entry=0x7ff9840c0758, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007ff9ab98af0e in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=0x7ff9840c0758, writefds=0x7ff9840c04c8, readfds=0x7ff9840c0238, nfds=<optimized out>, this=0x7ff9840e78d0) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7ff9840c00a0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007ff9ab98b465 in QEventDispatcherUNIX::processEvents (this=0x7ff9840e78d0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007ff9ab93e7ba in QEventLoop::exec (this=this@entry=0x7ff990c39de0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ff9ab78c834 in QThread::exec (this=this@entry=0x16aed40) at thread/qthread.cpp:503
#7  0x00007ff9a6e3a665 in QQmlThreadPrivate::run (this=0x16aed40) at qml/ftw/qqmlthread.cpp:141
#8  0x00007ff9ab7912a2 in QThreadPrivate::start (arg=0x16aed40) at thread/qthread_unix.cpp:331
#9  0x00007ff9a5acb434 in start_thread (arg=0x7ff990c3a700) at pthread_create.c:334
#10 0x00007ff9ad0886dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ff9ad59e7c0 (LWP 4111)):
[KCrash Handler]
#6  QV4::Managed::d (this=0x0) at jsruntime/qv4managed_p.h:134
#7  QV4::Managed::as<QV4::QObjectWrapper> (this=0x0) at jsruntime/qv4managed_p.h:182
#8  toVariant (e=0x1e187a0, value=..., typeHint=typeHint@entry=39, createJSValueForObjects=createJSValueForObjects@entry=true, visitedObjects=visitedObjects@entry=0x0) at jsruntime/qv4engine.cpp:1218
#9  0x00007ff9a6cf2d40 in QV4::ExecutionEngine::toVariant (this=<optimized out>, value=..., typeHint=typeHint@entry=39, createJSValueForObjects=createJSValueForObjects@entry=true) at jsruntime/qv4engine.cpp:1192
#10 0x00007ff9a6db45e5 in QQmlPropertyPrivate::writeBinding (object=0x1fd4620, core=..., context=0x209f280, expression=expression@entry=0x20542a0, result=..., isUndefined=isUndefined@entry=false, flags=...) at qml/qqmlproperty.cpp:1548
#11 0x00007ff9a6e24785 in QQmlBinding::update (this=0x2054280, flags=...) at qml/qqmlbinding.cpp:199
#12 0x00007ff9a6e2f02f in QQmlAbstractBinding::setEnabled (f=..., e=true, this=0x20542b8) at ../../include/QtQml/5.5.1/QtQml/private/../../../../../src/qml/qml/qqmlabstractbinding_p.h:110
#13 QQmlObjectCreator::finalize (this=0x1380620, interrupt=...) at qml/qqmlobjectcreator.cpp:1194
#14 0x00007ff9a6db5c1b in QQmlComponentPrivate::complete (enginePriv=0x1befee0, state=0x12e1e70) at qml/qqmlcomponent.cpp:928
#15 0x00007ff9a6db5cd7 in QQmlComponentPrivate::completeCreate (this=0x12e1dd0) at qml/qqmlcomponent.cpp:964
#16 0x00007ff9a6db7e50 in QQmlComponent::completeCreate (this=0x124a9d0) at qml/qqmlcomponent.cpp:957
#17 QQmlComponent::create (this=0x124a9d0, context=0x120bb00) at qml/qqmlcomponent.cpp:791
#18 0x00007ff990e70407 in Aurorae::Decoration::init (this=0x142ac30) at /var/tmp/portage/kde-plasma/kwin-5.4.2/work/kwin-5.4.2/clients/aurorae/src/aurorae.cpp:316
#19 0x00007ff9accd6791 in KWin::Decoration::DecorationBridge::createDecoration (this=0x1227900, client=client@entry=0x21ad2b0) at /var/tmp/portage/kde-plasma/kwin-5.4.2/work/kwin-5.4.2/decorations/decorationbridge.cpp:213
#20 0x00007ff9acbbff89 in KWin::Client::createDecoration (this=this@entry=0x21ad2b0, oldgeom=...) at /var/tmp/portage/kde-plasma/kwin-5.4.2/work/kwin-5.4.2/client.cpp:409
#21 0x00007ff9acbc0391 in KWin::Client::updateDecoration (this=this@entry=0x21ad2b0, check_workspace_pos=check_workspace_pos@entry=false, force=force@entry=false) at /var/tmp/portage/kde-plasma/kwin-5.4.2/work/kwin-5.4.2/client.cpp:396
#22 0x00007ff9acc0b0fe in KWin::Client::manage (this=this@entry=0x21ad2b0, w=w@entry=10485785, isMapped=isMapped@entry=false) at /var/tmp/portage/kde-plasma/kwin-5.4.2/work/kwin-5.4.2/manage.cpp:385
#23 0x00007ff9acba85c5 in KWin::Workspace::createClient (this=this@entry=0x1224440, w=10485785, is_mapped=is_mapped@entry=false) at /var/tmp/portage/kde-plasma/kwin-5.4.2/work/kwin-5.4.2/workspace.cpp:485
#24 0x00007ff9acbf362b in KWin::Workspace::workspaceEvent (this=0x1224440, e=0x7ff99400a5c0) at /var/tmp/portage/kde-plasma/kwin-5.4.2/work/kwin-5.4.2/events.cpp:419
#25 0x00007ff9ab93d94c in QAbstractEventDispatcher::filterNativeEvent (this=<optimized out>, eventType=..., message=message@entry=0x7ff99400a5c0, result=result@entry=0x7fffcf1f70b8) at kernel/qabstracteventdispatcher.cpp:460
#26 0x00007ff99960f7a5 in QXcbConnection::handleXcbEvent (this=this@entry=0x116a900, event=event@entry=0x7ff99400a5c0) at qxcbconnection.cpp:1020
#27 0x00007ff9996118cb in QXcbConnection::processXcbEvents (this=0x116a900) at qxcbconnection.cpp:1502
#28 0x00007ff9ab968e9a in QObject::event (this=0x116a900, e=<optimized out>) at kernel/qobject.cpp:1239
#29 0x00007ff9ac19169c in QApplicationPrivate::notify_helper (this=this@entry=0x1163da0, receiver=receiver@entry=0x116a900, e=e@entry=0x7ff99400b600) at kernel/qapplication.cpp:3716
#30 0x00007ff9ac196b10 in QApplication::notify (this=0x7fffcf1f76c0, receiver=0x116a900, e=0x7ff99400b600) at kernel/qapplication.cpp:3499
#31 0x00007ff9ab93fb9d in QCoreApplication::notifyInternal (this=0x7fffcf1f76c0, receiver=0x116a900, event=event@entry=0x7ff99400b600) at kernel/qcoreapplication.cpp:965
#32 0x00007ff9ab942973 in QCoreApplication::sendEvent (event=0x7ff99400b600, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1154b40) at kernel/qcoreapplication.cpp:1593
#34 0x00007ff9ab98b302 in QEventDispatcherUNIX::processEvents (this=0x11a91d0, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:579
#35 0x00007ff999674ded in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#36 0x00007ff9ab93e7ba in QEventLoop::exec (this=this@entry=0x7fffcf1f75e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#37 0x00007ff9ab945b9c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#38 0x00007ff9abc6432c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1527
#39 0x00007ff9ac18d2d5 in QApplication::exec () at kernel/qapplication.cpp:2976
#40 0x00007ff9ad3414ac in kdemain (argc=3, argv=0x7fffcf1f7828) at /var/tmp/portage/kde-plasma/kwin-5.4.2/work/kwin-5.4.2/main_x11.cpp:303
#41 0x00007ff9acfbf630 in __libc_start_main (main=0x400810 <main(int, char**)>, argc=3, argv=0x7fffcf1f7828, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffcf1f7818) at libc-start.c:289
#42 0x0000000000400849 in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2015-11-06 06:49:01 UTC
Is dupe, https://bugreports.qt.io/browse/QTBUG-44895 is claimed fixed in your version, though.

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