From nobody Wed Sep 07 21:58:06 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MNGMy4xcNz4cDjj for ; Wed, 7 Sep 2022 21:58:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MNGMy2pPwz3TYR for ; Wed, 7 Sep 2022 21:58:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MNGMy1rVZzgHC for ; Wed, 7 Sep 2022 21:58:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 287Lw6NA094135 for ; Wed, 7 Sep 2022 21:58:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 287Lw6Hf094134 for bugs@FreeBSD.org; Wed, 7 Sep 2022 21:58:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266284] tests/usr.bin/tail/tail:follow_stdin is flaky Date: Wed, 07 Sep 2022 21:58:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662587886; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o4s/xHpRKZM1wEGYRL7+W9eRnadduevXqAvgnALaPG8=; b=LScvEc03v8nFmmgHMHetqGpqDesrgCs2WgAQqu1c9JokyimBuD/YYdabjK0zl0KqPesxOj EB/BmIOPv3weAXPVM4+4qMa/ah9UDDOE9r7BBdsZxyFS6Hqnw/umJPhO+bM3R5g9XND8wg vnzB5rT1vsFreY/a42QiXJYm0/WYnSVt/0DzmV4z4jBNEuPn6iU+Z95svKF7kUjTaZqyAp m64tHlfOKOUYAqDrrCSF072YaqNHotsFC+Ch1nrvEpcXHmEBeMTy6IISCvUeaYqaXQEbfX FlkuD35RY8W3iG04Dutc2LU/sT5yirSj1GC5n6qGmYKM439Zcz6VQE21+8/S9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662587886; a=rsa-sha256; cv=none; b=BPNLzRQttT3TnK3vgrvjg/n3EVn7hmDQi5YpSCbSSCe69liTtYtWY5EghM0xGIo/mPJf9/ SGcZKCE4OAA14Tj6jghLWcfophmiVeH2vPa0QixjtKzVezqkmVQwFwinaQxTbYbgTw7Opb XBvapq/K8RkiEpPWa2qQuzbQipE+nEM1yRH6Nqft+on5r0Wt96hIvib8bzhmLnJrOExghS SMxoSrOSayl1qQlhBEScKA2G52ElTQMTcacLbIHQN+gC5Iqn/YDm3Yu5tqCBSStSKLV3Pc pkGF7aFDHLNJlp6jm7/JsOAAcxOkqeOEIGG7xr7dXuglfF87WAjOWKzcrex/sQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266284 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 w= hen the test fails, so it appears to be a real bug. The crash doesn't happen w= hen ASLR is disabled. Program terminated with signal SIGBUS, Bus error. Object-specific hardware error. #0 rlines (fp=3D0x1d9c41e5d630, fn=3D0x1d941c249630 "stdin", off=3D10, sbp=3D0x1d9c3d0a89b8) 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=3D0x1d9c41e5d630, fn=3D0x1d941c249630 "stdin", off=3D10, sbp=3D0x1d9c3d0a89b8) at /root/freebsd/usr.bin/tail/forward.c:219 #1 forward (fp=3D0x1d9c41e5d630, fn=3D0x1d941c249630 "stdin", style=3Dstyle@entry=3DRLINES, off=3Doff@entry=3D10, sbp=3Dsbp@entry=3D0x1d9= c3d0a89b8) at /root/freebsd/usr.bin/tail/forward.c:167 #2 0x00001d941c24b5c9 in follow (files=3Dfiles@entry=3D0x1d9c3d0a89a8, style=3D1149239296, off=3D2564102) at /root/freebsd/usr.bin/tail/forward.c:= 330 #3 0x00001d941c24d632 in main (argc=3D0, argv=3D) 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 --=20 You are receiving this mail because: You are the assignee for the bug.=