implementing stacktrace resolve on posix systems