Created attachment 62641 [details] valgrind output Version: unspecified (using KDE 4.6.5) OS: Linux Unter an almoast stable Gentoo I get a core dump (w/o usefule back trace, but nevertheless attached here too), with gdb I get : tfoerste@n22 ~ $ gdb /usr/bin/systemsettings GNU gdb (Gentoo 7.2 p1) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/systemsettings...Reading symbols from /usr/lib/debug/usr/bin/systemsettings.debug...done. done. (gdb) r Starting program: /usr/bin/systemsettings [Thread debugging using libthread_db enabled] Program exited normally. (gdb) thread apply all Please specify a command following the thread ID list (gdb) systemsettings(17020)/python (plugin): Failed to import module Traceback (most recent call last): File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 45, in <module> from PyKDE4.kdecore import * RuntimeError: the PyQt4.QtCore module is version 1 but the PyKDE4.kdecore module requires version -1 systemsettings(17020)/python (plugin): Failed to import module systemsettings(17020)/kcontrol KCModuleLoader::loadModule: This module has no valid entry symbol at all. The reason could be that it's still using K_EXPORT_COMPONENT_FACTORY with a custom X-KDE-FactoryName which is not supported anymore systemsettings(17020)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: KCrash: Application 'systemsettings' crashing... Fatal Error: Accessed global static 'KGlobalPrivate *globalData()' after destruction. Defined at /var/tmp/portage/kde-base/kdelibs-4.6.5-r1/work/kdelibs-4.6.5/kdecore/kernel/kglobal.cpp:127 Unable to start Dr. Konqi The core dump file itself gives : #0 0xb7718843 in qt_plugin_instance () from /usr/lib/kde4/kpythonpluginfactory.so (gdb) thread apply all bt Thread 1 (Thread 17047): #0 0xb7718843 in qt_plugin_instance () from /usr/lib/kde4/kpythonpluginfactory.so #1 0xb7718849 in qt_plugin_instance () from /usr/lib/kde4/kpythonpluginfactory.so #2 0xb7718849 in qt_plugin_instance () from /usr/lib/kde4/kpythonpluginfactory.so #3 0xb7718849 in qt_plugin_instance () from /usr/lib/kde4/kpythonpluginfactory.so .... (lines repeated) Reproducible: Didn't try Steps to Reproduce: bla Actual Results: bla Expected Results: bla OS: Linux (i686) release 2.6.39.4 Compiler: i686-pc-linux-gnu-gcc
> RuntimeError: the PyQt4.QtCore module is version 1 but the PyKDE4.kdecore module requires version -1 Looks like a version mismatch between Python bindings for Qt4 and KDE4. Could you check if other Python KDE applications work?
Thes 2 packages depend here under Gentoo : tfoerste@n22 ~/devel/wireshark $ equery d kde-base/pykde4 * These packages depend on kde-base/pykde4: kde-base/plasma-workspace-4.6.5 (python ? >=kde-base/pykde4-4.6.5:4[aqua=]) kde-base/system-config-printer-kde-4.6.5 (>=kde-base/pykde4-4.6.5:4[aqua=]) and - yes - the plasma workspace works (although it crashes sometimes, usually during logout).
Argh - wrong package name, but same results :-) : tfoerste@n22 ~/devel/linux $ equery d dev-python/PyQt4 * These packages depend on dev-python/PyQt4: kde-base/plasma-workspace-4.6.5 (python ? >=dev-python/PyQt4-4.4.0[X]) kde-base/pykde4-4.6.5-r1 (aqua ? >=dev-python/PyQt4-4.8.2[dbus,declarative,sql,svg,webkit,aqua]) (!aqua ? >=dev-python/PyQt4-4.8.2[dbus,declarative,sql,svg,webkit,X])
This most likely is just a Gentoo issue. https://bugs.gentoo.org/show_bug.cgi?id=409975 kpythonpluginfactory here is a simple wrapper, which loads the actual factory. As the gentoo bug is marked with "Track Upstream", and in my opinion it is NOT a problem inside pykde4, I ask you to apply the patch posted in the gentoo bug (kpythonpluginwrapper.c is located in $PORTDIR/kde-base/pykde4/files), and to report back when the patch fixes the issues for you.
(In reply to comment #4) > This most likely is just a Gentoo issue. > https://bugs.gentoo.org/show_bug.cgi?id=409975 > kpythonpluginfactory here is a simple wrapper, which loads the actual > factory. > As the gentoo bug is marked with "Track Upstream", and in my opinion it is > NOT a problem inside pykde4, I ask you to apply the patch posted in the > gentoo bug (kpythonpluginwrapper.c is located in > $PORTDIR/kde-base/pykde4/files), and to report back when the patch fixes the > issues for you. yes- fixed for me - closed this bug