Consecutive uses of HDF5File on the same file can crash your script
Created by: anjos
The following piece of code will crash under Ubuntu 10.04.
import numpy
import bob
A = numpy.array(range(4), 'int8').reshape(2,2)
f = bob.io.HDF5File('testfile1.hdf5', 'w')
for k in range(1000): f.set('my_float_%d' % k, 3.1416)
#del f #this makes everything work fine
f = bob.io.HDF5File('testfile1.hdf5', 'r') #read only
f.read('my_float_999') # reads float
del f