Bug 260701 - Plasma crash when removing an activity
Summary: Plasma crash when removing an activity
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: plasma-netbook (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-19 13:56 UTC by fatgerman
Modified: 2010-12-19 20:08 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 fatgerman 2010-12-19 13:56:05 UTC
Application: plasma-netbook (0.2)
KDE Platform Version: 4.5.85 (4.6 Beta2)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-10-generic i686
Distribution: Ubuntu natty (development branch)

-- Information about the crash:
This is a fresh install of Kubuntu Natty (Alpha1) on an Acer Aspire One. The default netbook installation has two activities - a Search and Launch, and a Newspaper. The very first thing I did was to switch to the Newspaper, click the cashew at bottom left, and select 'Remove Activity'. This caused the crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Netbook Shell (plasma-netbook), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7790720 (LWP 1229))]

Thread 5 (Thread 0xaedf7b70 (LWP 1277)):
#0  0x00405f61 in pthread_mutex_lock () from /lib/libc.so.6
#1  0x0363c079 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x0363ced3 in ?? () from /lib/libglib-2.0.so.0
#3  0x0363d594 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x04f0caa7 in QEventDispatcherGlib::processEvents (this=0xa076088, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x04ede7d9 in QEventLoop::processEvents (this=0xaedf7280, flags=...) at kernel/qeventloop.cpp:149
#6  0x04edea72 in QEventLoop::exec (this=0xaedf7280, flags=...) at kernel/qeventloop.cpp:201
#7  0x04de8be8 in QThread::exec (this=0xa0fa940) at thread/qthread.cpp:490
#8  0x04ec071b in QInotifyFileSystemWatcherEngine::run (this=0xa0fa940) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x04deb669 in QThreadPrivate::start (arg=0xa0fa940) at thread/qthread_unix.cpp:285
#10 0x00c38cc9 in start_thread () from /lib/libpthread.so.0
#11 0x003f869e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xae5f6b70 (LWP 1278)):
#0  0x004e1416 in __kernel_vsyscall ()
#1  0x003e9df6 in poll () from /lib/libc.so.6
#2  0x0364d88b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0363d21f in ?? () from /lib/libglib-2.0.so.0
#4  0x0363d594 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x04f0caa7 in QEventDispatcherGlib::processEvents (this=0x9fe18e0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x04ede7d9 in QEventLoop::processEvents (this=0xae5f6280, flags=...) at kernel/qeventloop.cpp:149
#7  0x04edea72 in QEventLoop::exec (this=0xae5f6280, flags=...) at kernel/qeventloop.cpp:201
#8  0x04de8be8 in QThread::exec (this=0xa0d88e0) at thread/qthread.cpp:490
#9  0x04ec071b in QInotifyFileSystemWatcherEngine::run (this=0xa0d88e0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x04deb669 in QThreadPrivate::start (arg=0xa0d88e0) at thread/qthread_unix.cpp:285
#11 0x00c38cc9 in start_thread () from /lib/libpthread.so.0
#12 0x003f869e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaddf5b70 (LWP 1280)):
#0  0x0363b667 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#1  0x0363ce4e in ?? () from /lib/libglib-2.0.so.0
#2  0x0363d594 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x04f0caa7 in QEventDispatcherGlib::processEvents (this=0xa092a18, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#4  0x04ede7d9 in QEventLoop::processEvents (this=0xaddf52a0, flags=...) at kernel/qeventloop.cpp:149
#5  0x04edea72 in QEventLoop::exec (this=0xaddf52a0, flags=...) at kernel/qeventloop.cpp:201
#6  0x04de8be8 in QThread::exec (this=0xa0e37a8) at thread/qthread.cpp:490
#7  0x05e37571 in Herqq::Upnp::HControlPointThread::run() () from /usr/lib/libHUpnp.so.0
#8  0x04deb669 in QThreadPrivate::start (arg=0xa0e37a8) at thread/qthread_unix.cpp:285
#9  0x00c38cc9 in start_thread () from /lib/libpthread.so.0
#10 0x003f869e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xad5d6b70 (LWP 1283)):
#0  0x004e1416 in __kernel_vsyscall ()
#1  0x00c3d4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00405d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0x02bd2127 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0x00c38cc9 in start_thread () from /lib/libpthread.so.0
#5  0x003f869e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7790720 (LWP 1229)):
[KCrash Handler]
#7  Plasma::Containment::activity (this=0x0) at ../../plasma/containment.cpp:2003
#8  0x0068ea41 in PlasmaApp::mainContainmentActivated (this=0x9bb7048) at ../../../../plasma/netbook/shell/plasmaapp.cpp:502
#9  0x0069299e in PlasmaApp::qt_metacall (this=0x9bb7048, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfc5e04c) at ./plasmaapp.moc:124
#10 0x04ee5c0a in QMetaObject::metacall (object=0x9bb7048, cl=QMetaObject::InvokeMetaMethod, idx=38, argv=0xbfc5e04c) at kernel/qmetaobject.cpp:237
#11 0x04ef59ff in QMetaObject::activate (sender=0x9c62a78, m=0x6998a4, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3280
#12 0x0068c737 in NetView::containmentActivated (this=0x9c62a78) at ./netview.moc:134
#13 0x0068cb83 in NetView::qt_metacall (this=0x9c62a78, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfc5e15c) at ./netview.moc:100
#14 0x04ee5c0a in QMetaObject::metacall (object=0x9c62a78, cl=QMetaObject::InvokeMetaMethod, idx=49, argv=0xbfc5e15c) at kernel/qmetaobject.cpp:237
#15 0x04ef59ff in QMetaObject::activate (sender=0xa0c86e8, m=0xb0af5c, local_signal_index=5, argv=0x0) at kernel/qobject.cpp:3280
#16 0x00925b47 in Plasma::Applet::activate (this=0xa0c86e8) at ./applet.moc:294
#17 0x0093e2a1 in Plasma::ContainmentPrivate::setScreen (this=0xa0baef8, newScreen=0, newDesktop=-1, preventInvalidDesktops=true) at ../../plasma/containment.cpp:1044
#18 0x0093e8ba in Plasma::Containment::setScreen (this=0xa0c86e8, newScreen=0, newDesktop=-1) at ../../plasma/containment.cpp:950
#19 0x0530df15 in ActivityBar::switchContainment (this=0xa182840, newActive=0) at ../../../../../plasma/generic/applets/activitybar/activitybar.cpp:198
#20 0x0530e06f in ActivityBar::qt_metacall (this=0xa182840, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfc5e418) at ./activitybar.moc:92
#21 0x04ee5c0a in QMetaObject::metacall (object=0xa182840, cl=QMetaObject::InvokeMetaMethod, idx=61, argv=0xbfc5e418) at kernel/qmetaobject.cpp:237
#22 0x04ef59ff in QMetaObject::activate (sender=0xa14c048, m=0xb11484, local_signal_index=0, argv=0xbfc5e418) at kernel/qobject.cpp:3280
#23 0x00a4ce13 in Plasma::TabBar::currentChanged (this=0xa14c048, _t1=0) at ./tabbar.moc:217
#24 0x00a4ce92 in Plasma::TabBarPrivate::slidingNewPageCompleted (this=0xa242930) at ../../plasma/widgets/tabbar.cpp:167
#25 0x00a4e9df in Plasma::TabBar::qt_metacall (this=0xa14c048, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfc5e5fc) at ./tabbar.moc:138
#26 0x04ee5c0a in QMetaObject::metacall (object=0xa14c048, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0xbfc5e5fc) at kernel/qmetaobject.cpp:237
#27 0x04ef59ff in QMetaObject::activate (sender=0xa260e38, m=0x5017854, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#28 0x04dcfbc7 in QAbstractAnimation::finished (this=0xa260e38) at .moc/release-shared/moc_qabstractanimation.cpp:176
#29 0x04dd0448 in QAbstractAnimationPrivate::setState (this=0xa260e80, newState=QAbstractAnimation::Stopped) at animation/qabstractanimation.cpp:446
#30 0x04dd05ac in QAbstractAnimation::stop (this=0xa260e38) at animation/qabstractanimation.cpp:797
#31 0x04dd06c4 in QAbstractAnimation::setCurrentTime (this=0xa260e38, msecs=<value optimized out>) at animation/qabstractanimation.cpp:754
#32 0x04dd877a in QParallelAnimationGroup::updateCurrentTime (this=0xa17dcc0, currentTime=250) at animation/qparallelanimationgroup.cpp:173
#33 0x04dd0667 in QAbstractAnimation::setCurrentTime (this=0xa17dcc0, msecs=<value optimized out>) at animation/qabstractanimation.cpp:745
#34 0x04dd0881 in QUnifiedTimer::updateAnimationsTime (this=0x9ca4e70) at animation/qabstractanimation.cpp:229
#35 0x04dd0ab2 in QUnifiedTimer::timerEvent (this=0x9ca4e70, event=0xbfc5ecec) at animation/qabstractanimation.cpp:285
#36 0x04ef4714 in QObject::event (this=0x9ca4e70, e=0xbfc5ecec) at kernel/qobject.cpp:1183
#37 0x013f3844 in QApplicationPrivate::notify_helper (this=0x9bbda58, receiver=0x9ca4e70, e=0xbfc5ecec) at kernel/qapplication.cpp:4445
#38 0x013f834e in QApplication::notify (this=0x9bb7048, receiver=0x9ca4e70, e=0xbfc5ecec) at kernel/qapplication.cpp:3845
#39 0x010fc90a in KApplication::notify (this=0x9bb7048, receiver=0x9ca4e70, event=0xbfc5ecec) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x04edf60b in QCoreApplication::notifyInternal (this=0x9bb7048, receiver=0x9ca4e70, event=0xbfc5ecec) at kernel/qcoreapplication.cpp:732
#41 0x04f0f6f4 in sendEvent (this=0x9bc0d34) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QTimerInfoList::activateTimers (this=0x9bc0d34) at kernel/qeventdispatcher_unix.cpp:603
#43 0x04f0c324 in timerSourceDispatch (source=0x9bc0d00) at kernel/qeventdispatcher_glib.cpp:184
#44 0x0363cb18 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#45 0x0363d2e0 in ?? () from /lib/libglib-2.0.so.0
#46 0x0363d594 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#47 0x04f0ca6c in QEventDispatcherGlib::processEvents (this=0x9bbd9e8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#48 0x014a5ad5 in QGuiEventDispatcherGlib::processEvents (this=0x9bbd9e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x04ede7d9 in QEventLoop::processEvents (this=0xbfc5ef84, flags=...) at kernel/qeventloop.cpp:149
#50 0x04edea72 in QEventLoop::exec (this=0xbfc5ef84, flags=...) at kernel/qeventloop.cpp:201
#51 0x04ee341c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#52 0x013f16e7 in QApplication::exec () at kernel/qapplication.cpp:3719
#53 0x0068d583 in kdemain (argc=1, argv=0xbfc5f1a4) at ../../../../plasma/netbook/shell/main.cpp:66
#54 0x080485cb in main (argc=1, argv=0xbfc5f1a4) at plasma-netbook_dummy.cpp:3

Reported using DrKonqi
Comment 1 Marco Martin 2010-12-19 20:08:37 UTC
SVN commit 1207790 by mart:

when removing a containment, for a moment the view could be without containment, guard it
BUG:260701


 M  +2 -0      plasmaapp.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1207790