fix share-memory bug for worker core_dump or reload