#83 different memory API for a given memory block

v1.6.2.0
closed-out-of-date
5
2016-12-05
2009-01-31
No

Citing Debian bug #468989 [1]:

[..] 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. [..]

The attached patch is the proposed fix applied for Debian.

[1] http://bugs.debian.org/468989

Discussion

  • Daniel Leidert

    Daniel Leidert - 2009-01-31

    proposed patch

     
  • Nobody/Anonymous

    changes applied selectively. note that the proposed patch itself violates the API requirement by releasing blocks with PyObject_Del which were in fact allocated with PyMem_NEW...

    Also note that sglite and ExtensionClass are being dropped from PyMOL and pyopengl is presently INOP and may be dropped as well.

     
  • Thomas Holder

    Thomas Holder - 2016-12-05
    • status: open --> closed-out-of-date
    • assigned_to: Thomas Holder
    • Group: --> v1.6.2.0
     
  • Thomas Holder

    Thomas Holder - 2016-12-05

    all the affected modules are not used anymore and have been removed from the contrib folder

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks