commit | 5b763c13472effa7df25cc53a44d5bdae9392410 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Thu Sep 13 15:44:58 2018 -0700 |
committer | Kweku Adams <kwekua@google.com> | Thu Sep 13 15:47:49 2018 -0700 |
tree | c1af3cab7306899e53b2276ce423130a420142ec | |
parent | 2518b2899ca62f2135adbd1fc512fe34e9ef6b93 [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