logger crash when generating tracebacks

Bug #265904 reported by Tzs-users
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Unassigned

Bug Description

OpenBSD-3.1, Python-2.2.2, Mailman-2.1.1

When something causes an exception in the CGI scripts,
the logger then produces one of its own trying to
report it:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[----- Mailman Version: 2.1.1 -----]
[----- Traceback ------]
Traceback (most recent call last):
  File "/home/mailman/scripts/driver", line 224, in ?
    run_main()
  File "/home/mailman/scripts/driver", line 96, in run_main
    print_traceback(logger)
  File "/home/mailman/scripts/driver", line 121, in
print_traceback
    print >> logfp,
'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
  File
"/home/mailman/Mailman/Logging/StampedLogger.py", line
73, in write
    Logger.write(self, "%s %s" % (prefix, msg))
  File "/home/mailman/Mailman/Logging/Logger.py", line
88, in write
    msg = unicode(msg, self.__encoding)
SystemError: can't resize shared unicode objects
[----- Python Information -----]
sys.version = 2.2.2 (#1, Apr 22 2003, 22:52:59)
[GCC 2.95.3 20010125 (prerelease)]
sys.executable = /usr/local/bin/python
sys.prefix = /usr/local
sys.exec_prefix = /usr/local
sys.path = /usr/local
sys.platform = openbsd3

[http://sourceforge.net/tracker/index.php?func=detail&aid=726019&group_id=103&atid=100103]

Tags: web-cgi
Revision history for this message
Tzs-users (tzs-users) wrote :

Also seems fixed now in 2.1.2.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.