Segmentation fault in controller setting
Compiling the driver with DebugInfo option results in a segmentation fault caused by the not initialization of the pointer to the controller in the class constructor and the deletion of the pointer in the setController method