[sr-dev] git:master:27b2ddf9: core: proper test when initializing _ksr_shutdown_phase shm pointer