commit | 4d4a23306a0ae1d5cb9ff2bd796bc0f2716547e0 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Thu Sep 13 15:44:58 2018 -0700 |
committer | Kweku Adams <kwekua@google.com> | Tue Sep 18 18:55:19 2018 -0700 |
tree | d430444ab654896f805db8be1dfdbd509421c948 | |
parent | 6d66e03371e02f6cddc02b2377dacd3bfac604ea [diff] |
Handling potential SIGPIPE signals. There are cases where dumping Java traces times out and then later tries to write to a closed pipe, causing incidentd to crash. This introduces a handler for the SIGPIPE signal so it doesn't crash due to a closed pipe. Bug: 111729299 Test: lower section timeout to 5 seconds and make sure incident service doesn't crash Change-Id: I868aba1ae21a50ae76977e0e09e782cf94198473 (cherry picked from commit 5b763c13472effa7df25cc53a44d5bdae9392410)