Debugging osx lockups on travis
diff --git a/src/emit.c b/src/emit.c
index 74f7067..14c6ed0 100644
--- a/src/emit.c
+++ b/src/emit.c
@@ -34,10 +34,10 @@
 	uint32_t	s1;
 	uint32_t	s2;
 	char           *p;
-	if (!shm.buf || !opts[c])
-		return;
 	fprintf(stderr, "op %c %s %s\n", c, p1? p1 : "none", p2? p2 : "none");
 	fflush(stderr);
+	if (!shm.buf || !opts[c])
+		return;
 	s1 = strlen(p1);
 	sz = s1 + 3;
 	if (p2) {
diff --git a/src/unix/fsatraceso.c b/src/unix/fsatraceso.c
index 7f29fff..aca6d20 100644
--- a/src/unix/fsatraceso.c
+++ b/src/unix/fsatraceso.c
@@ -79,6 +79,10 @@
 	D;
 	if (-1 != fcntl(fd, F_GETPATH, ap))
 		emitOp(c, ap, 0);
+	else {
+		fprintf(stderr, "fdemit %c %d err %d\n", c, fd, errno);
+		fflush(stderr);
+	}
 #else
 	ssize_t		ret;
 	char		fdpath    [100];