After some digging it turns out that the problem is actually in string concatination. So a simpler example is to exchange the call format(1); with char[] r; r ~= "a"; Nick