sh: Use the generalized stacktrace ops