[Bug 266284] tests/usr.bin/tail/tail:follow_stdin is flaky
Date: Wed, 07 Sep 2022 21:58:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266284
Bug ID: 266284
Summary: tests/usr.bin/tail/tail:follow_stdin is flaky
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: markj@FreeBSD.org
This test fails occasionally in CI, also locally for me. tail(1) crashes when
the test fails, so it appears to be a real bug. The crash doesn't happen when
ASLR is disabled.
Program terminated with signal SIGBUS, Bus error.
Object-specific hardware error.
#0 rlines (fp=0x1d9c41e5d630, fn=0x1d941c249630 "stdin", off=10,
sbp=0x1d9c3d0a89b8) at /root/freebsd/usr.bin/tail/forward.c:219
219 /root/freebsd/usr.bin/tail/forward.c: No such file or directory.
(gdb) bt
#0 rlines (fp=0x1d9c41e5d630, fn=0x1d941c249630 "stdin", off=10,
sbp=0x1d9c3d0a89b8) at /root/freebsd/usr.bin/tail/forward.c:219
#1 forward (fp=0x1d9c41e5d630, fn=0x1d941c249630 "stdin",
style=style@entry=RLINES, off=off@entry=10, sbp=sbp@entry=0x1d9c3d0a89b8) at
/root/freebsd/usr.bin/tail/forward.c:167
#2 0x00001d941c24b5c9 in follow (files=files@entry=0x1d9c3d0a89a8,
style=1149239296, off=2564102) at /root/freebsd/usr.bin/tail/forward.c:330
#3 0x00001d941c24d632 in main (argc=0, argv=<optimized out>) at
/root/freebsd/usr.bin/tail/tail.c:276
"info proc map"'s output has the following suspicious-looking line:
0x1d9c44800000 0x1d9c44a73000 0x273000 0x1d9c3e400000 r-- ----
/tmp/infile
--
You are receiving this mail because:
You are the assignee for the bug.