A library for detecting cycles in stack traces