Seg-fault when accessing eref on Id.