There is a bug in the py-xmlrpc module which leads to crash of the interpreter. In the module the PyObject_NEW()/PyMem_DEL() are used while the PyObject_NEW()/PyObject_DEL() pair must be used. This bug is well known actually and very old. But the project looks to be abandoned so the fix has not been incorporated into the source code yet. Here is this bug report and fix at the project's tracker. http://sourceforge.net/tracker/index.php?func=detail&aid=1734819&group_id=23992&atid=380301 Fix: PyMem_DEL() calls must be replaced with PyObject_DEL() calls. Patch attached with submission follows: How-To-Repeat: Install the module under Python 2.5 or higher and try to import it.
Responsible Changed From-To: freebsd-ports-bugs->perky Over to maintainer.
sobomax 2009-02-27 01:35:30 UTC FreeBSD ports repository Modified files: net/py-xmlrpc Makefile Added files: net/py-xmlrpc/files patch-src_rpcBase64.c patch-src_rpcBoolean.c patch-src_rpcClient.c patch-src_rpcDate.c patch-src_rpcDispatch.c patch-src_rpcSource.c Log: Fix python interpreter crash caused by the incorrect use of PyMem_DEL() instead of PyObject_DEL(). PR: ports/131609 Submitted by: Andriy Pylypenko <bamby@sippysoft.com> Approved by: MAINTAINER's timeout Revision Changes Path 1.15 +1 -0 ports/net/py-xmlrpc/Makefile 1.1 +14 -0 ports/net/py-xmlrpc/files/patch-src_rpcBase64.c (new) 1.1 +14 -0 ports/net/py-xmlrpc/files/patch-src_rpcBoolean.c (new) 1.1 +14 -0 ports/net/py-xmlrpc/files/patch-src_rpcClient.c (new) 1.1 +14 -0 ports/net/py-xmlrpc/files/patch-src_rpcDate.c (new) 1.1 +14 -0 ports/net/py-xmlrpc/files/patch-src_rpcDispatch.c (new) 1.1 +14 -0 ports/net/py-xmlrpc/files/patch-src_rpcSource.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed committed 2009-02-27.