segfault in dial