From a9ae8c060f5050da8f5b5a830ab5be54bfb600fa Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 30 May 2020 22:46:34 +0200 Subject: Add todo about different (bad) behaviour under valgrind MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- sctrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sctrace.c b/sctrace.c index 34bd3ac..0ab561c 100644 --- a/sctrace.c +++ b/sctrace.c @@ -140,6 +140,7 @@ main(int argc, char **argv) } /* exec will block until parent attaches */ execvp(*argv, &argv[with_argv0]); + /* TODO on failure, why does it get into a SIGSEGV loop under valgrind? */ eprintf("execvp %s:", *argv); default: orig_pid = pid; -- cgit v1.2.3-70-g09d2