Bug 257452 - userconfig module crashes
Summary: userconfig module crashes
Status: RESOLVED DUPLICATE of bug 227079
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: System Settings Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-20 22:58 UTC by Jesse Milette
Modified: 2010-11-20 23:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Milette 2010-11-20 22:58:54 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
I started the userconfig module as normal from systemsettings.  The modual does not work (shows "the service 'User Management' does not provide an interface" error message), and throws the error when run from the commandline:
"Traceback (most recent call last):
  File "<string>", line 18, in kpythonpluginfactory_bridge
  File "/usr/share/kde4/apps/userconfig/userconfig.py", line 583, in CreatePlugin
    return UserConfigApp(component_data, widget_parent)
  File "/usr/share/kde4/apps/userconfig/userconfig.py", line 122, in __init__
    self.admincontext = unixauthdb.getContext(isroot)
  File "/usr/share/kde4/apps/userconfig/util/unixauthdb.py", line 75, in getContext
    return PwdContext(editmode)
  File "/usr/share/kde4/apps/userconfig/util/unixauthdb.py", line 813, in __init__
    newgroupobj._initString(line)
  File "/usr/share/kde4/apps/userconfig/util/unixauthdb.py", line 1148, in _initString
    (self._groupname,self._encpass,self._gid,self._memberids) = tuple(line.strip().split(":"))
ValueError: need more than 3 values to unpack
kcmshell(622)/python (plugin): Failed to import module 
kcmshell(622)/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 
"

Upon closing the window, kcmshell4 crashes with this backtrace.

- Custom settings of the application:
I am using Raster rendering, however userconfig wouldn't work with X11 rendering either, so it is not really related.  Just thought I would mention it.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Control Module (kcmshell4), signal: Segmentation fault
[KCrash Handler]
#7  deref (this=0x8b65268, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qatomic_i386.h:132
#8  ~QByteArray (this=0x8b65268, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:383
#9  ~Private (this=0x8b65268, __in_chrg=<value optimized out>) at ../../kdecore/kernel/kaboutdata.cpp:383
#10 KAboutData::~KAboutData (this=0x8b65268, __in_chrg=<value optimized out>) at ../../kdecore/kernel/kaboutdata.cpp:466
#11 0x02088240 in ?? () from /usr/lib/pymodules/python2.6/PyKDE4/kdecore.so
#12 0x0208828b in ?? () from /usr/lib/pymodules/python2.6/PyKDE4/kdecore.so
#13 0x01c1468b in ?? () from /usr/lib/pymodules/python2.6/sip.so
#14 0x01c146c1 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#15 0x04dacc4d in subtype_dealloc (self=0x8da20ac) at ../Objects/typeobject.c:1019
#16 0x04d8fa94 in dict_dealloc (mp=0xb555757c) at ../Objects/dictobject.c:911
#17 0x01c126b3 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#18 0x01c12f8f in ?? () from /usr/lib/pymodules/python2.6/sip.so
#19 0x01c146c9 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#20 0x04dacc4d in subtype_dealloc (self=0x8d57f6c) at ../Objects/typeobject.c:1019
#21 0x04d7ab6a in frame_dealloc (f=0x8ab5544) at ../Objects/frameobject.c:420
#22 0x04e1b224 in tb_dealloc (tb=0x8db5b6c) at ../Python/traceback.c:28
#23 0x04e1b234 in tb_dealloc (tb=0x8db566c) at ../Python/traceback.c:27
#24 0x04e1b234 in tb_dealloc (tb=0x8db539c) at ../Python/traceback.c:27
#25 0x04d8de89 in insertdict (mp=0xb557dbdc, key=0xb548e7a0, hash=472112073, value=0x4f298a0) at ../Objects/dictobject.c:459
#26 0x04d908e4 in PyDict_SetItem (op=0xb557dbdc, key=0xb548e7a0, value=0x4f298a0) at ../Objects/dictobject.c:701
#27 0x04d90adf in PyDict_SetItemString (v=0xb557dbdc, key=0x4e8f539 "last_traceback", item=0x4f298a0) at ../Objects/dictobject.c:2301
#28 0x04e058d0 in PyImport_Cleanup () at ../Python/import.c:424
#29 0x04e12b88 in Py_Finalize () at ../Python/pythonrun.c:444
#30 0x01c08f6c in KPythonPluginFactoryCleanup_PostRoutine () at /build/buildd/kdebindings-4.5.3/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp:76
#31 0x00cde002 in qt_call_post_routines () at kernel/qcoreapplication.cpp:203
#32 0x00f72238 in QApplication::~QApplication (this=0xbfb4c28c, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1044
#33 0x007159da in KApplication::~KApplication (this=0xbfb4c28c, __in_chrg=<value optimized out>) at ../../kdeui/kernel/kapplication.cpp:908
#34 0x001308d8 in ~KCMShell (_argc=2, _argv=0xbfb4c514) at ../../kcmshell/main.h:33
#35 kdemain (_argc=2, _argv=0xbfb4c514) at ../../kcmshell/main.cpp:288
#36 0x080485ab in main (argc=2, argv=0xbfb4c514) at kcmshell4_dummy.cpp:3

Reported using DrKonqi
Comment 1 Christoph Feck 2010-11-20 23:31:18 UTC

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