The environment get stuck when trying to get_valid_actions() after loading this state and applying step('put sack in egg').
The state is attached by a pickle file state.pickle.zip, and the following code can reproduce the problem.
import jericho
import pickle
env = jericho.FrotzEnv('zork1.z5')
with open('state.pickle', 'rb') as f:
state = pickle.load(f)
env.set_state(state)
env.step('put sack in egg')
env.get_valid_actions() # stuck here