The first cbh argument here has an indeterminate value, as evaluation order of function arguments is unspecified. If argument 3 is evaluated first, the lambda will move from the cbh variable to bind its captured copy of it, leaving an empty value for argument 1. cbh is an object of a class that wraps a std::shared_ptr.
This may or may not be a contributor to BF-18045.
Bug was introduced as part of
SERVER-39513, which added the cbh argument to the AlarmInfo constructor.