runtime bugfixes using boost managed_shared_memory