[sr-dev] segfault when mod_init fails