a deadlock simul for lock in sig handler