sigaction problem with ubuntu resolved