Bug 278222 - Plasma-desktop crashes when selecting the "Grid Desktop" containment
Summary: Plasma-desktop crashes when selecting the "Grid Desktop" containment
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 278162 278725 278778 278797 278818 278822 278906 278938 279220 279418 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-21 20:05 UTC by Diego Casella
Modified: 2011-08-17 07:18 UTC (History)
20 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.1


Attachments
New crash information added by DrKonqi (8.48 KB, text/plain)
2011-07-30 01:48 UTC, Saleel Velankar
Details
New crash information added by DrKonqi (8.04 KB, text/plain)
2011-07-30 10:57 UTC, Elias Probst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Casella 2011-07-21 20:05:43 UTC
Version:           unspecified (using Devel) 
OS:                Linux

Today I've created a new "Grid Desktop" activity on my laptop, and plasma-desktop suddenly crashed.
When plasma-desktop restarted there was a new "Desktop" activity.
So I've tried to change its type by right-clicking on the desktop -> Desktop Settings -> Layout: Grid Desktop but, when I clicked "Apply", plasma-desktop crashed again.
Same behavior with the "Grouping Desktop" containmnent. The backtrace I collected is the following:


Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5657710 (LWP 4447))]

Thread 7 (Thread 0xaaf99b70 (LWP 4540)):
#0  0xb7827424 in __kernel_vsyscall ()
#1  0xb5d56f76 in __poll (fds=0xa5d0c60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb583c84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb582c1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb582c524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6dd0bc8 in QEventDispatcherGlib::processEvents (this=0xa5d0248, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb6d9a09d in QEventLoop::processEvents (this=0xaaf99298, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6d9a1e1 in QEventLoop::exec (this=0xaaf99298, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6c8e3bf in QThread::exec (this=0xa5ce030) at thread/qthread.cpp:498
#9  0xb6d7b768 in QInotifyFileSystemWatcherEngine::run (this=0xa5ce030) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6c90b08 in QThreadPrivate::start (arg=0xa5ce030) at thread/qthread_unix.cpp:331
#11 0xb6c03e99 in start_thread (arg=0xaaf99b70) at pthread_create.c:304
#12 0xb5d6573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xaa434b70 (LWP 4583)):
#0  0xb7827424 in __kernel_vsyscall ()
#1  0xb5d5e681 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0xb6d768ab in QProcessManager::run (this=0xb6f20774) at io/qprocess_unix.cpp:245
#3  0xb6c90b08 in QThreadPrivate::start (arg=0xb6f20774) at thread/qthread_unix.cpp:331
#4  0xb6c03e99 in start_thread (arg=0xaa434b70) at pthread_create.c:304
#5  0xb5d6573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa55d9b70 (LWP 5924)):
#0  0xb7827424 in __kernel_vsyscall ()
#1  0xb6c08834 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0xb6c91e8f in QWaitConditionPrivate::wait (this=0xa842a88, time=30000) at thread/qwaitcondition_unix.cpp:86
#3  0xb6c91cad in QWaitCondition::wait (this=0xa8429ec, mutex=0xa8429e8, time=30000) at thread/qwaitcondition_unix.cpp:160
#4  0xb6c8149a in QThreadPoolThread::run (this=0xb1a2e20) at concurrent/qthreadpool.cpp:140
#5  0xb6c90b08 in QThreadPrivate::start (arg=0xb1a2e20) at thread/qthread_unix.cpp:331
#6  0xb6c03e99 in start_thread (arg=0xa55d9b70) at pthread_create.c:304
#7  0xb5d6573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa8749b70 (LWP 5926)):
#0  0xb7827424 in __kernel_vsyscall ()
#1  0xb6c08834 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0xb6c91e8f in QWaitConditionPrivate::wait (this=0xa842a88, time=30000) at thread/qwaitcondition_unix.cpp:86
#3  0xb6c91cad in QWaitCondition::wait (this=0xa8429ec, mutex=0xa8429e8, time=30000) at thread/qwaitcondition_unix.cpp:160
#4  0xb6c8149a in QThreadPoolThread::run (this=0xa842b38) at concurrent/qthreadpool.cpp:140
#5  0xb6c90b08 in QThreadPrivate::start (arg=0xa842b38) at thread/qthread_unix.cpp:331
#6  0xb6c03e99 in start_thread (arg=0xa8749b70) at pthread_create.c:304
#7  0xb5d6573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa9955b70 (LWP 5927)):
#0  0xb7827424 in __kernel_vsyscall ()
#1  0xb6c08834 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0xb6c91e8f in QWaitConditionPrivate::wait (this=0xa842a88, time=30000) at thread/qwaitcondition_unix.cpp:86
#3  0xb6c91cad in QWaitCondition::wait (this=0xa8429ec, mutex=0xa8429e8, time=30000) at thread/qwaitcondition_unix.cpp:160
#4  0xb6c8149a in QThreadPoolThread::run (this=0xb18d408) at concurrent/qthreadpool.cpp:140
#5  0xb6c90b08 in QThreadPrivate::start (arg=0xb18d408) at thread/qthread_unix.cpp:331
#6  0xb6c03e99 in start_thread (arg=0xa9955b70) at pthread_create.c:304
#7  0xb5d6573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa4684b70 (LWP 5928)):
#0  0xb7827424 in __kernel_vsyscall ()
#1  0xb6c08834 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0xb6c91e8f in QWaitConditionPrivate::wait (this=0xa842a88, time=30000) at thread/qwaitcondition_unix.cpp:86
#3  0xb6c91cad in QWaitCondition::wait (this=0xa8429ec, mutex=0xa8429e8, time=30000) at thread/qwaitcondition_unix.cpp:160
#4  0xb6c8149a in QThreadPoolThread::run (this=0xa4144a0) at concurrent/qthreadpool.cpp:140
#5  0xb6c90b08 in QThreadPrivate::start (arg=0xa4144a0) at thread/qthread_unix.cpp:331
#6  0xb6c03e99 in start_thread (arg=0xa4684b70) at pthread_create.c:304
#7  0xb5d6573e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb5657710 (LWP 4447)):
[KCrash Handler]
#7  0xb6ce0558 in ucstrncmp (a=0xb21c5aa, b=0x50a, l=0) at tools/qstring.cpp:179
#8  0xb6ce0607 in ucstrcmp (a=0xb21c5aa, alen=4, b=0x50a, blen=1) at tools/qstring.cpp:192
#9  0xb6ce320c in QString::operator< (this=0xbf9f4958, other=...) at tools/qstring.cpp:2205
#10 0xa6656f1c in GroupInfo::operator< (this=0xb30f0e8, gi=...) at /home/polentino/kde4/kdeplasma-addons/containments/groupingdesktop/lib/groupinfo.cpp:97
#11 0xa6657990 in qMapLessThanKey<GroupInfo> (this=0xb25d598, name=..., parent=0xb12dee0) at /opt/qt4/include/QtCore/qmap.h:107
#12 findNode (this=0xb25d598, name=..., parent=0xb12dee0) at /opt/qt4/include/QtCore/qmap.h:484
#13 value (this=0xb25d598, name=..., parent=0xb12dee0) at /opt/qt4/include/QtCore/qmap.h:499
#14 GroupFactory::load (this=0xb25d598, name=..., parent=0xb12dee0) at /home/polentino/kde4/kdeplasma-addons/containments/groupingdesktop/lib/groupfactory.cpp:34
#15 0xa66501c1 in AbstractGroup::load (name=..., parent=0xb12dee0) at /home/polentino/kde4/kdeplasma-addons/containments/groupingdesktop/lib/abstractgroup.cpp:841
#16 0xa665b8fb in GroupingContainmentPrivate::createGroup (this=0xae418a8, plugin=..., pos=..., id=0, delayInit=true) at /home/polentino/kde4/kdeplasma-addons/containments/groupingdesktop/lib/groupingcontainment.cpp:101
#17 0xa665c1b4 in GroupingContainment::restoreContents (this=0xb12ded8, group=...) at /home/polentino/kde4/kdeplasma-addons/containments/groupingdesktop/lib/groupingcontainment.cpp:896
#18 0xb495de7d in Plasma::Containment::restore (this=0xb12ded8, group=...) at /home/polentino/kde4/kdelibs/plasma/containment.cpp:340
#19 0xb4a511f4 in Plasma::View::swapContainment (this=0xa7a08d0, existing=0xb1ef370, name=..., args=...) at /home/polentino/kde4/kdelibs/plasma/view.cpp:339
#20 0xb1db6a99 in BackgroundDialog::saveConfig (this=0xa13daa0) at /home/polentino/kde4/kde-workspace/libs/plasmagenericshell/backgrounddialog.cpp:492
#21 0xb1db0fab in BackgroundDialog::qt_metacall (this=0xa13daa0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf9f507c) at /home/polentino/kde4/build/kde-workspace/libs/plasmagenericshell/moc_backgrounddialog.cpp:157
#22 0xb6da3b7c in QMetaObject::metacall (object=0xa13daa0, cl=QMetaObject::InvokeMetaMethod, idx=86, argv=0xbf9f507c) at kernel/qmetaobject.cpp:237
#23 0xb6db6d95 in QMetaObject::activate (sender=0xa13daa0, m=0xb780e6c4, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3278
#24 0xb74f45a3 in KDialog::okClicked (this=0xa13daa0) at /home/polentino/kde4/build/kdelibs/kdeui/kdialog.moc:258
#25 0xb74f7668 in KDialog::slotButtonClicked (this=0xa13daa0, button=4) at /home/polentino/kde4/kdelibs/kdeui/dialogs/kdialog.cpp:883
#26 0xb74f7aa9 in KDialog::qt_metacall (this=0xa13daa0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbf9f5348) at /home/polentino/kde4/build/kdelibs/kdeui/kdialog.moc:190
#27 0xb7619d99 in KPageDialog::qt_metacall (this=0xa13daa0, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbf9f5348) at /home/polentino/kde4/build/kdelibs/kdeui/kpagedialog.moc:70
#28 0xb74e5469 in KConfigDialog::qt_metacall (this=0xa13daa0, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbf9f5348) at /home/polentino/kde4/build/kdelibs/kdeui/kconfigdialog.moc:84
#29 0xb1db0ed9 in BackgroundDialog::qt_metacall (this=0xa13daa0, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbf9f5348) at /home/polentino/kde4/build/kde-workspace/libs/plasmagenericshell/moc_backgrounddialog.cpp:151
#30 0xb6da3b7c in QMetaObject::metacall (object=0xa13daa0, cl=QMetaObject::InvokeMetaMethod, idx=69, argv=0xbf9f5348) at kernel/qmetaobject.cpp:237
#31 0xb6db6d95 in QMetaObject::activate (sender=0xae092e4, m=0xb6f1c110, local_signal_index=0, argv=0xbf9f5348) at kernel/qobject.cpp:3278
#32 0xb6dbc2ee in QSignalMapper::mapped (this=0xae092e4, _t1=4) at .moc/debug-shared/moc_qsignalmapper.cpp:101
#33 0xb6dbbff6 in QSignalMapper::map (this=0xae092e4, sender=0xaeadc10) at kernel/qsignalmapper.cpp:266
#34 0xb6dbbf92 in QSignalMapper::map (this=0xae092e4) at kernel/qsignalmapper.cpp:257
#35 0xb6dbc266 in QSignalMapper::qt_metacall (this=0xae092e4, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf9f54a8) at .moc/debug-shared/moc_qsignalmapper.cpp:87
#36 0xb6da3b7c in QMetaObject::metacall (object=0xae092e4, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbf9f54a8) at kernel/qmetaobject.cpp:237
#37 0xb6db6d95 in QMetaObject::activate (sender=0xaeadc10, m=0xb6be99a4, local_signal_index=2, argv=0xbf9f54a8) at kernel/qobject.cpp:3278
#38 0xb68c6ac8 in QAbstractButton::clicked (this=0xaeadc10, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:206
#39 0xb6597d99 in QAbstractButtonPrivate::emitClicked (this=0xb131078) at widgets/qabstractbutton.cpp:546
#40 0xb6597d18 in QAbstractButtonPrivate::click (this=0xb131078) at widgets/qabstractbutton.cpp:539
#41 0xb65990ff in QAbstractButton::mouseReleaseEvent (this=0xaeadc10, e=0xbf9f5ba0) at widgets/qabstractbutton.cpp:1121
#42 0xb61899f5 in QWidget::event (this=0xaeadc10, event=0xbf9f5ba0) at kernel/qwidget.cpp:8295
#43 0xb6598f70 in QAbstractButton::event (this=0xaeadc10, e=0xbf9f5ba0) at widgets/qabstractbutton.cpp:1080
#44 0xb664f6e5 in QPushButton::event (this=0xaeadc10, e=0xbf9f5ba0) at widgets/qpushbutton.cpp:683
#45 0xb6129da8 in QApplicationPrivate::notify_helper (this=0x9ecd738, receiver=0xaeadc10, e=0xbf9f5ba0) at kernel/qapplication.cpp:4477
#46 0xb6127f64 in QApplication::notify (this=0x9e82948, receiver=0xaeadc10, e=0xbf9f5ba0) at kernel/qapplication.cpp:4038
#47 0xb75d7ae4 in KApplication::notify (this=0x9e82948, receiver=0xaeadc10, event=0xbf9f5ba0) at /home/polentino/kde4/kdelibs/kdeui/kernel/kapplication.cpp:311
#48 0xb6d9c328 in QCoreApplication::notifyInternal (this=0x9e82948, receiver=0xaeadc10, event=0xbf9f5ba0) at kernel/qcoreapplication.cpp:787
#49 0xb612c58b in QCoreApplication::sendSpontaneousEvent (receiver=0xaeadc10, event=0xbf9f5ba0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#50 0xb61266d5 in QApplicationPrivate::sendMouseEvent (receiver=0xaeadc10, event=0xbf9f5ba0, alienWidget=0xaeadc10, nativeWidget=0xa13daa0, buttonDown=0xb6bfb6c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3135
#51 0xb61c0507 in QETWidget::translateMouseEvent (this=0xa13daa0, event=0xbf9f617c) at kernel/qapplication_x11.cpp:4461
#52 0xb61bcda8 in QApplication::x11ProcessEvent (this=0x9e82948, event=0xbf9f617c) at kernel/qapplication_x11.cpp:3465
#53 0xb61f3c41 in x11EventSourceDispatch (s=0x9ec7de8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0xb582baa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0xb582c270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0xb582c524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#57 0xb6dd0ba8 in QEventDispatcherGlib::processEvents (this=0x9ec2f18, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#58 0xb61f3fb2 in QGuiEventDispatcherGlib::processEvents (this=0x9ec2f18, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0xb6d9a09d in QEventLoop::processEvents (this=0xbf9f641c, flags=...) at kernel/qeventloop.cpp:149
#60 0xb6d9a1e1 in QEventLoop::exec (this=0xbf9f641c, flags=...) at kernel/qeventloop.cpp:201
#61 0xb6d9ca12 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#62 0xb6127346 in QApplication::exec () at kernel/qapplication.cpp:3751
#63 0xb1f2cb82 in kdemain (argc=1, argv=0x9e5e160) at /home/polentino/kde4/kde-workspace/plasma/desktop/shell/main.cpp:120
#64 0x0804ebc7 in launch (argc=1, _name=0x9df72fc "/opt/kde4/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x805475d "0") at /home/polentino/kde4/kdelibs/kinit/kinit.cpp:734
#65 0x0804fa26 in handle_launcher_request (sock=<value optimized out>, who=0xc <Address 0xc out of bounds>) at /home/polentino/kde4/kdelibs/kinit/kinit.cpp:1226
#66 0x0804ff0a in handle_requests (waitForPid=0) at /home/polentino/kde4/kdelibs/kinit/kinit.cpp:1419
#67 0x08050863 in main (argc=1342901427, argv=0x210b0f68, envp=0x12000000) at /home/polentino/kde4/kdelibs/kinit/kinit.cpp:1907


Reproducible: Always

Steps to Reproduce:
Rigth click on the desktop -> Desktop Settings, then select Layout: "Grid Desktop" or "Grouping Desktop", from whatever activity, then apply.

Actual Results:  
When applying the changes, plasma-desktop will crash immediately in both cases.

Expected Results:  
plasma-desktop should change the containment type without any crash.
Comment 1 Sascha Hlusiak 2011-07-28 09:46:15 UTC
Confirmed for me, 4.6.5 worked fine, 4.7.0 crashes plasma-desktop when grid-layout is activated. Relevant backtrace:

#6  0x00007f5cf23322ab in QString::length (this=0x13cc410) at ../../include/QtCore/../../src/corelib/tools/qstring.h:700
#7  0x00007f5cf2368f11 in QString::operator< (this=0x7fff934a2d10, other=...) at tools/qstring.cpp:2204
#8  0x00007f5ce2da8fcf in GroupInfo::operator< (this=0x13cc560, gi=...) at /usr/tmp/portage/kde-base/kdeplasma-addons-4.7.0/work/kdeplasma-addons-4.7.0/containments/groupingdesktop/lib/groupinfo.cpp:97
#9  0x00007f5ce2daa082 in qMapLessThanKey<GroupInfo> (key1=..., key2=...) at /usr/include/qt4/QtCore/qmap.h:107
#10 0x00007f5ce2dbf3fa in QMap<GroupInfo, AbstractGroup* (*)(QGraphicsItem*)>::mutableFindNode (this=0x12d05c0, aupdate=0x7fff934a2dd0, akey=...) at /usr/include/qt4/QtCore/qmap.h:782
#11 0x00007f5ce2dbf155 in QMap<GroupInfo, AbstractGroup* (*)(QGraphicsItem*)>::insert (this=0x12d05c0, akey=..., avalue=@0x7fff934a2e78) at /usr/include/qt4/QtCore/qmap.h:562
#12 0x00007f5ce2dc9c4d in GroupFactory::registerGroup<FlowGroup> (this=0x12d05c0) at /usr/tmp/portage/kde-base/kdeplasma-addons-4.7.0/work/kdeplasma-addons-4.7.0/containments/groupingdesktop/lib/groupfactory_p.h:47
#13 0x00007f5ce2dc9b3e in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at /usr/tmp/portage/kde-base/kdeplasma-addons-4.7.0/work/kdeplasma-addons-4.7.0/containments/groupingdesktop/lib/groups/flowgroup.cpp:37
#14 0x00007f5ce2dc9b59 in global constructors keyed to flowgroup.cpp(void) () at /usr/tmp/portage/kde-base/kdeplasma-addons-4.7.0/work/kdeplasma-addons-4.7.0_build/containments/groupingdesktop/lib/flowgroup.moc:86
#15 0x00007f5ce2dd4ef6 in ?? () from /usr/lib64/libplasma_groupingcontainment.so.4
Comment 2 Aitor 2011-07-28 10:35:22 UTC
The same here. no difference between one and two screens setups.
Comment 3 Sascha Hlusiak 2011-07-28 10:42:23 UTC
When reverting http://quickgit.kde.org/?p=kdeplasma-addons.git&a=blobdiff&h=2106cca7e951216571f8520ef9d6f167034856c6&hp=9682500e1747f09b5ffe7f0b54eab0a8ce12a42e&hb=50e281f9610b32baef8c7891ccea70f20d44f34f&f=containments/groupingdesktop/lib/groupinfo.cpp
it seems to work without crashing, but that's obviously not a fix but rather a hint of some sort of memory corruption somewhere else.
Comment 4 Sascha Hlusiak 2011-07-28 14:36:50 UTC
in containments/groupingdesktop/lib/groupfactory_p.h@47:

        template<class T> bool registerGroup()
        {
            GroupInfo gi = T::groupInfo();
 
            m_groups.insert(gi, &createGroup<T>);
            return true;
        }

The previous destructor of gi is called on every new assignment, so it's private variable d is freed now with mentioned commit. The QMap m_groups however still references gi while it is already gone and uses it to compare the keys. This seems to be fishy, but the destructor gets called and I believe it should not be called until m_groups is destroyed. Quite lucky it worked before.
Comment 5 Marc Payne 2011-07-28 16:46:30 UTC
Confirmed for me, as well. In the 4.7 RCs, grid desktop worked w/o crashing, and was my default layout. Upon upgrading to 4.7.0, plasma-desktop crashed every time I logged in. To work around, I edited ~/.kde4/share/config/plasma-desktop-appletsrc and changed plugin=org.kde.grid-desktop to plugin=desktop.
Comment 6 Lamarque V. Souza 2011-07-29 19:09:25 UTC
*** Bug 278725 has been marked as a duplicate of this bug. ***
Comment 7 Lamarque V. Souza 2011-07-29 19:09:32 UTC
*** Bug 278797 has been marked as a duplicate of this bug. ***
Comment 8 aditsu 2011-07-29 22:21:26 UTC
I confirm this bug, it didn't happen on 4.7 RC2 but happens in 4.7.0 (plasma crashes on login). And I independently found the same solution as in comment #5
Comment 9 freespacer 2011-07-29 22:29:40 UTC
I can confirmed this on openSUSE 11.4 + KDE 4.7.0. We also need a patch to fix this issue in KDE 4.7.

Regards,
   Sebastian (openSUSE Member Freespacer)
Comment 10 Saleel Velankar 2011-07-30 01:48:48 UTC
Created attachment 62325 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.2

- What I was doing when the application crashed:

1. Installed kdeplasma-addons/project-neon-kdeplasma-addons
2. Right click desktop >> Desktop Settings
3. Select Grid Desktop from the layout option.
4. Plasma crashes.

-- Backtrace (Reduced):
#7  0x053bb72f in GroupingContainment::restoreContents(KConfigGroup&) () from /usr/lib/libplasma_groupingcontainment.so.4
#8  0x003fefbe in Plasma::Containment::restore (this=0x9f312d0, group=...) at ../../plasma/containment.cpp:340
#9  0x004bbe81 in Plasma::View::swapContainment (this=0x9604fe0, existing=0x95ace28, name=..., args=...) at ../../plasma/view.cpp:339
#10 0x00843cb7 in BackgroundDialog::saveConfig() () from /usr/lib/libplasmagenericshell.so.4
#11 0x0083f9ab in BackgroundDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libplasmagenericshell.so.4
Comment 11 Christoph Feck 2011-07-30 04:23:49 UTC
*** Bug 278818 has been marked as a duplicate of this bug. ***
Comment 12 Christoph Feck 2011-07-30 04:24:15 UTC
*** Bug 278778 has been marked as a duplicate of this bug. ***
Comment 13 Christoph Feck 2011-07-30 04:35:48 UTC
*** Bug 278822 has been marked as a duplicate of this bug. ***
Comment 14 Linuxsusefan 2011-07-30 09:11:31 UTC
I can confirmed this! 

See also bug report:

https://bugzilla.novell.com/show_bug.cgi?id=709408

Best regards, Linuxsusefan
Comment 15 Elias Probst 2011-07-30 10:57:45 UTC
Created attachment 62332 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.2

I can confirm this on Gentoo, since upgrading to KDE 4.7.0 plasma-desktop crashes on startup.

-- Backtrace (Reduced):
#6  QString::operator< (this=0x7fff04a13b20, other=...) at tools/qstring.cpp:2204
#7  0x00007eff9d6a5c67 in GroupInfo::operator< (this=<value optimized out>, gi=<value optimized out>) at /var/tmp/portage/kde-base/kdeplasma-addons-4.7.0/work/kdeplasma-addons-4.7.0/containments/groupingdesktop/lib/groupinfo.cpp:97
#8  0x00007eff9d6be24a in qMapLessThanKey<GroupInfo> () at /usr/include/qt4/QtCore/qmap.h:107
#9  mutableFindNode () at /usr/include/qt4/QtCore/qmap.h:782
#10 insert () at /usr/include/qt4/QtCore/qmap.h:562
Comment 16 Christoph Feck 2011-07-30 17:19:25 UTC
Git commit 67b5c56e564f5052238bab38342a85e5f4af570b by Christoph Feck.
Committed on 30/07/2011 at 19:15.
Pushed by cfeck into branch '4.7'.

Fix assignment operator and add copy constructor

This fixes the crash in Grid Desktop and Grouping Desktop.
Thanks to Aaron Seigo for investigation and patch review.

BUG: 278222
FIXED-IN: 4.7.1

M  +11   -6    containments/groupingdesktop/lib/groupinfo.cpp
M  +2    -1    containments/groupingdesktop/lib/groupinfo.h

http://commits.kde.org/kdeplasma-addons/67b5c56e564f5052238bab38342a85e5f4af570b
Comment 17 Christoph Feck 2011-07-30 17:20:29 UTC
Git commit 4127af9b305485be34fd9ae7d6be7fab29b73a55 by Christoph Feck.
Committed on 30/07/2011 at 19:15.
Pushed by cfeck into branch 'master'.

Fix assignment operator and add copy constructor

This fixes the crash in Grid Desktop and Grouping Desktop.
Thanks to Aaron Seigo for investigation and patch review.

BUG: 278222
FIXED-IN: 4.7.1
(cherry picked from commit 67b5c56e564f5052238bab38342a85e5f4af570b)

M  +11   -6    containments/groupingdesktop/lib/groupinfo.cpp
M  +2    -1    containments/groupingdesktop/lib/groupinfo.h

http://commits.kde.org/kdeplasma-addons/4127af9b305485be34fd9ae7d6be7fab29b73a55
Comment 18 Elias Probst 2011-07-31 08:46:17 UTC
I can confirm this fixed the initially reported crash, but now plasma-desktop still keeps crashing on startup, see bug#276957
Comment 19 Christoph Feck 2011-08-02 22:28:30 UTC
*** Bug 279220 has been marked as a duplicate of this bug. ***
Comment 20 Christoph Feck 2011-08-05 14:12:04 UTC
*** Bug 279418 has been marked as a duplicate of this bug. ***
Comment 21 Christoph Feck 2011-08-05 15:14:48 UTC
*** Bug 279418 has been marked as a duplicate of this bug. ***
Comment 22 Beat Wolf 2011-08-05 15:18:21 UTC
*** Bug 278938 has been marked as a duplicate of this bug. ***
Comment 23 Beat Wolf 2011-08-05 15:18:29 UTC
*** Bug 278906 has been marked as a duplicate of this bug. ***
Comment 24 Christoph Feck 2011-08-05 16:30:02 UTC
*** Bug 278162 has been marked as a duplicate of this bug. ***
Comment 25 Serge Ratke 2011-08-17 05:32:15 UTC
i'm not using the grid layout, plasma-desktop crashes nevertheless. .kde4/share/config/plasma-desktop-appletsrc does not contain a line with

plugin=org.kde.grid-desktop

i'm using the plain old "Arbeitsfläche" (Workspace?). should i file another bug report or is it related?
Comment 26 Diego 2011-08-17 07:18:40 UTC
(In reply to comment #25)
> i'm using the plain old "Arbeitsfläche" (Workspace?). should i file another bug
> report or is it related?

Please file another bug, this is fixed.