Why did you post that under the
C binding, when it's clearly C++ and doesn't even utilize SFML (at least not in the way to short code snippet)...
Are you sure you want to has a pointer to a std::map which has a string-key associated with a ObejectManager pointer?
This seems like a very bad code design. You should probably take a look at smart pointers.
As for the problem, we can't really say what it is, since you didn't provide enough information.