Detect segfaults in modules and print information