Interaction between automap and argument splicing segfaults