Opened 7 years ago

Closed 7 years ago

#217 closed defect (fixed)

KDE auto-start failure: writing to closed log file

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: critical Milestone: 0.12
Component: Client Keywords:
Cc:

Description

As originally reported here on the mailing list, here is the backtrace obtained with abrt.

Note: contrary to the report above, when I test this only happens on KDE, and only when using "auto-start".

abrt_version:   2.0.10
cmdline:        /usr/bin/python /usr/bin/winswitch_applet --open_server_config=
executable:     /usr/bin/winswitch_applet
kernel:         3.5.2-1.fc17.x86_64
time:           Wed 29 Aug 2012 11:30:08 PM ICT
uid:            1000
username:       fedora

backtrace:
:warnings.py:29:_show_warning:ValueError: I/O operation on closed file
:
:Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/winswitch/client/client_base.py", line 744, in server_dir_changed
:    self.slog("evt_type=%s" % type(evt_type), monitor, d, ignored, evt_type)
:  File "/usr/lib/python2.7/site-packages/winswitch/util/simple_logger.py", line 317, in slog
:    self._write(self.log_colour, "II", self.prefix, msgsig(msg, *args))
:  File "/usr/lib/python2.7/site-packages/winswitch/util/simple_logger.py", line 231, in msgsig
:    s = msig(*args)
:  File "/usr/lib/python2.7/site-packages/winswitch/util/simple_logger.py", line 214, in msig
:    return	"("+(','.join([str(v) for v in args]))+")"
:  File "/usr/lib64/python2.7/warnings.py", line 29, in _show_warning
:    file.write(formatwarning(message, category, filename, lineno, line))
:ValueError: I/O operation on closed file
:
:Local variables in innermost frame:
:category: <class 'gobject.Warning'>
:filename: '/usr/lib64/python2.7/site-packages/twisted/internet/gtk2reactor.py'
:lineno: 277
:file: <closed file '/home/fedora/.winswitch/client/applet.log', mode 'a' at 0x7fdde6333f60>
:line: None
:message: Warning("g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed",)

Change History (1)

comment:1 Changed 7 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

I believe this is fixed in r4999

Note: See TracTickets for help on using tickets.