state_snapshot.c revision fdd5017195ab02e09ceefa312beaf5d538fdf2ed