fix pointer SIGENV err, when sem wake up.