Check if sqlite3_column_text returns a null pointer, in the levels_column function in game.c.