shmget() and shmat() problem