KFacility Inventories into Restart Db

Currently there are some issues with hdf5 output. I am confused.
For example, I am getting an error:
*** Error in `cyclus': realloc(): invalid pointer: 0x0000000002879d60 ***
*** Error in `cyclus': free(): invalid size: 0x00000000015e0690 ***
"Invalid table name: AgentStateAgent."