Bug 270198

Summary: Plasma-desktop crashes on startup
Product: [Unmaintained] plasma4 Reporter: Hans Liao <poseidon206>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hans Liao 2011-04-06 03:54:54 UTC
Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

 -- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Aborted
[KCrash Handler]
#5  0x00007f22860c8165 in raise () from /lib/libc.so.6
#6  0x00007f22860caf70 in abort () from /lib/libc.so.6
#7  0x00007f22860c12b1 in __assert_fail () from /lib/libc.so.6
#8  0x00007f2261d6b9fd in ?? () from /usr/lib/pymodules/python2.6/sip.so
#9  0x00007f2262c7c5c2 in ?? () from /usr/lib/libpython2.6.so.1.0
#10 0x00007f2262c6ed23 in ?? () from /usr/lib/libpython2.6.so.1.0
#11 0x00007f2262c12103 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#12 0x00007f2261d72c93 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#13 0x00007f2261d72a05 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#14 0x00007f2261d738e2 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#15 0x00007f22608bf790 in initkdecore () from /usr/lib/pymodules/python2.6/PyKDE4/kdecore.so
#16 0x00007f2262cd0218 in _PyImport_LoadDynamicModule () from /usr/lib/libpython2.6.so.1.0
#17 0x00007f2262cce7df in ?? () from /usr/lib/libpython2.6.so.1.0
#18 0x00007f2262ccea6f in ?? () from /usr/lib/libpython2.6.so.1.0
#19 0x00007f2262ccf0f0 in ?? () from /usr/lib/libpython2.6.so.1.0
#20 0x00007f2262ccf604 in PyImport_ImportModuleLevel () from /usr/lib/libpython2.6.so.1.0
#21 0x00007f2262cb1baf in ?? () from /usr/lib/libpython2.6.so.1.0
#22 0x00007f2262c12103 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#23 0x00007f2262c14bbf in PyObject_CallFunction () from /usr/lib/libpython2.6.so.1.0
#24 0x00007f2262ccf72d in PyImport_Import () from /usr/lib/libpython2.6.so.1.0
#25 0x00007f2262ccf8ec in PyImport_ImportModule () from /usr/lib/libpython2.6.so.1.0
#26 0x00007f2261d772c2 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#27 0x00007f226102729b in initplasma () from /usr/lib/pymodules/python2.6/PyKDE4/plasma.so
#28 0x00007f2262cd0218 in _PyImport_LoadDynamicModule () from /usr/lib/libpython2.6.so.1.0
#29 0x00007f2262cce7df in ?? () from /usr/lib/libpython2.6.so.1.0
#30 0x00007f2262ccea6f in ?? () from /usr/lib/libpython2.6.so.1.0
#31 0x00007f2262ccf0f0 in ?? () from /usr/lib/libpython2.6.so.1.0
#32 0x00007f2262ccf604 in PyImport_ImportModuleLevel () from /usr/lib/libpython2.6.so.1.0
#33 0x00007f2262cb1baf in ?? () from /usr/lib/libpython2.6.so.1.0
#34 0x00007f2262c12103 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#35 0x00007f2262cb2103 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.6.so.1.0
#36 0x00007f2262cb5b98 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#37 0x00007f2262cb9cc0 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#38 0x00007f2262cb9d92 in PyEval_EvalCode () from /usr/lib/libpython2.6.so.1.0
#39 0x00007f2262ccb0d2 in PyImport_ExecCodeModuleEx () from /usr/lib/libpython2.6.so.1.0
#40 0x00007f2262ccd99e in ?? () from /usr/lib/libpython2.6.so.1.0
#41 0x00007f2262cce7df in ?? () from /usr/lib/libpython2.6.so.1.0
#42 0x00007f2262ccea6f in ?? () from /usr/lib/libpython2.6.so.1.0
#43 0x00007f2262ccf0b0 in ?? () from /usr/lib/libpython2.6.so.1.0
#44 0x00007f2262ccf604 in PyImport_ImportModuleLevel () from /usr/lib/libpython2.6.so.1.0
#45 0x00007f2262cb1baf in ?? () from /usr/lib/libpython2.6.so.1.0
#46 0x00007f2262c12103 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#47 0x00007f2262c14bbf in PyObject_CallFunction () from /usr/lib/libpython2.6.so.1.0
#48 0x00007f2262ccf72d in PyImport_Import () from /usr/lib/libpython2.6.so.1.0
#49 0x00007f2262ccf8ec in PyImport_ImportModule () from /usr/lib/libpython2.6.so.1.0
#50 0x00007f2263076285 in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#51 0x00007f2263077214 in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#52 0x00007f2285d5bd8b in ?? () from /usr/lib/libplasma.so.3
#53 0x00007f2285d5c0fe in Plasma::loadScriptEngine(QString const&, Plasma::Wallpaper*) () from /usr/lib/libplasma.so.3
#54 0x00007f2285d74019 in ?? () from /usr/lib/libplasma.so.3
#55 0x00007f2285d74671 in Plasma::Wallpaper::Wallpaper(QObject*, QList<QVariant> const&) () from /usr/lib/libplasma.so.3
#56 0x00007f2285d74dd5 in Plasma::Wallpaper::load(QString const&, QList<QVariant> const&) () from /usr/lib/libplasma.so.3
#57 0x00007f2285cc2fe1 in Plasma::Containment::setWallpaper(QString const&, QString const&) () from /usr/lib/libplasma.so.3
#58 0x00007f2285cc3285 in Plasma::Containment::setDrawWallpaper(bool) () from /usr/lib/libplasma.so.3
#59 0x00007f2285cc3e1b in Plasma::Containment::init() () from /usr/lib/libplasma.so.3
#60 0x00007f2285cd1455 in Plasma::Corona::loadLayout(QString const&) () from /usr/lib/libplasma.so.3
#61 0x00007f2285cd2142 in Plasma::Corona::initializeLayout(QString const&) () from /usr/lib/libplasma.so.3
#62 0x00007f2286449cb5 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#63 0x00007f2286449fb8 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#64 0x00007f228644a88d in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#65 0x00007f22828c2fea in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#66 0x00007f228306a3b6 in QApplication::event(QEvent*) () from /usr/lib/libQtGui.so.4
#67 0x00007f2283067d14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#68 0x00007f228306c8da in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#69 0x00007f22842237a6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#70 0x00007f22828aec8c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#71 0x00007f22828b24b5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#72 0x00007f22828d9bf3 in ?? () from /usr/lib/libQtCore.so.4
#73 0x00007f227baad2a2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#74 0x00007f227bab1968 in ?? () from /lib/libglib-2.0.so.0
#75 0x00007f227bab1b1c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#76 0x00007f22828d9d8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#77 0x00007f228310e4de in ?? () from /usr/lib/libQtGui.so.4
#78 0x00007f22828ae022 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#79 0x00007f22828ae26c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#80 0x00007f22828b276b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#81 0x00007f2286432f0f in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#82 0x00007f22860b4c4d in __libc_start_main () from /lib/libc.so.6
#83 0x00000000004006b9 in _start ()

Report to https://bugs.kde.org

Reproducible: Always

Steps to Reproduce:
run the command plasma-desktop.

Actual Results:  
QDBusObjectPath: invalid path ""
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
plasma-desktop: /tmp/buildd/sip4-4.12.1/siplib/siplib.c:10831: sipEnumType_alloc: Assertion `(((currentType)->td_flags & 0x0007) == 0x0003)' failed.
KCrash: Application 'plasma-desktop' crashing...
sock_file=/home/poseidon/.kde/socket-h-liao-t410.adb.com.tw/kdeinit4__0
QDBusObjectPath: invalid path ""
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
plasma-desktop: /tmp/buildd/sip4-4.12.1/siplib/siplib.c:10831: sipEnumType_alloc: Assertion `(((currentType)->td_flags & 0x0007) == 0x0003)' failed.
plasma-desktop(5710): Communication problem with  "plasma-desktop" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name org.kde.plasma-desktop was not provided by any .service files" "

Expected Results:  
My wallpaper, my panel and my widget should be in place.
Comment 1 Hans Liao 2011-04-06 04:32:32 UTC
This is the backtrace after I installed the debug symbols:

Application: Plasma Workspace (plasma-desktop), signal: Aborted
[KCrash Handler]
#5  0x00007fb1aa152165 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fb1aa154f70 in abort () at abort.c:92
#7  0x00007fb1aa14b2b1 in __assert_fail (assertion=0x7fb185e044f0 "(((currentType)->td_flags & 0x0007) == 0x0003)", file=<value optimized out>, line=10831, function=0x7fb185e040b0 "sipEnumType_alloc") at assert.c:81
#8  0x00007fb185df59fd in ?? () from /usr/lib/pymodules/python2.6/sip.so
#9  0x00007fb186d065c2 in ?? () from /usr/lib/libpython2.6.so.1.0
#10 0x00007fb186cf8d23 in ?? () from /usr/lib/libpython2.6.so.1.0
#11 0x00007fb186c9c103 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#12 0x00007fb185dfcc93 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#13 0x00007fb185dfca05 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#14 0x00007fb185dfd8e2 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#15 0x00007fb184949790 in initkdecore () from /usr/lib/pymodules/python2.6/PyKDE4/kdecore.so
#16 0x00007fb186d5a218 in _PyImport_LoadDynamicModule () from /usr/lib/libpython2.6.so.1.0
#17 0x00007fb186d587df in ?? () from /usr/lib/libpython2.6.so.1.0
#18 0x00007fb186d58a6f in ?? () from /usr/lib/libpython2.6.so.1.0
#19 0x00007fb186d590f0 in ?? () from /usr/lib/libpython2.6.so.1.0
#20 0x00007fb186d59604 in PyImport_ImportModuleLevel () from /usr/lib/libpython2.6.so.1.0
#21 0x00007fb186d3bbaf in ?? () from /usr/lib/libpython2.6.so.1.0
#22 0x00007fb186c9c103 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#23 0x00007fb186c9ebbf in PyObject_CallFunction () from /usr/lib/libpython2.6.so.1.0
#24 0x00007fb186d5972d in PyImport_Import () from /usr/lib/libpython2.6.so.1.0
#25 0x00007fb186d598ec in PyImport_ImportModule () from /usr/lib/libpython2.6.so.1.0
#26 0x00007fb185e012c2 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#27 0x00007fb1850b129b in initplasma () from /usr/lib/pymodules/python2.6/PyKDE4/plasma.so
#28 0x00007fb186d5a218 in _PyImport_LoadDynamicModule () from /usr/lib/libpython2.6.so.1.0
#29 0x00007fb186d587df in ?? () from /usr/lib/libpython2.6.so.1.0
#30 0x00007fb186d58a6f in ?? () from /usr/lib/libpython2.6.so.1.0
#31 0x00007fb186d590f0 in ?? () from /usr/lib/libpython2.6.so.1.0
#32 0x00007fb186d59604 in PyImport_ImportModuleLevel () from /usr/lib/libpython2.6.so.1.0
#33 0x00007fb186d3bbaf in ?? () from /usr/lib/libpython2.6.so.1.0
#34 0x00007fb186c9c103 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#35 0x00007fb186d3c103 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.6.so.1.0
#36 0x00007fb186d3fb98 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0
#37 0x00007fb186d43cc0 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#38 0x00007fb186d43d92 in PyEval_EvalCode () from /usr/lib/libpython2.6.so.1.0
#39 0x00007fb186d550d2 in PyImport_ExecCodeModuleEx () from /usr/lib/libpython2.6.so.1.0
#40 0x00007fb186d5799e in ?? () from /usr/lib/libpython2.6.so.1.0
#41 0x00007fb186d587df in ?? () from /usr/lib/libpython2.6.so.1.0
#42 0x00007fb186d58a6f in ?? () from /usr/lib/libpython2.6.so.1.0
#43 0x00007fb186d590b0 in ?? () from /usr/lib/libpython2.6.so.1.0
#44 0x00007fb186d59604 in PyImport_ImportModuleLevel () from /usr/lib/libpython2.6.so.1.0
#45 0x00007fb186d3bbaf in ?? () from /usr/lib/libpython2.6.so.1.0
#46 0x00007fb186c9c103 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#47 0x00007fb186c9ebbf in PyObject_CallFunction () from /usr/lib/libpython2.6.so.1.0
#48 0x00007fb186d5972d in PyImport_Import () from /usr/lib/libpython2.6.so.1.0
#49 0x00007fb186d598ec in PyImport_ImportModule () from /usr/lib/libpython2.6.so.1.0
#50 0x00007fb187100285 in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#51 0x00007fb187101214 in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#52 0x00007fb1a9de5d8b in create<Plasma::WallpaperScript> (language=<value optimized out>, type=Plasma::WallpaperComponent, parent=<value optimized out>) at ../../kdecore/util/kpluginfactory.h:515
#53 createInstance<Plasma::WallpaperScript> (language=<value optimized out>, type=Plasma::WallpaperComponent, parent=<value optimized out>) at ../../kdecore/services/kservice.h:517
#54 createInstance<Plasma::WallpaperScript> (language=<value optimized out>, type=Plasma::WallpaperComponent, parent=<value optimized out>) at ../../kdecore/services/kservice.h:494
#55 Plasma::loadEngine (language=<value optimized out>, type=Plasma::WallpaperComponent, parent=<value optimized out>) at ../../plasma/scripting/scriptengine.cpp:184
#56 0x00007fb1a9de60fe in Plasma::loadScriptEngine (language=..., wallpaper=0x212ada0) at ../../plasma/scripting/scriptengine.cpp:241
#57 0x00007fb1a9dfe019 in Plasma::WallpaperPrivate::WallpaperPrivate (this=0x21260b0, service=<value optimized out>, wallpaper=<value optimized out>) at ../../plasma/wallpaper.cpp:416
#58 0x00007fb1a9dfe671 in Plasma::Wallpaper::Wallpaper (this=0x212ada0, parentObject=0x0, args=...) at ../../plasma/wallpaper.cpp:76
#59 0x00007fb1a9dfedd5 in WallpaperWithPaint (wallpaperName=<value optimized out>, args=<value optimized out>) at ../../plasma/wallpaper.cpp:51
#60 Plasma::Wallpaper::load (wallpaperName=<value optimized out>, args=<value optimized out>) at ../../plasma/wallpaper.cpp:140
#61 0x00007fb1a9d4cfe1 in Plasma::Containment::setWallpaper (this=0x1ff0240, pluginName=..., mode=...) at ../../plasma/containment.cpp:1863
#62 0x00007fb1a9d4d285 in Plasma::Containment::setDrawWallpaper (this=0x1ff0240, drawWallpaper=<value optimized out>) at ../../plasma/containment.cpp:1830
#63 0x00007fb1a9d4de1b in Plasma::Containment::init (this=0x1ff0240) at ../../plasma/containment.cpp:245
#64 0x00007fb1a9d5b455 in Plasma::Corona::loadLayout (this=<value optimized out>, configName=<value optimized out>) at ../../plasma/corona.cpp:401
#65 0x00007fb1a9d5c142 in Plasma::Corona::initializeLayout (this=0x1ed5be0, configName=...) at ../../plasma/corona.cpp:335
#66 0x00007fb1aa4d3cb5 in PlasmaApp::corona (this=0x1df7930) at ../../../../plasma/desktop/shell/plasmaapp.cpp:684
#67 0x00007fb1aa4d3fb8 in PlasmaApp::setupDesktop (this=0x1df7930) at ../../../../plasma/desktop/shell/plasmaapp.cpp:276
#68 0x00007fb1aa4d488d in PlasmaApp::qt_metacall (this=0x1df7930, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1e9d8d0) at ./plasmaapp.moc:141
#69 0x00007fb1a694cfea in QObject::event (this=0x1df7930, e=<value optimized out>) at kernel/qobject.cpp:1217
#70 0x00007fb1a70f43b6 in QApplication::event (this=0x1df7930, e=0x1ed1b70) at kernel/qapplication.cpp:2503
#71 0x00007fb1a70f1d14 in QApplicationPrivate::notify_helper (this=0x1e0fcf0, receiver=0x1df7930, e=0x1ed1b70) at kernel/qapplication.cpp:4462
#72 0x00007fb1a70f68da in QApplication::notify (this=<value optimized out>, receiver=0x1df7930, e=0x1ed1b70) at kernel/qapplication.cpp:4341
#73 0x00007fb1a82ad7a6 in KApplication::notify (this=0x1df7930, receiver=0x1df7930, event=0x1ed1b70) at ../../kdeui/kernel/kapplication.cpp:302
#74 0x00007fb1a6938c8c in QCoreApplication::notifyInternal (this=0x1df7930, receiver=0x1df7930, event=0x1ed1b70) at kernel/qcoreapplication.cpp:731
#75 0x00007fb1a693c4b5 in sendEvent (receiver=0x0, event_type=0, data=0x1da0d80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#76 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1da0d80) at kernel/qcoreapplication.cpp:1372
#77 0x00007fb1a6963bf3 in sendPostedEvents (s=0x1e12560) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#78 postEventSourceDispatch (s=0x1e12560) at kernel/qeventdispatcher_glib.cpp:277
#79 0x00007fb19fb372a2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#80 0x00007fb19fb3b968 in ?? () from /lib/libglib-2.0.so.0
#81 0x00007fb19fb3bb1c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#82 0x00007fb1a6963d8f in QEventDispatcherGlib::processEvents (this=0x1da0560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#83 0x00007fb1a71984de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#84 0x00007fb1a6938022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#85 0x00007fb1a693826c in QEventLoop::exec (this=0x7fff9572a850, flags=...) at kernel/qeventloop.cpp:201
#86 0x00007fb1a693c76b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#87 0x00007fb1aa4bcf0f in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:112
#88 0x00007fb1aa13ec4d 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=0x7fff9572abe8) at libc-start.c:228
#89 0x00000000004006b9 in _start ()
Comment 2 Hans Liao 2011-04-06 11:28:58 UTC
I found that when I downgrade the package "python-sip" to Debian stable (this also downgraded python-qt4 and python-kde4 down to stable), plasma-desktop starts up like normal. I guess the bug is with python-sip then.
Comment 3 Dario Andres 2011-04-11 02:17:42 UTC
[Comment from a bug triager]
This issue is being tracked at bug 268875, merging.
Thanks

*** This bug has been marked as a duplicate of bug 268875 ***