Controller: Fix detection of the path of the dll when there is a segfault and a error message should be printed