~vcs-imports/valgrind/trunk

Viewing all changes in revision 12771.

  • Committer: philippe
  • Date: 2017-08-08 21:15:45 UTC
  • Revision ID: svn-v4:a5019735-40e9-0310-863c-91ae7b9d1cf9:trunk:16470
Ensure host stack trace has better chance to work when valgrind is exiting

When investigating bug 383275, the host stacktrace was containing
only one IP. This is because the tid corresponding to the lwpid
is dead, and so no valid thread state was returned.
This then gave a rubbish stacktop of 0, which means unwinding
stops at first frame.

So, try harder to find a valid thread state when reporting the
host stacktrace.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: