common stacktrace api