[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#468996: marked as done (python-oss: may use different memory API for a given memory block)



Your message dated Tue, 04 Mar 2008 17:02:11 +0000
with message-id <E1JWaWp-0001O7-9R@ries.debian.org>
and subject line Bug#468996: fixed in python-oss 0.0.0.20010624-5
has caused the Debian Bug report #468996,
regarding python-oss: may use different memory API for a given memory block
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
468996: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468996
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-oss
Severity: important
User: debian-release@lists.debian.org
Usertags: goal-python2.5

The C API requires using the same memory API for a given memory block,
which will show up as a segfault, at least in python2.5. This code was
found by a search of all sources build-depending on python-dev, having
a PyObject_ function for allocation and a PyMem_ function for
deallocation in the same file.  This may be a real problem, or a false
positive.

The most common error seen is of the form:

  PyObject *
  new_wadobject(WadFrame *f, int count) {
    wadobject   *self;
    self = PyObject_NEW(wadobject, &WadObjectType);
    [...]
  }

  static void
  wadobject_dealloc(wadobject *self) {
    PyMem_DEL(self);
  }

This particular example can be fixed with replacing PyMem_DEL with
PyObject_Del.

For more information, see
http://docs.python.org/api/memory.html
http://docs.python.org/api/memoryExamples.html

Please set the severity of this report to "serious", if it is a real
problem, please close the report if it is a false positive.  Ask
the debian-python@lists.debian.org ML for help. Archive of the
search results: http://ftp-master.debian.org/~he/affected-files.tar.gz



--- End Message ---
--- Begin Message ---
Source: python-oss
Source-Version: 0.0.0.20010624-5

We believe that the bug you reported is fixed in the latest version of
python-oss, which is due to be installed in the Debian FTP archive:

python-oss_0.0.0.20010624-5.diff.gz
  to pool/main/p/python-oss/python-oss_0.0.0.20010624-5.diff.gz
python-oss_0.0.0.20010624-5.dsc
  to pool/main/p/python-oss/python-oss_0.0.0.20010624-5.dsc
python-oss_0.0.0.20010624-5_i386.deb
  to pool/main/p/python-oss/python-oss_0.0.0.20010624-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 468996@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Viehmann <tv@bolzano.mathphys> (supplier of updated python-oss package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 04 Mar 2008 17:21:29 +0100
Source: python-oss
Binary: python-oss
Architecture: source i386
Version: 0.0.0.20010624-5
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Thomas Viehmann <tv@bolzano.mathphys>
Description: 
 python-oss - Open Sound System (OSS) interface for Python
Closes: 468996
Changes: 
 python-oss (0.0.0.20010624-5) unstable; urgency=low
 .
   * QA upload
   * Fix memory management. Closes: #468996
   * Fix debian/substvars overwriting after dpkg-shlibs in debian/rules.
   * Fix description (python -> Python).
Files: 
 75c445937b6024c7563cbb9f746350bf 654 python optional python-oss_0.0.0.20010624-5.dsc
 a11dbcb882b542b14d4ad571575e343d 5307 python optional python-oss_0.0.0.20010624-5.diff.gz
 f0b7905e4926d3ce735ae8232639a9b5 39614 python optional python-oss_0.0.0.20010624-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHzX25riZpaaIa1PkRAkC2AJsE7aZl4v5UbiTNQYsineHzfn4HqQCg+Drl
CGriWtItvqcyH1ikW6hyRSA=
=WYHn
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: