Replace segfault by big fat warning