shm_type_4 bug