Bug 259270 - Plasma Desktop crashes on login (Python fatal error)
Summary: Plasma Desktop crashes on login (Python fatal error)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: bindings
Classification: Developer tools
Component: pykde (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 02:22 UTC by Patrick "Finn" Robins
Modified: 2018-11-17 05:28 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch for wallpaper-clock 0.6 as workaround (2.99 KB, patch)
2013-05-11 18:51 UTC, Tim Ruffing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick "Finn" Robins 2010-12-09 02:22:57 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.5.4 (KDE 4.5.4)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
Plasma Desktop crashes every time I login. Oddly I can start Plasmacon from KRunner and then run plasma-desktop and it will work for awhile.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Aborted
[Current thread is 1 (Thread 0x7fe18313e780 (LWP 1952))]

Thread 3 (Thread 0x7fe15ccd1700 (LWP 1955)):
#0  0x00007fe182a53203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe1776cc009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fe1776cc45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fe1801031e6 in QEventDispatcherGlib::processEvents (this=0x2c28d50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fe1800d5a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fe1800d5dec in QEventLoop::exec (this=0x7fe15ccd0d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fe17ffe02fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fe1800b55f8 in QInotifyFileSystemWatcherEngine::run (this=0x2bf7200) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe17ffe327e in QThreadPrivate::start (arg=0x2bf7200) at thread/qthread_unix.cpp:266
#9  0x00007fe17fd58971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fe182a5f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe150e92700 (LWP 2029)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe17ffe3e3b in wait (this=<value optimized out>, mutex=0x2e2cd20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2e2cd20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fe1636f3acb in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#4  0x00007fe164346b70 in call_function (f=0x7fe15800a820, throwflag=<value optimized out>) at ../Python/ceval.c:3750
#5  PyEval_EvalFrameEx (f=0x7fe15800a820, throwflag=<value optimized out>) at ../Python/ceval.c:2412
#6  0x00007fe1643488b0 in PyEval_EvalCodeEx (co=0x37dbdc8, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#7  0x00007fe1642ce630 in function_call (func=0x37dec08, arg=0x2944890, kw=0x0) at ../Objects/funcobject.c:524
#8  0x00007fe1642a0bb3 in PyObject_Call (func=0x37dec08, arg=0x80, kw=0x1) at ../Objects/abstract.c:2492
#9  0x00007fe1642b25bf in instancemethod_call (func=0x37dec08, arg=0x2944890, kw=0x0) at ../Objects/classobject.c:2579
#10 0x00007fe1642a0bb3 in PyObject_Call (func=0x3409820, arg=0x80, kw=0x1) at ../Objects/abstract.c:2492
#11 0x00007fe164340cc3 in PyEval_CallObjectWithKeywords (func=0x3409820, arg=0x2447050, kw=0x1) at ../Python/ceval.c:3619
#12 0x00007fe16343e81b in ?? () from /usr/lib/pymodules/python2.6/sip.so
#13 0x00007fe1636e0e37 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#14 0x00007fe163712e51 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#15 0x00007fe17ffe327e in QThreadPrivate::start (arg=0x377a580) at thread/qthread_unix.cpp:266
#16 0x00007fe17fd58971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#17 0x00007fe182a5f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe18313e780 (LWP 1952)):
[KCrash Handler]
#6  0x00007fe1829acba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fe1829b06b0 in abort () at abort.c:92
#8  0x00007fe164365ebe in Py_FatalError (msg=<value optimized out>) at ../Python/pythonrun.c:1675
#9  0x00007fe164340f6c in PyEval_SaveThread () at ../Python/ceval.c:337
#10 0x00007fe1643b690d in posix_do_stat (self=<value optimized out>, args=<value optimized out>, format=<value optimized out>, statfunc=0x7fe1643c5880 <stat64>, wformat=<value optimized out>, wstatfunc=<value optimized out>) at ../Modules/posixmodule.c:1497
#11 0x00007fe164346b70 in call_function (f=0x254b030, throwflag=<value optimized out>) at ../Python/ceval.c:3750
#12 PyEval_EvalFrameEx (f=0x254b030, throwflag=<value optimized out>) at ../Python/ceval.c:2412
#13 0x00007fe164347468 in fast_function (f=0x32957b0, throwflag=<value optimized out>) at ../Python/ceval.c:3836
#14 call_function (f=0x32957b0, throwflag=<value optimized out>) at ../Python/ceval.c:3771
#15 PyEval_EvalFrameEx (f=0x32957b0, throwflag=<value optimized out>) at ../Python/ceval.c:2412
#16 0x00007fe164347468 in fast_function (f=0x38cf220, throwflag=<value optimized out>) at ../Python/ceval.c:3836
#17 call_function (f=0x38cf220, throwflag=<value optimized out>) at ../Python/ceval.c:3771
#18 PyEval_EvalFrameEx (f=0x38cf220, throwflag=<value optimized out>) at ../Python/ceval.c:2412
#19 0x00007fe164347468 in fast_function (f=0x2bad920, throwflag=<value optimized out>) at ../Python/ceval.c:3836
#20 call_function (f=0x2bad920, throwflag=<value optimized out>) at ../Python/ceval.c:3771
#21 PyEval_EvalFrameEx (f=0x2bad920, throwflag=<value optimized out>) at ../Python/ceval.c:2412
#22 0x00007fe164347468 in fast_function (f=0x3295990, throwflag=<value optimized out>) at ../Python/ceval.c:3836
#23 call_function (f=0x3295990, throwflag=<value optimized out>) at ../Python/ceval.c:3771
#24 PyEval_EvalFrameEx (f=0x3295990, throwflag=<value optimized out>) at ../Python/ceval.c:2412
#25 0x00007fe164347468 in fast_function (f=0x38c5450, throwflag=<value optimized out>) at ../Python/ceval.c:3836
#26 call_function (f=0x38c5450, throwflag=<value optimized out>) at ../Python/ceval.c:3771
#27 PyEval_EvalFrameEx (f=0x38c5450, throwflag=<value optimized out>) at ../Python/ceval.c:2412
#28 0x00007fe164347468 in fast_function (f=0x38caa00, throwflag=<value optimized out>) at ../Python/ceval.c:3836
#29 call_function (f=0x38caa00, throwflag=<value optimized out>) at ../Python/ceval.c:3771
#30 PyEval_EvalFrameEx (f=0x38caa00, throwflag=<value optimized out>) at ../Python/ceval.c:2412
#31 0x00007fe1643488b0 in PyEval_EvalCodeEx (co=0x37d5828, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#32 0x00007fe1642ce630 in function_call (func=0x37e1e60, arg=0x251cdd0, kw=0x0) at ../Objects/funcobject.c:524
#33 0x00007fe1642a0bb3 in PyObject_Call (func=0x37e1e60, arg=0x7a0, kw=0x6) at ../Objects/abstract.c:2492
#34 0x00007fe1642b25bf in instancemethod_call (func=0x37e1e60, arg=0x251cdd0, kw=0x0) at ../Objects/classobject.c:2579
#35 0x00007fe1642a0bb3 in PyObject_Call (func=0x24f7690, arg=0x7a0, kw=0x6) at ../Objects/abstract.c:2492
#36 0x00007fe164340cc3 in PyEval_CallObjectWithKeywords (func=0x24f7690, arg=0x2447050, kw=0x6) at ../Python/ceval.c:3619
#37 0x00007fe163447518 in sip_api_invoke_slot () from /usr/lib/pymodules/python2.6/sip.so
#38 0x00007fe1637bf706 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#39 0x00007fe1637bf828 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#40 0x00007fe1637bf8e2 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#41 0x00007fe1800eeb27 in QMetaObject::activate (sender=0x24d67b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3280
#42 0x00007fe1636fdcdb in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#43 0x00007fe1800e88f9 in QObject::event (this=0x24d67b0, e=0x7a0) at kernel/qobject.cpp:1183
#44 0x00007fe1636fdc79 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#45 0x00007fe17f220fdc in QApplicationPrivate::notify_helper (this=0x1de7190, receiver=0x24d67b0, e=0x7ffff442e230) at kernel/qapplication.cpp:4396
#46 0x00007fe17f226aed in QApplication::notify (this=0x1dca4d0, receiver=0x24d67b0, e=0x7ffff442e230) at kernel/qapplication.cpp:4277
#47 0x00007fe180d74576 in KApplication::notify (this=0x1dca4d0, receiver=0x24d67b0, event=0x7ffff442e230) at ../../kdeui/kernel/kapplication.cpp:310
#48 0x00007fe1800d6cdc in QCoreApplication::notifyInternal (this=0x1dca4d0, receiver=0x24d67b0, event=0x7ffff442e230) at kernel/qcoreapplication.cpp:732
#49 0x00007fe1801066f2 in sendEvent (this=0x1dea970) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#50 QTimerInfoList::activateTimers (this=0x1dea970) at kernel/qeventdispatcher_unix.cpp:602
#51 0x00007fe1801034a4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#52 0x00007fe1776c8342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#53 0x00007fe1776cc2a8 in ?? () from /lib/libglib-2.0.so.0
#54 0x00007fe1776cc45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#55 0x00007fe180103193 in QEventDispatcherGlib::processEvents (this=0x1daf070, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#56 0x00007fe17f2d3a4e in QGuiEventDispatcherGlib::processEvents (this=0x7a0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007fe1800d5a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#58 0x00007fe1800d5dec in QEventLoop::exec (this=0x7ffff442e4d0, flags=) at kernel/qeventloop.cpp:201
#59 0x00007fe1800d9ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#60 0x00007fe182d36ba3 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:118
#61 0x00007fe182997d8e 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=0x7ffff442e8a8) at libc-start.c:226
#62 0x0000000000400669 in _start ()

Reported using DrKonqi
Comment 1 Patrick "Finn" Robins 2010-12-10 02:30:33 UTC
After noticing a very similar bug report where the reporter mentioned running wallpaper clocks I turned mine off. For the first time in awhile I can log in and the plasma desktop didn't crash. I will try to verify if this actually fixes the and if I can replicate the isssue.
Comment 2 Dario Andres 2011-01-01 16:50:12 UTC
[Comment from a bug triager]
The crash is related to the Python Qt bindings used by the Python powered plasmoids.

- Which third-party plasmoids are you using ? do you know if any of them use the Python engine ?

Probably related to bug 243119.

Regards
Comment 3 Tim Ruffing 2013-05-11 18:51:16 UTC
Created attachment 79836 [details]
patch for wallpaper-clock 0.6 as workaround

For me, wallpaper-clocks (which is written in python) sometimes crashes at login if I two wallpaper-clocks are loaded in dual monitor setup.

For those who want a quick workaround:
I added a patch that removes concurrency from wallpaper-clock; this seems to be responsible for messing up and crashing python. (I've looked at the code superficially and could not find the exact reason.)
Comment 4 Andrew Crouthamel 2018-11-01 13:42:00 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-16 11:30:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-11-17 05:28:02 UTC
Hello, unfortunately this bug is being closed as unmaintained, per request of einar77.