segfault when connecting to hwController