Better handling of exceptional conditions

Added code to more cleanly deal missing source-code files and with
addr2line returning "??:?" instead of "??:0".
Merge branch 'master' into no-tls