Segfault but trie