print a stacktrace