So I had xdebug enabled and when I was rebuilding the master data, it took a lot (and by lot I mean more than 10 minutes, after that killed the process) time and parsing wasn't finished. This happens in both PHP 5.4 and 5.5. Didn't test on other versions. I did a full rebuild after disabling xdebug in like a minute. Just thought of letting you guys know.