First noticed while running (and interrupting) dpb whilst tailing logs. Sequence of events, it may be relevant that $dir is on NFS:
- mkdir $dir/a - for i in 1 2 3; do echo foo > $dir/a/$i; done - tail -f $dir/a/* - (in another window) doas rm -rf $dir #0 0x1664d4fa in tfreopen (tf=0x7f57732c) at forward.c:353 353 if (stat(ttf->fname, &sb) == -1) (gdb) bt #0 0x1664d4fa in tfreopen (tf=0x7f57732c) at forward.c:353 #1 0x1664cca8 in forward (tf=0x7f577000, nfiles=10, style=RLINES, origoff=10) at forward.c:224 #2 0x1664f098 in main (argc=10, argv=0xcf7c96f8) at tail.c:167 (gdb) frame 0 #0 0x1664d4fa in tfreopen (tf=0x7f57732c) at forward.c:353 353 if (stat(ttf->fname, &sb) == -1) (gdb) p ttf $1 = (struct tailfile *) 0x0