Mysterious segfault.