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/executor_bsd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/executor_bsd.h') diff --git a/executor/executor_bsd.h b/executor/executor_bsd.h index fa31099fe..8ef8186f8 100644 --- a/executor/executor_bsd.h +++ b/executor/executor_bsd.h @@ -61,7 +61,7 @@ static void cover_open(cover_t* cov, bool extra) if (fd == -1) fail("open of /dev/kcov failed"); if (dup2(fd, cov->fd) < 0) - fail("failed to dup2(%d, %d) cover fd", fd, cov->fd); + failmsg("failed to dup cover fd", "from=%d, to=%d", fd, cov->fd); close(fd); #if GOOS_freebsd -- cgit mrf-deployment