Bug 306806 - KWin crashed after applying the deletion of a window rule
Summary: KWin crashed after applying the deletion of a window rule
Status: RESOLVED DUPLICATE of bug 305361
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.9.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-14 18:29 UTC by Serge Ratke
Modified: 2012-09-14 18:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serge Ratke 2012-09-14 18:29:25 UTC
Application: kwin (4.9.1)
KDE Platform Version: 4.9.1 (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.5.3-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

Deleted a window rule and hit the apply button. Prior to the deletion i modified the rule.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
[Current thread is 1 (Thread 0x7fa3e2929780 (LWP 2312))]

Thread 5 (Thread 0x7fa3c55bc700 (LWP 2344)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa3c59e63d3 in pipe_semaphore_wait (sema=0x7fa3e2839b98) at ../../../../../src/gallium/auxiliary/os/os_thread.h:433
#2  radeon_drm_cs_emit_ioctl (param=0x7fa3e2818010) at radeon_drm_cs.c:417
#3  0x00007fa3dd98bd96 in start_thread (arg=0x7fa3c55bc700) at pthread_create.c:305
#4  0x00007fa3e214da1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fa3bffff700 (LWP 2345)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa3defd4f42 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fa3df2a8e20 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fa3defd4f79 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fa3dd98bd96 in start_thread (arg=0x7fa3bffff700) at pthread_create.c:305
#4  0x00007fa3e214da1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fa3ccfc1700 (LWP 3135)):
[KCrash Handler]
#6  0x00007fa3ddc22a96 in length (this=0x2a72e18) at tools/qbytearray.h:356
#7  qstrcmp (str1=..., str2=...) at tools/qbytearray.cpp:344
#8  0x00007fa3de3abea3 in operator< (k2=..., k1=...) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/config/kconfigdata.h:122
#9  qMapLessThanKey<KEntryKey> (key2=..., key1=...) at /usr/include/qt4/QtCore/qmap.h:107
#10 findNode (akey=..., this=0x20f6e70) at /usr/include/qt4/QtCore/qmap.h:487
#11 find (akey=..., this=0x20f6e70) at /usr/include/qt4/QtCore/qmap.h:608
#12 findEntry (flags=..., key=..., group=..., this=0x20f6e70) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/config/kconfigdata.h:211
#13 getEntryOption (option=KEntryMap::EntryImmutable, flags=..., key=..., group=..., this=0x20f6e70) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/config/kconfigdata.h:403
#14 KConfig::isGroupImmutableImpl (this=<optimized out>, aGroup=...) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/config/kconfig.cpp:743
#15 0x00007fa3de3b5834 in KConfigGroupPrivate (name=..., owner=..., this=0x7fa3c8002800) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/config/kconfiggroup.cpp:55
#16 KConfigGroup::KConfigGroup (this=0x7fa3ccfc04f0, master=..., _group=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/config/kconfiggroup.cpp:493
#17 0x00007fa3de512935 in KSycocaPrivate::KSycocaPrivate (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/sycoca/ksycoca.cpp:106
#18 0x00007fa3de512b73 in KSycoca::KSycoca (this=0x7fa3c80008c0) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/sycoca/ksycoca.cpp:181
#19 0x00007fa3de513355 in sycoca (this=0x7fa3c8002ac0) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/sycoca/ksycoca.cpp:166
#20 KSycoca::self () at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/sycoca/ksycoca.cpp:295
#21 0x00007fa3de518431 in KSycocaFactory::KSycocaFactory (this=0x7fa3c8002650, factory_id=KST_KServiceTypeFactory) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/sycoca/ksycocafactory.cpp:53
#22 0x00007fa3de49ba7e in KServiceTypeFactory::KServiceTypeFactory (this=0x7fa3c8002650) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/services/kservicetypefactory.cpp:31
#23 0x00007fa3de49beea in self (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/sycoca/ksycocafactory.h:200
#24 KServiceTypeFactory::self () at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/services/kservicetypefactory.cpp:65
#25 0x00007fa3de48a8f5 in KServicePrivate::property (this=0x2a82cf0, _name=..., t=QVariant::Invalid) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/services/kservice.cpp:547
#26 0x00007fa3de48b10b in KServicePrivate::property (this=<optimized out>, _name=...) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/services/kservice.cpp:485
#27 0x00007fa3de517cae in KSycocaEntry::property (this=<optimized out>, name=...) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/sycoca/ksycocaentry.cpp:172
#28 0x00007fa3de4aa0bb in KPluginInfo::KPluginInfo (this=0x7fa3ccfc0bc0, service=...) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdecore/services/kplugininfo.cpp:125
#29 0x00007fa3e24f32a2 in KWin::Scripting::queryScriptsToLoad (this=0x20b2f00, pluginStates=..., offers=...) at /var/tmp/portage/kde-base/kwin-4.9.1-r1/work/kwin-4.9.1/kwin/scripting/scripting.cpp:487
#30 0x00007fa3e24f5c4e in QtConcurrent::StoredMemberFunctionPointerCall2<QList<QPair<bool, QPair<QString, QString> > >, KWin::Scripting, QMap<QString, QString>&, QMap<QString, QString>, QList<KSharedPtr<KService> >&, QList<KSharedPtr<KService> > >::runFunctor (this=0x2a81d20) at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:599
#31 0x00007fa3e24f5ceb in run (this=0x2a81d20) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:106
#32 QtConcurrent::RunFunctionTask<QList<QPair<bool, QPair<QString, QString> > > >::run (this=0x2a81d20) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:97
#33 0x00007fa3ddc14d10 in QThreadPoolThread::run (this=0x228c9c0) at concurrent/qthreadpool.cpp:107
#34 0x00007fa3ddc207bb in QThreadPrivate::start (arg=0x228c9c0) at thread/qthread_unix.cpp:307
#35 0x00007fa3dd98bd96 in start_thread (arg=0x7fa3ccfc1700) at pthread_create.c:305
#36 0x00007fa3e214da1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fa3c77fe700 (LWP 3136)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007fa3ddc21632 in wait (time=30000, this=0x2294770) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2294718, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fa3ddc14dff in QThreadPoolThread::run (this=0x20b29c0) at concurrent/qthreadpool.cpp:141
#4  0x00007fa3ddc207bb in QThreadPrivate::start (arg=0x20b29c0) at thread/qthread_unix.cpp:307
#5  0x00007fa3dd98bd96 in start_thread (arg=0x7fa3c77fe700) at pthread_create.c:305
#6  0x00007fa3e214da1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fa3e2929780 (LWP 2312)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa3ddc216cb in wait (time=18446744073709551615, this=0x22947e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2294718, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fa3ddc140f6 in QThreadPoolPrivate::waitForDone (this=0x2294690, msecs=-1) at concurrent/qthreadpool.cpp:298
#4  0x00007fa3ddc15544 in QThreadPool::~QThreadPool (this=0x21029b0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:440
#5  0x00007fa3ddc15589 in QThreadPool::~QThreadPool (this=0x21029b0, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:442
#6  0x00007fa3ddc15bf5 in QGlobalStaticDeleter<QThreadPool>::~QGlobalStaticDeleter (this=0x7fa3de07af98 <theInstance()::cleanup>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1927
#7  0x00007fa3e209b3f1 in __run_exit_handlers (status=1, listp=0x7fa3e24065a8 <__exit_funcs>, run_list_atexit=true) at exit.c:78
#8  0x00007fa3e209b445 in *__GI_exit (status=36259852) at exit.c:100
#9  0x00007fa3dcf0c738 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:770
#10 0x00007fa3e1c263c8 in KApplication::xioErrhandler (this=0x7fff88e0bce0, dpy=0x20ceeb0) at /var/tmp/portage/kde-base/kdelibs-4.9.1/work/kdelibs-4.9.1/kdeui/kernel/kapplication.cpp:419
#11 0x00007fa3e014f88e in _XIOError (dpy=0x20ceeb0) at /var/tmp/portage/x11-libs/libX11-1.5.0/work/libX11-1.5.0/src/XlibInt.c:1618
#12 0x00007fa3e014d2dd in _XEventsQueued (dpy=0x20ceeb0, mode=<optimized out>) at /var/tmp/portage/x11-libs/libX11-1.5.0/work/libX11-1.5.0/src/xcb_io.c:365
#13 0x00007fa3e013e88f in XEventsQueued (dpy=0x20ceeb0, mode=2) at /var/tmp/portage/x11-libs/libX11-1.5.0/work/libX11-1.5.0/src/Pending.c:43
#14 0x00007fa3dcf461de in QEventDispatcherX11::processEvents (this=0x204cad0, flags=...) at kernel/qeventdispatcher_x11.cpp:141
#15 0x00007fa3ddd20872 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#16 0x00007fa3ddd20b25 in QEventLoop::exec (this=0x7fff88e0bc50, flags=...) at kernel/qeventloop.cpp:204
#17 0x00007fa3ddd2557b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#18 0x00007fa3e2472d83 in kdemain (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-base/kwin-4.9.1-r1/work/kwin-4.9.1/kwin/main.cpp:545
#19 0x00007fa3e20854bd in __libc_start_main (main=0x4006c0 <main(int, char**)>, argc=3, ubp_av=0x7fff88e0c3d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff88e0c3c8) at libc-start.c:226
#20 0x00000000004006f1 in _start ()

Possible duplicates by query: bug 302211.

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-09-14 18:31:48 UTC
Effectively "kconfiggroup is not thread safe"

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