Bug 219449

Summary: plasma-desktop crashes at startup and next attempts to restart it
Product: [Unmaintained] plasma4 Reporter: Alberto Quattrini Li <alberto.quattrinili>
Component: widget-batteryAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: asraniel, filhocf, j__n, Martin, t.rakoto
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alberto Quattrini Li 2009-12-20 17:41:43 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.6.0
Operating System: Linux 2.6.31-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
plasma-desktop crashes when I login with kdm, but I can use other application launching them by krunner. Also if I try to laungh plasma-desktop through konsole, it crashes again.
The output from konsole is:

QDBusObjectPath: invalid path ""                    
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection
alberto@acer5920g:~/.kde/share/apps$ QGraphicsLinearLayout::removeAt: invalid index 0            
findServiceByDesktopPath: systemsettings not found                                               
QGraphicsLinearLayout::removeAt: invalid index 0                                                 
Object::connect: No such signal SystemTray::Manager::jobStateChanged(SystemTray::Job*)           
KCrash: Application 'plasma-desktop' crashing...                                                 
sock_file=/home/alberto/.kde/socket-acer5920g/kdeinit4__0                                        
QDBusObjectPath: invalid path ""                                                                 
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout                  
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection
QGraphicsLinearLayout::removeAt: invalid index 0                                                 
findServiceByDesktopPath: systemsettings not found                                               
QGraphicsLinearLayout::removeAt: invalid index 0                                                 
Object::connect: No such signal SystemTray::Manager::jobStateChanged(SystemTray::Job*)

However downgrading hal to 0.5.13, it works.

 -- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7ff7e32747a0 (LWP 18417))]

Thread 2 (Thread 0x7ff7cfcec910 (LWP 18419)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff7ecc32de9 in QWaitConditionPrivate::wait (this=0x2277d00, mutex=0x2277cf8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x2277d00, mutex=0x2277cf8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff7e9a22f84 in QHostInfoAgent::run (this=0x2277ce0) at kernel/qhostinfo.cpp:252
#4  0x00007ff7ecc31ef5 in QThreadPrivate::start (arg=0x2277ce0) at thread/qthread_unix.cpp:244
#5  0x00007ff7e7c9e73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007ff7efbc969d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff7e32747a0 (LWP 18417)):
[KCrash Handler]
#5  qNumVariantToHelper<double> (this=0x0, ok=0x0) at kernel/qvariant.cpp:2361
#6  QVariant::toDouble (this=0x0, ok=0x0) at kernel/qvariant.cpp:2475
#7  0x00007ff7d07621b8 in HalPower::brightness (this=<value optimized out>, device=<value optimized out>) at ../../../solid/hal/halpower.cpp:396
#8  0x00007ff7d20c1034 in Solid::Control::PowerManager::brightness (device=<value optimized out>) at ../../../../libs/solid/control/powermanager.cpp:198
#9  0x00007ff7d054f806 in Battery::initExtenderItem (this=0x204ddd0, item=0x2571a50) at ../../../../plasma/applets/battery/battery.cpp:406
#10 0x00007ff7d0552ee8 in Battery::init (this=0x204ddd0) at ../../../../plasma/applets/battery/battery.cpp:151
#11 0x00007ff7efe889bb in DesktopCorona::saveDefaultSetup (this=0x1cfd9e0) at ../../../../plasma/shells/desktop/desktopcorona.cpp:287
#12 0x00007ff7efe89d11 in DesktopCorona::qt_metacall (this=0x1cfd9e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff84ca2df0) at ./desktopcorona.moc:71
#13 0x00007ff7ecd39647 in QMetaObject::activate (sender=0x2020e20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3294
#14 0x00007ff7ecd402bf in QSingleShotTimer::timerEvent (this=0x2020e20) at kernel/qtimer.cpp:308
#15 0x00007ff7ecd35a53 in QObject::event (this=0x2020e20, e=0x0) at kernel/qobject.cpp:1224
#16 0x00007ff7ed4b508d in QApplicationPrivate::notify_helper (this=0x1c3bd10, receiver=0x2020e20, e=0x7fff84ca3540) at kernel/qapplication.cpp:4242
#17 0x00007ff7ed4bb3bd in QApplication::notify (this=0x1c2c580, receiver=0x2020e20, e=0x7fff84ca3540) at kernel/qapplication.cpp:4125
#18 0x00007ff7ee650e06 in KApplication::notify (this=0x1c2c580, receiver=0x2020e20, event=0x7fff84ca3540) at ../../kdeui/kernel/kapplication.cpp:302
#19 0x00007ff7ecd25bdc in QCoreApplication::notifyInternal (this=0x1c2c580, receiver=0x2020e20, event=0x7fff84ca3540) at kernel/qcoreapplication.cpp:704
#20 0x00007ff7ecd533e4 in QCoreApplication::sendEvent (this=0x1c3f2c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QTimerInfoList::activateTimers (this=0x1c3f2c0) at kernel/qeventdispatcher_unix.cpp:603
#22 0x00007ff7ecd4f9a8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#23 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#24 0x00007ff7e77f42fa in g_main_dispatch (context=0x1c3e520) at /tmp/buildd/glib2.0-2.23.0/glib/gmain.c:1960
#25 IA__g_main_context_dispatch (context=0x1c3e520) at /tmp/buildd/glib2.0-2.23.0/glib/gmain.c:2513
#26 0x00007ff7e77f7b58 in g_main_context_iterate (context=0x1c3e520, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.23.0/glib/gmain.c:2591
#27 0x00007ff7e77f7d0c in IA__g_main_context_iteration (context=0x1c3e520, may_block=1) at /tmp/buildd/glib2.0-2.23.0/glib/gmain.c:2654
#28 0x00007ff7ecd4f68c in QEventDispatcherGlib::processEvents (this=0x1c136a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#29 0x00007ff7ed56553f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#30 0x00007ff7ecd244c2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007ff7ecd24894 in QEventLoop::exec (this=0x7fff84ca37f0, flags=...) at kernel/qeventloop.cpp:201
#32 0x00007ff7ecd26d46 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#33 0x00007ff7efe8f2af in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/shells/desktop/main.cpp:50
#34 0x00007ff7efb1cabd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff84ca3af8) at libc-start.c:222
#35 0x0000000000400649 in _start ()
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

This bug may be a duplicate of or related to bug 219095

Reported using DrKonqi
Comment 1 Beat Wolf 2009-12-20 17:45:55 UTC
this is fixed in trunk (4.4). thank you
Comment 2 Martin Steigerwald 2009-12-22 13:50:30 UTC
*** Bug 219672 has been marked as a duplicate of this bug. ***
Comment 3 Martin Steigerwald 2009-12-22 13:50:52 UTC
*** Bug 219671 has been marked as a duplicate of this bug. ***
Comment 4 Martin Steigerwald 2009-12-22 14:39:55 UTC
This is reported as http://bugs.debian.org/219449

I still think Plasma should be made *much more* robust regarding defective 
plasmoids: See http://bugs.kde.org/203754

I non-working power management plasmoid should not be able to eat one's 
desktop.

I find the amount of Plasmoid related Plasma crash bugs really unfunny.
Comment 5 Martin Steigerwald 2009-12-22 14:43:24 UTC
Debian bug number was wrong. Make that: https://bugs.debian.org/561724
Comment 6 Martin Steigerwald 2009-12-22 14:44:05 UTC
Or better: http://bugs.debian.org/561724 (no HTTPS) *sigh*
Comment 7 Beat Wolf 2009-12-28 16:30:41 UTC
*** Bug 220394 has been marked as a duplicate of this bug. ***
Comment 8 Beat Wolf 2009-12-28 16:30:46 UTC
*** Bug 220390 has been marked as a duplicate of this bug. ***
Comment 9 Beat Wolf 2010-01-17 21:34:38 UTC
*** Bug 223082 has been marked as a duplicate of this bug. ***