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: [email protected]
          Reporter: [email protected]
 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.

Reply via email to