[Bug 18022] p2 statistical program crashes