Bug 283578

Summary: plasma desktop crashes consistently after upgrade to kubuntu 11.10 beta2
Product: [Unmaintained] plasma4 Reporter: Sam Azer <sam>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Probably this is my crash backtrase report for this bug
Probably this is my crash backtrase report #2 for this bug

Description Sam Azer 2011-10-08 03:49:42 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu oneiric (development branch)

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

rebooting after the do-upgrade script completed.

* The system boots; pressing the escape key reveals a message indicating that dbus is not running

* The system fails to initialize the network.

* Logging into a tty reveals that the ethernet interface is down. (ifconfig eth0 up and dhclient eth0 works fine.)

* returning to the GUI it is possible to log into the system - but plasma desktop crashes immediately and this crash reporting assistant opens.

* A message appears indicating that the system must be restarted but restarting does not cause the message to go away.

* At first there was a message indicating that updates were available (A VM which was upgraded from 11.04 to 11.10 did not have this problem.) Manually installing updates from a TTY resolved this.

* right-clicking over the desktop does not cause any speed-menu to appear but pressing Alt+F2 does open a run-command box. Konsole can be run. Attempts to run plasma-desktop fail. The console output (edited slightly) is copied here:

---

[asdf@mpc ~]$ plasma-desktop
QDBusObjectPath: invalid path ""
QDBusObjectPath: invalid path ""
## Loading catalog liblancelot-datamodels 
KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit
sock_file=/home/asdf/.kde/socket-mpc/kdeinit4__0
plasma-desktop(3573): Communication problem with  "plasma-desktop" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " 

[asdf@mpc ~]$ KCrash: Application 'plasma-desktop' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/asdf/.kde/socket-mpc/kdeinit4__0
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...

---

Thanks, 
HTH

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb6b03730 (LWP 3004))]

Thread 2 (Thread 0xaf9e3b70 (LWP 3005)):
#0  0x00bd4d10 in __GI_clock_gettime (clock_id=1, tp=0xaf9e3008) at ../sysdeps/unix/clock_gettime.c:116
#1  0x07a647d5 in do_gettime (frac=0xaf9e3000, sec=0xaf9e2ff8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x07b374b6 in QTimerInfoList::updateCurrentTime (this=0x8a918cc) at kernel/qeventdispatcher_unix.cpp:339
#4  0x07b3780a in QTimerInfoList::timerWait (this=0x8a918cc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x07b36053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xaf9e310c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x07b360ed in timerSourcePrepare (source=0x8a91898, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x01cf288c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x01cf3637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x01cf3c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x07b36b37 in QEventDispatcherGlib::processEvents (this=0x8991948, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x07b071dd in QEventLoop::processEvents (this=0xaf9e3290, flags=...) at kernel/qeventloop.cpp:149
#12 0x07b07421 in QEventLoop::exec (this=0xaf9e3290, flags=...) at kernel/qeventloop.cpp:201
#13 0x07a0a90b in QThread::exec (this=0x8aa2dd0) at thread/qthread.cpp:498
#14 0x07ae7e2d in QInotifyFileSystemWatcherEngine::run (this=0x8aa2dd0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x07a0d7b3 in QThreadPrivate::start (arg=0x8aa2dd0) at thread/qthread_unix.cpp:331
#16 0x04852d31 in start_thread (arg=0xaf9e3b70) at pthread_create.c:304
#17 0x005b00ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb6b03730 (LWP 3004)):
[KCrash Handler]
#7  QList (l=) at ../../include/QtCore/../../src/corelib/tools/qlist.h:118
#8  QDBusMessage::arguments (this=0x28) at qdbusmessage.cpp:706
#9  0x006b7177 in QDBusPendingReplyData::argumentAt (this=0xbfe3a1b8, index=0) at qdbuspendingreply.cpp:270
#10 0x05bc6cc7 in argumentAt<0> (this=0xbfe3a1b8) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:176
#11 operator QDBusPendingReplyTypes::Select<0, unsigned int, void, void, void, void, void, void, void>::Type (this=0xbfe3a1b8) at /usr/include/qt4/QtDBus/qdbuspendingreply.h:186
#12 NMNetworkManager::NMNetworkManager (this=0x8e00a00, parent=0x0) at ../../../../solidcontrolfuture/solid/networkmanager-0.9/manager.cpp:44
#13 0x05bc36fa in KPluginFactory::createInstance<NMNetworkManager, QObject> (parentWidget=0x0, parent=0x0, args=...) at /usr/include/kpluginfactory.h:477
#14 0x06a433be in KPluginFactory::create (this=0x8dcace8, iface=0x7bca580 "QObject", parentWidget=0x0, parent=0x0, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#15 0x05b1d40a in create<QObject> (parent=0x0, this=0x8dcace8, args=..., keyword=..., parentWidget=0x0) at /usr/include/kpluginfactory.h:531
#16 createInstance<QObject> (error=0xbfe3a428, args=..., parent=0x0, parentWidget=0x0, this=0x8dbf570) at /usr/include/kservice.h:551
#17 createInstance<QObject> (error=0xbfe3a428, args=..., parent=0x0, this=0x8dbf570) at /usr/include/kservice.h:528
#18 Solid::Control::ManagerBaseNm09Private::loadBackend (this=0x8dbea00, description=..., serviceName=0x5b29437 "SolidNetworkManager", backendClassName=0x5b294d4 "Solid::Control::Ifaces::NetworkManager") at ../../../../../solidcontrolfuture/libs/solid/control/managerbase.cpp:54
#19 0x05b2024a in Solid::Control::NetworkManagerNm09Private::NetworkManagerNm09Private (this=0x8dbe9f8) at ../../../../../solidcontrolfuture/libs/solid/control/networkmanager.cpp:46
#20 0x05b22afb in operator-> (this=<optimized out>) at ../../../../../solidcontrolfuture/libs/solid/control/networkmanager.cpp:40
#21 Solid::Control::NetworkManagerNm09::networkInterfaces () at ../../../../../solidcontrolfuture/libs/solid/control/networkmanager.cpp:119
#22 0x05a3345d in NetworkManagerApplet::NetworkManagerApplet (this=0x8da2a40, parent=0x0, args=...) at ../../applet/networkmanager.cpp:101
#23 0x05a34f0a in KPluginFactory::createInstance<NetworkManagerApplet, QObject> (parentWidget=0x0, parent=0x0, args=...) at /usr/include/kpluginfactory.h:477
#24 0x06a433be in KPluginFactory::create (this=0x8e00898, iface=0x9b3500 "Plasma::Applet", parentWidget=0x0, parent=0x0, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#25 0x0083d91b in create<Plasma::Applet> (keyword=..., parent=0x0, this=0x8e00898, args=..., parentWidget=0x0) at ../../kdecore/util/kpluginfactory.h:531
#26 createInstance<Plasma::Applet> (error=0xbfe3a7a4, args=..., parent=0x0, parentWidget=0x0, this=0x8daf3c0) at ../../kdecore/services/kservice.h:551
#27 createInstance<Plasma::Applet> (error=0xbfe3a7a4, args=..., parent=0x0, this=0x8daf3c0) at ../../kdecore/services/kservice.h:528
#28 Plasma::PluginLoader::loadApplet (this=0x8663f60, name=..., appletId=<optimized out>, args=...) at ../../plasma/pluginloader.cpp:151
#29 0x007e3e34 in Plasma::Applet::load (appletName=..., appletId=93, args=...) at ../../plasma/applet.cpp:2360
#30 0x056c27fe in SystemTray::PlasmoidTask::setupApplet (this=0x8d9cd90, plugin=..., id=93) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtask.cpp:134
#31 0x056c06f0 in SystemTray::PlasmoidProtocol::addApplet (this=0x892d960, appletName=..., id=93, parent=0x8933cf0) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:101
#32 0x056c1b14 in SystemTray::PlasmoidProtocol::loadFromConfig (this=0x892d960, parent=0x8933cf0) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:83
#33 0x056b7bd9 in SystemTray::Manager::loadApplets (this=0x88e5348, parent=0x8933cf0) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:105
#34 0x056ce3a2 in SystemTray::Applet::configChanged (this=0x8933cf0) at ../../../../../plasma/generic/applets/systemtray/ui/applet.cpp:211
#35 0x056cbc39 in SystemTray::Applet::constraintsEvent (this=0x8933cf0, constraints=...) at ../../../../../plasma/generic/applets/systemtray/ui/applet.cpp:258
#36 0x007f0ec1 in Plasma::Applet::flushPendingConstraintsEvents (this=0x8933cf0) at ../../plasma/applet.cpp:1357
#37 0x00803080 in Plasma::ContainmentPrivate::initApplets (this=0x88dcc80) at ../../plasma/containment.cpp:470
#38 0x008183a1 in Plasma::CoronaPrivate::importLayout (this=0x8613258, conf=..., mergeConfig=false) at ../../plasma/corona.cpp:1066
#39 0x008191e5 in Plasma::Corona::loadLayout (this=0x84de810, configName=...) at ../../plasma/corona.cpp:278
#40 0x008192be in Plasma::Corona::initializeLayout (this=0x84de810, configName=...) at ../../plasma/corona.cpp:181
#41 0x002a3671 in PlasmaApp::corona (this=0x84c26d8) at ../../../../plasma/desktop/shell/plasmaapp.cpp:831
#42 0x002a39dc in PlasmaApp::setupDesktop (this=0x84c26d8) at ../../../../plasma/desktop/shell/plasmaapp.cpp:312
#43 0x002a5335 in PlasmaApp::qt_metacall (this=0x84c26d8, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x8525548) at ./plasmaapp.moc:142
#44 0x07b0eb7d in metacall (argv=0x8525548, idx=41, cl=QMetaObject::InvokeMetaMethod, object=0x84c26d8) at kernel/qmetaobject.cpp:237
#45 QMetaObject::metacall (object=0x84c26d8, cl=QMetaObject::InvokeMetaMethod, idx=41, argv=0x8525548) at kernel/qmetaobject.cpp:232
#46 0x07b19685 in QMetaCallEvent::placeMetaCall (this=0x85bcb40, object=0x84c26d8) at kernel/qobject.cpp:535
#47 0x07b20b52 in QObject::event (this=0x84c26d8, e=0x85bcb40) at kernel/qobject.cpp:1217
#48 0x07b0877a in QCoreApplication::event (this=0x84c26d8, e=0x85bcb40) at kernel/qcoreapplication.cpp:1616
#49 0x01fcd3d1 in QApplication::event (this=0x84c26d8, e=0x85bcb40) at kernel/qapplication.cpp:2527
#50 0x01fc8d54 in notify_helper (e=0x85bcb40, receiver=0x84c26d8, this=0x84d85a0) at kernel/qapplication.cpp:4486
#51 QApplicationPrivate::notify_helper (this=0x84d85a0, receiver=0x84c26d8, e=0x85bcb40) at kernel/qapplication.cpp:4458
#52 0x01fce103 in QApplication::notify (this=0x85bcb40, receiver=0x84c26d8, e=0x85bcb40) at kernel/qapplication.cpp:3886
#53 0x010d8721 in KApplication::notify (this=0x84c26d8, receiver=0x84c26d8, event=0x85bcb40) at ../../kdeui/kernel/kapplication.cpp:311
#54 0x07b0819e in QCoreApplication::notifyInternal (this=0x84c26d8, receiver=0x84c26d8, event=0x85bcb40) at kernel/qcoreapplication.cpp:787
#55 0x07b0bf93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#56 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x84802e0) at kernel/qcoreapplication.cpp:1428
#57 0x07b0c0ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#58 0x07b366a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#59 postEventSourceDispatch (s=0x84d97a0) at kernel/qeventdispatcher_glib.cpp:277
#60 0x01cf325f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#61 0x01cf3990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#62 0x01cf3c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#63 0x07b36ada in QEventDispatcherGlib::processEvents (this=0x8481230, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#64 0x02080e3a in QGuiEventDispatcherGlib::processEvents (this=0x8481230, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x07b071dd in QEventLoop::processEvents (this=0xbfe3b8a4, flags=...) at kernel/qeventloop.cpp:149
#66 0x07b07421 in QEventLoop::exec (this=0xbfe3b8a4, flags=...) at kernel/qeventloop.cpp:201
#67 0x07b0c19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#68 0x01fc68f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#69 0x0028718b in kdemain (argc=1, argv=0xbfe3baa4) at ../../../../plasma/desktop/shell/main.cpp:120
#70 0x0804850b in main (argc=1, argv=0xbfe3baa4) at plasma-desktop_dummy.cpp:3

This bug may be a duplicate of or related to bug 262825.

Possible duplicates by query: bug 262940, bug 262825.

Reported using DrKonqi
Comment 1 Sam Azer 2011-10-08 05:31:50 UTC
This bug appears to be well known:

https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/811441/comments/2

Removing the dbus PID file allows me to boot and start the plasma-desktop.

Thanks!

p.s. can't resolve as duplicate using a bug# in launchpad.net! using "downstream"; please edit as needed.
Comment 2 Peter 2011-10-16 06:59:41 UTC
Created attachment 64566 [details]
Probably this is my crash backtrase report for this bug
Comment 3 Peter 2011-10-16 07:01:20 UTC
Created attachment 64567 [details]
Probably this is my crash backtrase report #2 for this bug