Segfault in reduce.