Date: Sun, 22 Feb 2026 15:18:31 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 293368] Reads from timerfd return nonsense for a while Message-ID: <bug-293368-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293368 Bug ID: 293368 Summary: Reads from timerfd return nonsense for a while Product: Base System Version: 16.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: arrowd@FreeBSD.org Attachment #268274 text/plain mime type: Created attachment 268274 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268274&action=edit Test program While debugging a bug in KDE Plasma I managed to come up with a minified example that looks strange to me. The test program creates a timer fd and arms it so that it ticks once per minute. However, right after start the program is busy-looping in the poll loop, because reads from timer fd keep returning nonsensical values. After a while the problem goes away and the poll loop starts ticking once per minute. Running the same program on Linux gives the garbage value only on first read, so no busy-looping there. The test program is attached to the bug. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293368-227>
