revoke() on terminal ? I think this syscall is problem, from man-page i can read that revoke is invaliding and closing every descriptor connected to this path, maybe this syscall is invaliding terminal descriptor on konsole process ?."