I2C resets Ardunio (Master-Slave Dual 328P)

I bet he had a cycle-intensive process on the twi_attachSlaveRxEvent() callback..
And it gets even better if you start doing a lot of Serial.print() inside the callback..

Wire lib was not designed with multi-master environment in mind but you can live with it and still do two way communication.