Mistery: I2C not working, blink working

And how can be explained that same circuit and same code works on arduino with 328p and hangs on arduino with 2560?
As I said before, I used different pins on uno and mega. And different voltages too.

L3G library uses wire library.

I wonder if mega I2C circuit is different to uno circuit(except I2C pins placement).