Compiles, segfaults in smoker.c