Bug 226567 - Python bindings corrupt application internals causing KCMShell4 crash
Summary: Python bindings corrupt application internals causing KCMShell4 crash
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:
: 226754 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-12 16:43 UTC by Delphine Ménard
Modified: 2018-11-17 05:29 UTC (History)
6 users (show)

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 Delphine Ménard 2010-02-12 16:43:12 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.31-19-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
The user management module fails to load from the system settings.

The crash can be reproduced every time.

 -- Backtrace:
Application: Module de Configuration de KDE (kcmshell4), signal: Segmentation fault
[KCrash Handler]
#5  QBasicAtomicInt::deref (this=0x973ddb0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qatomic_i386.h:132
#6  ~QByteArray (this=0x973ddb0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:391
#7  ~Private (this=0x973ddb0, __in_chrg=<value optimized out>) at ../../kdecore/kernel/kaboutdata.cpp:383
#8  ~KAboutData (this=0x973ddb0, __in_chrg=<value optimized out>) at ../../kdecore/kernel/kaboutdata.cpp:466
#9  0x012798e0 in ?? () from /usr/lib/pymodules/python2.6/PyKDE4/kdecore.so
#10 0x0127992b in ?? () from /usr/lib/pymodules/python2.6/PyKDE4/kdecore.so
#11 0x010ffa3b in ?? () from /usr/lib/pymodules/python2.6/sip.so
#12 0x010ffa71 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#13 0x081fe6cd in subtype_dealloc (self=0x9b7d0ac) at ../Objects/typeobject.c:1024
#14 0x081e15c4 in dict_dealloc (mp=0xb5e5a3e4) at ../Objects/dictobject.c:911
#15 0x010fda33 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#16 0x010fe30f in ?? () from /usr/lib/pymodules/python2.6/sip.so
#17 0x010ffa79 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#18 0x081fe6cd in subtype_dealloc (self=0x9b2cf6c) at ../Objects/typeobject.c:1024
#19 0x081cc7ea in frame_dealloc (f=0x988af5c) at ../Objects/frameobject.c:420
#20 0x0826a1d4 in tb_dealloc (tb=0x9c0693c) at ../Python/traceback.c:28
#21 0x0826a1e4 in tb_dealloc (tb=0x9c06964) at ../Python/traceback.c:27
#22 0x0826a1e4 in tb_dealloc (tb=0x9c0698c) at ../Python/traceback.c:27
#23 0x081df8d9 in insertdict (mp=0xb5e80b54, key=0xb5d8cd40, hash=472112073, value=0x8372720) at ../Objects/dictobject.c:459
#24 0x081e2404 in PyDict_SetItem (op=0xb5e80b54, key=0xb5d8cd40, value=0x8372720) at ../Objects/dictobject.c:701
#25 0x081e25ff in PyDict_SetItemString (v=0xb5e80b54, key=0x82d9559 "last_traceback", item=0x8372720) at ../Objects/dictobject.c:2301
#26 0x08254f30 in PyImport_Cleanup () at ../Python/import.c:422
#27 0x08261c55 in Py_Finalize () at ../Python/pythonrun.c:434
#28 0x04ee8220 in ?? () from /usr/lib/kde4/kpythonpluginfactory.so
#29 0x00ad81f0 in qt_call_post_routines () at kernel/qcoreapplication.cpp:201
#30 0x02ff6f88 in ~QApplication (this=0xbfa565c4, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1014
#31 0x00eeda3a in ~KApplication (this=0xbfa565c4, __in_chrg=<value optimized out>) at ../../kdeui/kernel/kapplication.cpp:896
#32 0x00d09b60 in ~KCMShell (_argc=4, _argv=0xbfa56834) at ../../kcmshell/main.h:33
#33 kdemain (_argc=4, _argv=0xbfa56834) at ../../kcmshell/main.cpp:275
#34 0x080485cb in main (argc=4, argv=0xbfa56834) at kcmshell4_dummy.cpp:3

Reported using DrKonqi
Comment 1 Christoph Feck 2010-02-13 12:48:27 UTC
User Management module is not part of the KDE Software Compilation. Please file the bug to https://bugs.launchpad.net/ubuntu/
Comment 2 Christoph Feck 2010-02-14 13:18:01 UTC
*** Bug 226754 has been marked as a duplicate of this bug. ***
Comment 3 Sputnik 2010-02-15 19:41:47 UTC
Ubuntu refuses to accept this bug report:

"Das Problem kann nicht gemeldet werden:
Dies ist kein echtes Ubuntu-Paket"

Which means: Can not report this problem. It's not a real Ubuntu package!

KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.31-20-generic i686
Distribution: Ubuntu 9.10
Comment 4 Jonathan Thomas 2010-02-15 20:55:07 UTC
This is a valid issue with the python bindings.
Comment 5 Paul L. 2010-02-15 21:01:58 UTC
The file affecting this is /usr/share/pyshared/PyQt4/uic/uiparser.py
The problem is line 184:

bg_name = bg_i18n.string

Which needs to read:

bg_name = str(bg_i18n)

Making this correction allows User Management to launch without error.
Comment 6 Sputnik 2010-02-15 21:37:13 UTC
I was able to report tis bug at launchpad with the help of some great hints
from IRC: https://bugs.launchpad.net/ubuntu/+source/kdebindings/+bug/522309
Comment 7 Jonathan Thomas 2010-02-15 21:41:15 UTC
@Paul
That's an unrelated crash with similar symptoms. It should be fixed in the lastest kdebindings upload to Kubuntu.
Comment 8 Ben Cooksley 2010-02-16 03:49:56 UTC
Giving more clear title
Comment 9 Ron 2010-02-17 02:16:42 UTC
Kubuntu 9.10 amd64
KDE 4.4


Application: KDE Control Module (kcmshell4), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fc9e5a8d7f0 (LWP 5765))]

Thread 2 (Thread 0x7fc9da14c910 (LWP 5768)):
#0  0x00007fc9e540d412 in select () from /lib/libc.so.6
#1  0x00007fc9e4032fc3 in QProcessManager::run (this=0x7fc9e4369f20) at io/qprocess_unix.cpp:245
#2  0x00007fc9e3f61745 in QThreadPrivate::start (arg=0x7fc9e4369f20) at thread/qthread_unix.cpp:248
#3  0x00007fc9e089aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fc9e541480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc9e5a8d7f0 (LWP 5765)):
[KCrash Handler]
#5  QBasicAtomicInt::deref (this=0x14ab990, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qatomic_x86_64.h:133
#6  ~QByteArray (this=0x14ab990, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:391
#7  ~Private (this=0x14ab990, __in_chrg=<value optimized out>) at ../../kdecore/kernel/kaboutdata.cpp:383
#8  ~KAboutData (this=0x14ab990, __in_chrg=<value optimized out>) at ../../kdecore/kernel/kaboutdata.cpp:466
#9  0x00007fc9d7d2ed16 in ?? () from /usr/lib/pymodules/python2.6/PyKDE4/kdecore.so
#10 0x00007fc9d83c0619 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#11 0x00007fc9d912a515 in subtype_dealloc (self=0x1bc5a68) at ../Objects/typeobject.c:1024
#12 0x00007fc9d910d12b in dict_dealloc (mp=0x14af820) at ../Objects/dictobject.c:911
#13 0x00007fc9d83be6db in ?? () from /usr/lib/pymodules/python2.6/sip.so
#14 0x00007fc9d83bf064 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#15 0x00007fc9d83c0621 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#16 0x00007fc9d912a515 in subtype_dealloc (self=0x1bc5848) at ../Objects/typeobject.c:1024
#17 0x00007fc9d90f8773 in frame_dealloc (f=0x1c624a0) at ../Objects/frameobject.c:420
#18 0x00007fc9d919824b in tb_dealloc (tb=0x1d45d88) at ../Python/traceback.c:28
#19 0x00007fc9d919825b in tb_dealloc (tb=0x1d45dd0) at ../Python/traceback.c:27
#20 0x00007fc9d919825b in tb_dealloc (tb=0x1d45e18) at ../Python/traceback.c:27
#21 0x00007fc9d910b5a7 in insertdict (mp=0x1210330, key=0x1763458, hash=5897959712516987849, value=0x7fc9d94c7e90) at ../Objects/dictobject.c:459
#22 0x00007fc9d910df87 in PyDict_SetItem (op=0x1210330, key=0x1763458, value=0x7fc9d94c7e90) at ../Objects/dictobject.c:701
#23 0x00007fc9d910e170 in PyDict_SetItemString (v=0x1210330, key=<value optimized out>, item=0x7fc9d94c7e90) at ../Objects/dictobject.c:2301
#24 0x00007fc9d918347b in PyImport_Cleanup () at ../Python/import.c:422
#25 0x00007fc9d9190108 in Py_Finalize () at ../Python/pythonrun.c:434
#26 0x00007fc9e4056476 in qt_call_post_routines () at kernel/qcoreapplication.cpp:201
#27 0x00007fc9e341a198 in ~QApplication (this=0x7fffd0c2b160, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1014
#28 0x00007fc9e56abc03 in ~KCMShell (_argc=<value optimized out>, _argv=<value optimized out>) at ../../kcmshell/main.h:33
#29 kdemain (_argc=<value optimized out>, _argv=<value optimized out>) at ../../kcmshell/main.cpp:275
#30 0x00007fc9e5353abd 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=0x7fffd0c2b878) at libc-start.c:220
#31 0x0000000000400689 in _start () at ../sysdeps/x86_64/elf/start.S:113
Comment 10 Andreas Hencke 2011-05-08 13:10:53 UTC
I 've got that problem with Kubuntu 10.04.2 and KDE 4.5.3.
The line 184 in /usr/share/pyshared/PyQt4/uic/uiparser.py reads bg_name = strg(bg_i18n)
Comment 11 Andreas Hencke 2011-05-08 13:12:29 UTC
I 've got that problem with Kubuntu 10.04.2 and KDE 4.5.3.
The line 184 in /usr/share/pyshared/PyQt4/uic/uiparser.py reads bg_name = strg(bg_i18n)
Comment 12 Andrew Crouthamel 2018-10-31 04:13:33 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 13 Bug Janitor Service 2018-11-15 10:32:47 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 14 Andrew Crouthamel 2018-11-17 05:29:03 UTC
Hello, unfortunately this bug is being closed as unmaintained, per request of einar77.