implements stack trace for linux using glibc