Bug 244107

Summary: /usr/bin/system-config-selinux crashes
Product: [Fedora] Fedora Reporter: David <dgboles>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, pgraner
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Current Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-15 13:06:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description David 2007-06-13 20:33:20 UTC
Description of problem:

/usr/bin/system-config-selinux crashes

Version-Release number of selected component (if applicable):
policycoreutils-2.0.20-1.fc8.i386

How reproducible:
always

Steps to Reproduce:
1.mouse click on GNOME Menu launcher - SELinux Management
2.CLI (as root) /usr/bin/system-config-selinux <enter>
3.
  
Actual results:
It crashes

Expected results:
Start of GUI to configure SELinux

Additional info:

***MEMORY-WARNING***: system-config-selinux.py[3284]: GSlice: g_thread_init()
must be called before all other GLib functions; memory corruption due to late
invocation of g_thread_init() has been detected; this program is likely to
crash, leak or unexpectedly abort soon...
/usr/share/system-config-selinux/system-config-selinux.py:72: Warning:
IA__g_object_get_valist: object class `GnomeProgram' has no property named
`default-icon'
  xml = gtk.glade.XML
("/usr/share/system-config-selinux/system-config-selinux.glade", domain=PROGNAME)
Traceback (most recent call last):
  File "/usr/share/system-config-selinux/system-config-selinux.py", line 171, in
<module>
    app = childWindow()
  File "/usr/share/system-config-selinux/system-config-selinux.py", line 90, in
__init__
    self.add_page(modulesPage.modulesPage(xml)) # modules
  File "/usr/share/system-config-selinux/modulesPage.py", line 51, in __init__
    self.module_filter.connect("focus_out_event", self.filter_changed)
AttributeError: 'NoneType' object has no attribute 'connect'

Comment 1 Daniel Walsh 2007-06-14 12:09:50 UTC
Fixed in policycoreutils-2.0.21-2.fc8.i386

Comment 2 David 2007-06-14 17:29:12 UTC
(In reply to comment #1)
> Fixed in policycoreutils-2.0.21-2.fc8.i386

The GUI doe indeed run both from the launcher and from the CLI. However this is
still reported when run from the CLI

***MEMORY-WARNING***: system-config-selinux.py[2881]: GSlice: g_thread_init()
must be called before all other GLib functions; memory corruption due to late
invocation of g_thread_init() has been detected; this program is likely to
crash, leak or unexpectedly abort soon...
/usr/share/system-config-selinux/system-config-selinux.py:72: Warning:
IA__g_object_get_valist: object class `GnomeProgram' has no property named
`default-icon'
  xml = gtk.glade.XML
("/usr/share/system-config-selinux/system-config-selinux.glade", domain=PROGNAME)

Is this significant?



Comment 3 Daniel Walsh 2007-06-14 17:37:21 UTC
I don't know.  :^(

But I think these are problems with gtk/gnome/python not with
system-config-selinux.  

Comment 4 David 2007-06-15 09:27:58 UTC
(In reply to comment #3)
> I don't know.  :^(
> 
> But I think these are problems with gtk/gnome/python not with
> system-config-selinux.

The work that you performed fixed this. You should close this bug.