leaks and undefined behaviour? maybe application should be terminated in this case... I also do not know but killing looks suspicious :)