Get some more debugging for ckati crashes
The crash we're following is likely a stack overflow. Use an alternate stack to actually get the backtraces. Also write out ulimit to reference what the stack size should be. Bug: 36182021 Test: ulimit -s 768; build/soong/build_test.bash Change-Id: I8826e5e53f38af552c8b80a1a8a490fde55f2d4b
This commit is contained in:
parent
2675f5648b
commit
89479facb9
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ source "${TOP}/build/soong/scripts/microfactory.bash"
|
||||||
case $(uname) in
|
case $(uname) in
|
||||||
Linux)
|
Linux)
|
||||||
export LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
|
export LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
|
||||||
|
export SEGFAULT_USE_ALTSTACK=1
|
||||||
|
ulimit -a
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue