[Bug 581600] New: python segfaults on exit when doing "from PyKDE4 import plasmascript;from PyKDE4.kdecore import *"
http://bugzilla.novell.com/show_bug.cgi?id=581600 http://bugzilla.novell.com/show_bug.cgi?id=581600#c0 Summary: python segfaults on exit when doing "from PyKDE4 import plasmascript;from PyKDE4.kdecore import *" Classification: openSUSE Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: madigens@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux x86_64; U; de) Presto/2.2.15 Version/10.10 Whenever I load something from Plasma before doing "from PyKDE4.kdecore import *", python segfaults ON EXIT. Works even in the Python shell where you can do stuff. The segfault doesn't happen until you exit the shell. Apparently doesn't happen on Ubuntu, so I file my bug report here. Possible things to import before kdecore: - "from PyKDE4.plasma import Plasma" - "from PyKDE4.plasmascript import DataEngine" - "from PyKDE4 import plasmascript" - probably others Example: 23:45 ~/tmp $ cat > a.py from PyKDE4 import plasmascript;from PyKDE4.kdecore import * 23:45 ~/tmp $ python a.py [1] 27501 segmentation fault python a.py 23:45 ~/tmp $ Using KDE 4.4.0 packages from factory for 11.2. python-qt4 4.7-38.1 python-sip 4.10-33.1 python-kde4 4.4.0-132.2 python-kdebase4 4.4.0-414.1 anything else? Reproducible: Always Steps to Reproduce: 1. Follow example given in "Details" 2. ??? 3. No profit. Actual Results: segmentation fault Expected Results: no segmentation fault -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=581600 http://bugzilla.novell.com/show_bug.cgi?id=581600#c Nikolaus Waxweiler <madigens@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |Other Product|openSUSE 11.0 |openSUSE 11.2 Target Milestone|--- |Final -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=581600 http://bugzilla.novell.com/show_bug.cgi?id=581600#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |jmatejek@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=581600 http://bugzilla.novell.com/show_bug.cgi?id=581600#c Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=581600 http://bugzilla.novell.com/show_bug.cgi?id=581600#c1 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |madigens@gmail.com --- Comment #1 from Jan Matejek <jmatejek@novell.com> 2010-03-17 17:33:46 UTC --- i honestly have no idea how this could work, but upgrading libselinux1 to most recent version solved the crash for me please try that and see if it helps. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=581600 http://bugzilla.novell.com/show_bug.cgi?id=581600#c2 Nikolaus Waxweiler <madigens@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|madigens@gmail.com | --- Comment #2 from Nikolaus Waxweiler <madigens@gmail.com> 2010-03-18 10:46:39 UTC --- (In reply to comment #1)
i honestly have no idea how this could work
The crash was in selinux (posting from x86 machine in case you're wondering): (gdb) bt #0 0xb20f7c03 in ?? () from /lib/libselinux.so.1 #1 0xb20f0b8d in ?? () from /lib/libselinux.so.1 #2 0xb20e8a98 in selinux_file_context_cmp () from /lib/libselinux.so.1 #3 0xb210120c in selinux_file_context_cmp () from /lib/libselinux.so.1 #4 0xb3d9d539 in ?? () from /usr/lib/libGL.so.1 #5 0xb20f9d60 in _fini () from /lib/libselinux.so.1 #6 0xb7feee16 in ?? () from /lib/ld-linux.so.2 #7 0xb7cd9111 in ?? () from /lib/libc.so.6 #8 0xb7cd916d in exit () from /lib/libc.so.6 #9 0xb7cc1ad6 in __libc_start_main () from /lib/libc.so.6 #10 0x080485c1 in _start ()
please try that and see if it helps.
Yep, installed libselinux from security:SELinux and now it won't segfault anymore. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
(In reply to comment #1)
i honestly have no idea how this could work
The crash was in selinux (posting from x86 machine in case you're wondering): i figured that much, but when i upgraded selinux because i needed to sync
http://bugzilla.novell.com/show_bug.cgi?id=581600 http://bugzilla.novell.com/show_bug.cgi?id=581600#c3 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WORKSFORME --- Comment #3 from Jan Matejek <jmatejek@novell.com> 2010-03-18 13:28:16 UTC --- (In reply to comment #2) library with debuginfo, the crash went away. why it crashed in the first place, that's the question.
please try that and see if it helps.
Yep, installed libselinux from security:SELinux and now it won't segfault anymore.
but apparently it works, so closing this as worksforme .) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com