[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 278222] New: Plasma-desktop crashes when selecting the "Grid
From:       Diego Casella <polentino911 () gmail ! com>
Date:       2011-07-21 20:05:43
Message-ID: bug-278222-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=278222

           Summary: Plasma-desktop crashes when selecting the "Grid
                    Desktop" containment
           Product: plasma
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: plasma-bugs@kde.org
        ReportedBy: polentino911@gmail.com


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.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic