@jeffkaufman: "uninitialized_server_contexts_ will be empty here except in the root process, right?"
Yes, unless ChildInit somehow fails to get called on the factory in a child process.
That would mean that ps_init_module() does get called, and ps_init_child_process() doesn't get called. Do you think that is possible?