Bug #26511 introduced a different code generation for stap global locking, but contained a bug related to handling of on-the-fly activated probes. In certain cases/workloads (uprobes_onthefly.exp e.g.) it was possible to freeze a machine. The bug is associated with where control flow jumps after a lock attempt failure just before executing probe conditional expressions.
commit e3287bddcdc5