RoundTrip_ping with default parameters seg faults when run against a single instance of RoundTrip_pong also with default parameters. The default senderId for RoundTrip_pong is 0 and the problem appears to be the [msg->senderId - 1] index around line 277. I believe this should be simply [msg->senderId]