fix: several crush points. Notably, be careful on lambda slots connected to global objects.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>