state_snapshot.c revision 061bebe04c5bfa05ed733d2a1204389c2a0c96a8