Segmentation fault on very first accounting request