set s_state shmem object