I have a rather complicated toolset, that opens multiple hdf5 files. 
I'm having a problem under certain conditions.  The simplest example we 
have so far is that I open up a pre-existing file in mode "a".  I don't 
write any data to the file, and the file was originally created by 
PyTables.  I open a dataset, then drop all references, open a second, 
then call (roughly)

fyle.root._f_getChild(node_name)

which leads to a segmentation fault.

        I've tried doing as many steps as possible in my own code, and it looks 
like the crashing code is in

fyle.root._g_getLChildAttr(nodePath,"CLASS")

        The odd thing is that if I call

[n._v_name for n in fyle.root]

before the call to fyle.root._f_getChild, the code runs fine.

        Any ideas on how to debug this any further?  I will try to make a 
simpler case, but I can't promise I will succeed.  I'm running PyTables 
2.1.2 that comes with Ubuntu 9.10.

-- 
Anthony Foglia
Princeton Consultants
(609) 987-8787 x233


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to