History log of /external/valgrind/helgrind/tests/stackteardown.stderr.exp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3a75d2e7a6b8e8d28024b7444228097ae1504ca2 03-Mar-2015 philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix 343173 - helgrind crash during stack unwind

This fixes a helgrind crash detected on android.
Android bionic pthread lib unmaps the stack for detached threads
before exiting.
Helgrind tries to unwind the stack to record a 'read' after
the stack unmap, just before the exit syscall.
The unwind then causes a SEGV.

The solution consists in tightening the calculation of
the stack limits, so as to stop unwinding when no valid stack
can be found.
Regression test reproduces the same problem by simulating the
bionic behaviour on linux, using asm similar to bionic lib.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14976 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/helgrind/tests/stackteardown.stderr.exp