Bug 268875 - Plasma-Desktop crashes on login (related to python-qt/sip on Debian)
Summary: Plasma-Desktop crashes on login (related to python-qt/sip on Debian)
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma4
Classification: Plasma
Component: scriptengines (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 268908 268948 269997 270198 270328 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-19 10:59 UTC by Sebastian Bremicker
Modified: 2011-06-03 17:01 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (12.58 KB, text/plain)
2011-03-19 11:10 UTC, Sebastian Bremicker
Details
New crash information added by DrKonqi (12.21 KB, text/plain)
2011-04-05 23:17 UTC, Jaime Alberto Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Bremicker 2011-03-19 10:59:27 UTC
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.37-2-amd64 x86_64
Distribution: Debian GNU/Linux 6.0-updates (squeeze)

-- Information about the crash:
I use Debian sid and after upgrading to 2.6.38 today among other updates I got a crash notification from plasma-desktop. I presume it's debians fault, because today tere alsow was also an upgrade 

[AKTUALISIERUNG] python-qt4 4.8.3-1 -> 4.8.3-2

I will try to downgrade python-qt4 and will comment on this bug again, but I presumed the crashlog might be helpful anyway. As you see in the generated report it isn't the kernel's fault because I rebooted into 2.6.37 again and it also crashes.


The crash can be reproduced every time.

 -- Backtrace:
Application: Plasma-Arbeitsfläche (plasma-desktop), signal: Aborted
[KCrash Handler]
#5  0x00007f87017d2165 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f87017d4f70 in abort () at abort.c:92
#7  0x00007f87017cb2b1 in __assert_fail (assertion=0x7f86ddc594f0 "(((currentType)->td_flags & 0x0007) == 0x0003)", file=<value optimized out>, line=10831, function=0x7f86ddc590b0 "sipEnumType_alloc") at assert.c:81
#8  0x00007f86ddc4a9fd in ?? () from /usr/lib/pymodules/python2.6/sip.so
#9  0x00007f86deb5b5c2 in type_new (metatype=<value optimized out>, args=<value optimized out>, kwds=<value optimized out>) at ../Objects/typeobject.c:2290
#10 0x00007f86deb4dd23 in type_call (type=0xd81, args=0x147da50, kwds=0x0) at ../Objects/typeobject.c:726
#11 0x00007f86deaf1103 in PyObject_Call (func=0x7f86dde5e100, arg=0xd81, kw=0x6) at ../Objects/abstract.c:2492
#12 0x00007f86ddc51c93 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#13 0x00007f86ddc51a05 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#14 0x00007f86ddc528e2 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#15 0x00007f86dc79e790 in initkdecore () from /usr/lib/pymodules/python2.6/PyKDE4/kdecore.so
#16 0x00007f86debaf218 in _PyImport_LoadDynamicModule (name=0x7fff6d508a70 "PyKDE4.kdecore", pathname=0x7fff6d5079a0 "/usr/lib/pymodules/python2.6/PyKDE4/kdecore.so", fp=<value optimized out>) at ../Python/importdl.c:53
#17 0x00007f86debad7df in import_submodule (mod=0x16bfc58, subname=0x7fff6d508a77 "kdecore", fullname=0x7fff6d508a70 "PyKDE4.kdecore") at ../Python/import.c:2592
#18 0x00007f86debada6f in load_next (mod=0x16bfc58, altmod=<value optimized out>, p_name=<value optimized out>, buf=0x7fff6d508a70 "PyKDE4.kdecore", p_buflen=<value optimized out>) at ../Python/import.c:2412
#19 0x00007f86debae0f0 in import_module_level (name=0x0, globals=<value optimized out>, locals=<value optimized out>, fromlist=0x13d1d88, level=<value optimized out>) at ../Python/import.c:2141
#20 0x00007f86debae604 in PyImport_ImportModuleLevel (name=0x16c25cc "PyKDE4.kdecore", globals=0x14bbf50, locals=0x14bbf50, fromlist=0x13d1d88, level=<value optimized out>) at ../Python/import.c:2185
#21 0x00007f86deb90baf in builtin___import__ (self=<value optimized out>, args=<value optimized out>, kwds=<value optimized out>) at ../Python/bltinmodule.c:48
#22 0x00007f86deaf1103 in PyObject_Call (func=0x13c70e0, arg=0xd81, kw=0x6) at ../Objects/abstract.c:2492
#23 0x00007f86deaf3bbf in call_function_tail (callable=0x13c70e0, format=<value optimized out>) at ../Objects/abstract.c:2524
#24 PyObject_CallFunction (callable=0x13c70e0, format=<value optimized out>) at ../Objects/abstract.c:2548
#25 0x00007f86debae72d in PyImport_Import (module_name=0x16c25a8) at ../Python/import.c:2770
#26 0x00007f86debae8ec in PyImport_ImportModule (name=<value optimized out>) at ../Python/import.c:2044
#27 0x00007f86ddc562c2 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#28 0x00007f86dcf0629b in initplasma () from /usr/lib/pymodules/python2.6/PyKDE4/plasma.so
#29 0x00007f86debaf218 in _PyImport_LoadDynamicModule (name=0x7fff6d50aec0 "PyKDE4.plasma", pathname=0x7fff6d509df0 "/usr/lib/pymodules/python2.6/PyKDE4/plasma.so", fp=<value optimized out>) at ../Python/importdl.c:53
#30 0x00007f86debad7df in import_submodule (mod=0x16bfc58, subname=0x7fff6d50aec7 "plasma", fullname=0x7fff6d50aec0 "PyKDE4.plasma") at ../Python/import.c:2592
#31 0x00007f86debada6f in load_next (mod=0x16bfc58, altmod=<value optimized out>, p_name=<value optimized out>, buf=0x7fff6d50aec0 "PyKDE4.plasma", p_buflen=<value optimized out>) at ../Python/import.c:2412
#32 0x00007f86debae0f0 in import_module_level (name=0x0, globals=<value optimized out>, locals=<value optimized out>, fromlist=0x13e8b50, level=<value optimized out>) at ../Python/import.c:2141
#33 0x00007f86debae604 in PyImport_ImportModuleLevel (name=0x147cc5c "PyKDE4.plasma", globals=0x14bbf50, locals=0x14bbf50, fromlist=0x13e8b50, level=<value optimized out>) at ../Python/import.c:2185
#34 0x00007f86deb90baf in builtin___import__ (self=<value optimized out>, args=<value optimized out>, kwds=<value optimized out>) at ../Python/bltinmodule.c:48
#35 0x00007f86deaf1103 in PyObject_Call (func=0x13c70e0, arg=0xd81, kw=0x6) at ../Objects/abstract.c:2492
#36 0x00007f86deb91103 in PyEval_CallObjectWithKeywords (func=0x13c70e0, arg=0x1472470, kw=0x6) at ../Python/ceval.c:3619
#37 0x00007f86deb94b98 in PyEval_EvalFrameEx (f=0x14bca90, throwflag=<value optimized out>) at ../Python/ceval.c:2159
#38 0x00007f86deb98cc0 in PyEval_EvalCodeEx (co=0x14765d0, globals=<value optimized out>, locals=<value optimized out>, args=0x0, argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#39 0x00007f86deb98d92 in PyEval_EvalCode (co=0xd81, globals=0xd81, locals=0x6) at ../Python/ceval.c:541
#40 0x00007f86debaa0d2 in PyImport_ExecCodeModuleEx (name=0x7fff6d50e4a0 "pyappletscript", co=0x14765d0, pathname=0x7fff6d50c2c0 "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.pyc") at ../Python/import.c:677
#41 0x00007f86debac99e in load_source_module (name=0x7fff6d50e4a0 "pyappletscript", pathname=0x7fff6d50c2c0 "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.pyc", fp=<value optimized out>) at ../Python/import.c:1017
#42 0x00007f86debad7df in import_submodule (mod=0x7f86deef5630, subname=0x7fff6d50e4a0 "pyappletscript", fullname=0x7fff6d50e4a0 "pyappletscript") at ../Python/import.c:2592
#43 0x00007f86debada6f in load_next (mod=0x7f86deef5630, altmod=<value optimized out>, p_name=<value optimized out>, buf=0x7fff6d50e4a0 "pyappletscript", p_buflen=<value optimized out>) at ../Python/import.c:2412
#44 0x00007f86debae0b0 in import_module_level (name=0x0, globals=0x14b4bc0, locals=<value optimized out>, fromlist=0x13d1d88, level=<value optimized out>) at ../Python/import.c:2133
#45 0x00007f86debae604 in PyImport_ImportModuleLevel (name=0x147c214 "pyappletscript", globals=0x14b4bc0, locals=0x14b4bc0, fromlist=0x13d1d88, level=<value optimized out>) at ../Python/import.c:2185
#46 0x00007f86deb90baf in builtin___import__ (self=<value optimized out>, args=<value optimized out>, kwds=<value optimized out>) at ../Python/bltinmodule.c:48
#47 0x00007f86deaf1103 in PyObject_Call (func=0x13c70e0, arg=0xd81, kw=0x6) at ../Objects/abstract.c:2492
#48 0x00007f86deaf3bbf in call_function_tail (callable=0x13c70e0, format=<value optimized out>) at ../Objects/abstract.c:2524
#49 PyObject_CallFunction (callable=0x13c70e0, format=<value optimized out>) at ../Objects/abstract.c:2548
#50 0x00007f86debae72d in PyImport_Import (module_name=0x147c1f0) at ../Python/import.c:2770
#51 0x00007f86debae8ec in PyImport_ImportModule (name=<value optimized out>) at ../Python/import.c:2044
#52 0x00007f86def55285 in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#53 0x00007f86def56214 in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#54 0x00007f87014658b8 in create<Plasma::AppletScript> (language=<value optimized out>, type=Plasma::AppletComponent, parent=<value optimized out>) at ../../kdecore/util/kpluginfactory.h:515
#55 createInstance<Plasma::AppletScript> (language=<value optimized out>, type=Plasma::AppletComponent, parent=<value optimized out>) at ../../kdecore/services/kservice.h:517
#56 createInstance<Plasma::AppletScript> (language=<value optimized out>, type=Plasma::AppletComponent, parent=<value optimized out>) at ../../kdecore/services/kservice.h:494
#57 Plasma::loadEngine (language=<value optimized out>, type=Plasma::AppletComponent, parent=<value optimized out>) at ../../plasma/scripting/scriptengine.cpp:175
#58 0x00007f87014661ee in Plasma::loadScriptEngine (language=..., applet=0x139c150) at ../../plasma/scripting/scriptengine.cpp:205
#59 0x00007f87013b9c92 in Plasma::AppletPrivate::init (this=0x139cf50, packagePath=<value optimized out>) at ../../plasma/applet.cpp:2617
#60 0x00007f87013baca9 in Plasma::Applet::Applet (this=0x139c150, parentObject=0x0, args=...) at ../../plasma/applet.cpp:174
#61 0x00007f87013bb1fa in Plasma::Applet::load (appletName=..., appletId=<value optimized out>, args=<value optimized out>) at ../../plasma/applet.cpp:2262
#62 0x00007f87013ca0e7 in Plasma::ContainmentPrivate::addApplet (this=0x128cb30, name=<value optimized out>, args=..., appletGeometry=..., id=28, delayInit=true) at ../../plasma/containment.cpp:2271
#63 0x00007f87013cc8fa in Plasma::Containment::restoreContents (this=<value optimized out>, group=<value optimized out>) at ../../plasma/containment.cpp:487
#64 0x00007f87013ce9a8 in Plasma::Containment::restore (this=0x1241e00, group=...) at ../../plasma/containment.cpp:380
#65 0x00007f86e0759b0c in Panel::restore (this=0xd81, group=...) at ../../../../../plasma/desktop/containments/panel/panel.cpp:668
#66 0x00007f87013db465 in Plasma::Corona::loadLayout (this=<value optimized out>, configName=<value optimized out>) at ../../plasma/corona.cpp:402
#67 0x00007f87013dc142 in Plasma::Corona::initializeLayout (this=0xfab5d0, configName=...) at ../../plasma/corona.cpp:335
#68 0x00007f8701b54cb5 in PlasmaApp::corona (this=0xfa6990) at ../../../../plasma/desktop/shell/plasmaapp.cpp:684
#69 0x00007f8701b54fb8 in PlasmaApp::setupDesktop (this=0xfa6990) at ../../../../plasma/desktop/shell/plasmaapp.cpp:276
#70 0x00007f8701b5588d in PlasmaApp::qt_metacall (this=0xfa6990, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x108e370) at ./plasmaapp.moc:141
#71 0x00007f86fdfccfea in QObject::event (this=0xfa6990, e=<value optimized out>) at kernel/qobject.cpp:1217
#72 0x00007f86fe7743b6 in QApplication::event (this=0xfa6990, e=0x108e500) at kernel/qapplication.cpp:2503
#73 0x00007f86fe771d14 in QApplicationPrivate::notify_helper (this=0xfb6800, receiver=0xfa6990, e=0x108e500) at kernel/qapplication.cpp:4462
#74 0x00007f86fe7768da in QApplication::notify (this=<value optimized out>, receiver=0xfa6990, e=0x108e500) at kernel/qapplication.cpp:4341
#75 0x00007f86ff92d7a6 in KApplication::notify (this=0xfa6990, receiver=0xfa6990, event=0x108e500) at ../../kdeui/kernel/kapplication.cpp:302
#76 0x00007f86fdfb8c8c in QCoreApplication::notifyInternal (this=0xfa6990, receiver=0xfa6990, event=0x108e500) at kernel/qcoreapplication.cpp:731
#77 0x00007f86fdfbc4b5 in sendEvent (receiver=0x0, event_type=0, data=0xf4fd80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#78 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xf4fd80) at kernel/qcoreapplication.cpp:1372
#79 0x00007f86fdfe3bf3 in sendPostedEvents (s=0xfb91c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#80 postEventSourceDispatch (s=0xfb91c0) at kernel/qeventdispatcher_glib.cpp:277
#81 0x00007f86f71b72a2 in g_main_dispatch (context=0xfb90e0) at /tmp/buildd/glib2.0-2.28.2/./glib/gmain.c:2440
#82 g_main_context_dispatch (context=0xfb90e0) at /tmp/buildd/glib2.0-2.28.2/./glib/gmain.c:3013
#83 0x00007f86f71bb968 in g_main_context_iterate (context=0xfb90e0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.2/./glib/gmain.c:3091
#84 0x00007f86f71bbb1c in g_main_context_iteration (context=0xfb90e0, may_block=1) at /tmp/buildd/glib2.0-2.28.2/./glib/gmain.c:3154
#85 0x00007f86fdfe3d8f in QEventDispatcherGlib::processEvents (this=0xf4f560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#86 0x00007f86fe8184ee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#87 0x00007f86fdfb8022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#88 0x00007f86fdfb826c in QEventLoop::exec (this=0x7fff6d511e50, flags=...) at kernel/qeventloop.cpp:201
#89 0x00007f86fdfbc76b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#90 0x00007f8701b3df0f in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:112
#91 0x00007f87017bec4d 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=0x7fff6d5121e8) at libc-start.c:228
#92 0x00000000004006b9 in _start ()

Reported using DrKonqi
Comment 1 Sebastian Bremicker 2011-03-19 11:10:53 UTC
Created attachment 58159 [details]
New crash information added by DrKonqi

I just discovered that I didn't had python-qt4-dbg installed, so here is a new backtrace with more symbols resolved.
Comment 2 Sebastian Bremicker 2011-03-19 11:23:28 UTC
I can confirm that downgrading python-qt4 4.8.3-2 to 4.8.3-1 again solves this issue so I think it's debians fault.
Comment 3 Jaime Alberto Silva 2011-04-05 23:17:41 UTC
Created attachment 58614 [details]
New crash information added by DrKonqi

I'm having the same behaviour, I haven't downgraded python-qt4 yet.
I've also noticed that if I login with a different user, one that has default desktop, with no extra plasmoids it works.
Comment 4 Beat Wolf 2011-04-07 13:52:37 UTC
*** Bug 269997 has been marked as a duplicate of this bug. ***
Comment 5 Lamarque V. Souza 2011-04-08 18:23:50 UTC
*** Bug 270328 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2011-04-11 02:17:40 UTC
[Comment from a bug triager]
From bug 270198:
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 7 Dario Andres 2011-04-11 02:17:42 UTC
*** Bug 270198 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2011-04-11 02:18:01 UTC
*** Bug 268948 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2011-04-11 02:18:52 UTC
*** Bug 268908 has been marked as a duplicate of this bug. ***
Comment 10 Aaron J. Seigo 2011-05-27 23:23:11 UTC
bug in the python bindings. several samplings of these problems have been forwarded on to the bindings team. this feature set is not maintained by the core plasma team, however, so marking as 'upstream' as the closest accurate resolution.
Comment 11 Alejandro Diaz Caro 2011-06-03 17:01:59 UTC
I have the problem described in Bug 270328 (which has marked as duplicate of this one). I have the same behaviour both in Arch Linux and Ubuntu, both with KDE 4.6.3: whenever I try to add gmail-plasmoid to the system tray, all the panel crashes.

I use the gmail-plasmoid anyway, since I can add it to the panel without problems, the problem comes only when I try to add it to the system tray.

Should I rise a new bug report? (because this has been solved apparently).