From a659b3f1dc889d5ab5ead017b877765b3d042379 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 21 Feb 2021 12:32:11 +0100 Subject: pkg/report: detect executor failures Currently all executor fail errors go into "lost connection" bucket. This is not very useful. First, there are different executor failures. Second, it's not possible to understand what failures happen how frequently. Third, there are not authentic lost connection. Create separate SYZFAIL: bugs for them. Update #573 Update #502 Update #318 --- executor/common_fuchsia.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'executor/common_fuchsia.h') diff --git a/executor/common_fuchsia.h b/executor/common_fuchsia.h index 6576e83f0..607518178 100644 --- a/executor/common_fuchsia.h +++ b/executor/common_fuchsia.h @@ -119,7 +119,8 @@ static void install_segv_handler(void) zx_status_t status; zx_handle_t exception_channel; if ((status = zx_task_create_exception_channel(zx_process_self(), 0, &exception_channel)) != ZX_OK) - fail("zx_task_create_exception_channel failed: %s (%d)", zx_status_get_string(status), status); + failmsg("zx_task_create_exception_channel failed", + "status=%s (%d)", zx_status_get_string(status), status); pthread_t th; if (pthread_create(&th, 0, ex_handler, (void*)(long)exception_channel)) fail("pthread_create failed"); -- cgit mrf-deployment