_sm_singleton is null in linux