Works with one 'media_map'. I am guessing that it's breaking when adding an other one because it is managed_shared_memory. Will have to investigate there: http://www.boost.org/doc/libs/1_35_0/doc/html/interprocess/quick_guide.html#interprocess.quick_guide.qg_memory_pool