avoid segfault, if ulimit is not set