Notes on segfaults and lookup tables