Bug 609356

Summary: [abrt] crash in wicd-common-1.7.0-1.fc13: wicd-daemon.py:1780:main:ValueError: I/O operation on closed file
Product: [Fedora] Fedora Reporter: Donald Harper <duck>
Component: wicdAssignee: David Cantrell <dcantrell>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dcantrell
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:818d73b5
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-13 01:15:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: comment none

Description Donald Harper 2010-06-30 04:36:44 UTC
abrt 1.1.1 detected a crash.

architecture: i686
cmdline: /usr/bin/python -O /usr/share/wicd/daemon/wicd-daemon.py
Attached file: comment
component: wicd
executable: /usr/share/wicd/daemon/wicd-daemon.py
kernel: 2.6.33.5-124.fc13.i686.PAE
package: wicd-common-1.7.0-1.fc13
reason: wicd-daemon.py:1780:main:ValueError: I/O operation on closed file
release: Fedora release 13 (Goddard)

backtrace
-----
wicd-daemon.py:1780:main:ValueError: I/O operation on closed file

Traceback (most recent call last):
  File "/usr/share/wicd/daemon/wicd-daemon.py", line 1838, in <module>
    main(sys.argv)
  File "/usr/share/wicd/daemon/wicd-daemon.py", line 1780, in main
    print 'unable to chmod log file to %s' % wpath.log_perms
ValueError: I/O operation on closed file

Local variables in innermost frame:
auto_connect: True
no_poll: False
do_daemonize: True
args: []
logpath: '/var/log/wicd.log'
redirect_stdout: True
argv: ['/usr/share/wicd/daemon/wicd-daemon.py']
redirect_stderr: True
backup_location: '/var/lib/wicd/resolv.conf.orig'
kill: False
output: ManagedStdio('/var/log/wicd.log', 360000, 3)
opts: []

How to reproduce
-----
1.boot
2.try to restart wicd
3.

Comment 1 Donald Harper 2010-06-30 04:36:46 UTC
Created attachment 427855 [details]
File: backtrace

Comment 2 Donald Harper 2010-06-30 04:36:48 UTC
Created attachment 427856 [details]
File: comment

Comment 3 David Cantrell 2010-07-13 01:15:19 UTC
I am unable to reproduce the problem described in the opening comment.  If you can reproduce it and have more details, feel free to reopen the bug.

The SELinux problem in comment #2 is a bug against selinux-policy, so you should file a new bug report for it.