added allocation stacktrace tracking, but introduced some kind of on-exit-crash so beware