Interestingly, the program does not crash when run under valgrind.
It does produce this error:
==13337== Invalid write of size 1
==13337==at 0x1B90583D: memcpy (in /usr/lib/valgrind/
vgpreload_memcheck.so)
==13337==by 0x1BFD1204: H5V_memcpyvv (H5V.c:1316)
==13337== Address 0x1D3CCEDF
The following code fails on data files I created yesterday using
pytables (IIRC a daily snapshot just prior to the 1.3 release -- it's
called "1.3beta2"). The h5* tools seem to work (e.g. h5ls, h5dump and so
on). The segfault occurs with pytables 1.2.3, 1.3, and today's svn
current as of now.
Hi, the following program fails:
import tables
class Info2D(tables.IsDescription):
colA = tables.Int32Col(pos=0)
colB = tables.Int32Col(pos=1)
h5file = tables.openFile('test.h5',mode='w')
group = h5file.createGroup( h5file.root, 'group' )
print getattr( h5file.root, 'group' )
delattr( h5
A Dilluns 24 Abril 2006 20:01, Stephen Simmons va escriure:
> Hi,
>
> I have a problem with using PyTables 1.3 to store strings in a StringCol
> column of length 1.
> Whenever the string is "", table.append(rows) gives a ValueError exception.
> These exceptions only appear for StringCols of length