On Jan 28, 2006, at 4:47 PM, Francesc Altet wrote:

El dv 27 de 01 del 2006 a les 21:01 +0100, en/na Francesc Altet va
escriure:
I'm working on
a different implementation (inspired on your patch), but some tests
are still giving problems. I've commited the changes to SVN anyway, so
if you want to have a look, your suggestions are welcome.

SVN: http://pytables.carabos.com/svn/pytables/trunk

Ok. Solved. I've replaced the PyBuffer_FromReadWriteMemory call by the
PyString_FromStringAndSize. As the later does a copy of the data area,
the subsequent call to H5Dvlen_reclaim does not cause the crash.
So, this leak seems solved now and besides, all the tests passes. The
new solution is already in the SVN repository.

I just checked out svn, it needs this:
ret = H5Dread(self.dataset_id, self.type_id, mem_space_id, space_id, H5P_DEFAULT, rdata)
instead of this
H5Dread(self.dataset_id, self.type_id, mem_space_id, space_id, H5P_DEFAULT, rdata)



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to