OSDN Git Service

Improve stack overflow diagnostics.
authorElliott Hughes <enh@google.com>
Tue, 16 Jul 2013 20:14:24 +0000 (13:14 -0700)
committerElliott Hughes <enh@google.com>
Tue, 16 Jul 2013 20:14:24 +0000 (13:14 -0700)
commitaa754dca90487356cabf07ade0e8d88c2630b784
treeb4cda0d4fa3935abd85b3ee178d35d0738e8a744
parent9562d38df1e4aba941b3433cfd0922fee5ea258b
Improve stack overflow diagnostics.

We notify debuggerd of problems by installing signal handlers. That's
fine except for when the signal is caused by us running off the end of
a thread's stack and into the guard page.

Bug: 8557703
Change-Id: I1ef65b4bb3bbca7e9a9743056177094921e60ed3
libc/bionic/pthread_attr.cpp
libc/bionic/pthread_create.cpp
linker/debugger.cpp