[PD-dev] [ pure-data-Bugs-1841758 ] setitimer invalid timeval
SourceForge.net
noreply at sourceforge.net
Mon Jan 14 19:30:35 CET 2008
Bugs item #1841758, was opened at 2007-11-30 06:49
Message generated for change (Comment added) made by millerpuckette
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1841758&group_id=55736
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
Status: Open
Resolution: Fixed
Priority: 5
Private: No
Submitted By: ClaudiusMaximus (claudiusmaximus)
Assigned to: Nobody/Anonymous (nobody)
Summary: setitimer invalid timeval
Initial Comment:
Pd's scheduler seems to have a bug regarding setitimer, which leads to messages in the system log:
setitimer: pd (pid = 3401) provided invalid timeval it_value: tv_sec = 0 tv_usec = 1000000
(with a clock delaytime of 1000ms)
man setitimer says:
----8<----
POSIX.1-2001 says that setitimer() should fail if a tv_usec value is specified that is outside of the range 0 to 999999. However, Linux does not give an error, but instead silently adjusts the corresponding seconds value for the timer. In the future (scheduled for March 2007), this non-conformance will be repaired: existing applications should be fixed now to ensure that they supply a properly formed tv_usec value.
----8<----
This is with pd-0.40-3 from Miller's site, on GNU/Linux Debian Etch, but I've noticed this issue on various other Linux distros.
----------------------------------------------------------------------
>Comment By: Miller Puckette (millerpuckette)
Date: 2008-01-14 10:30
Message:
Logged In: YES
user_id=313747
Originator: NO
taken
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2008-01-02 04:43
Message:
Logged In: YES
user_id=564396
Originator: NO
i have submitted a fix for this as patch#1862148
https://sourceforge.net/tracker/index.php?func=detail&aid=1862148&group_id=55736&atid=478072
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1841758&group_id=55736
More information about the Pd-dev
mailing list