On Fri, Oct 17, 2008 at 10:24:09AM +0100, Anton Ivanov wrote:

> > This sounds #448965 revisited, is the kernel returning EINVAL here?

> It actually worked with 2.6.18. 
> 
> 2.6.18 complained: media-server kernel: setitimer: processor
> .pl (pid = 2675) provided invalid timeval it_value: tv_sec = 0 tv_usec =
> 5000000

Yes, the support for invalid timeval values was deprecated in 2.6.18
and removed in 2.6.22, as it was a POSIX violation. See 

 http://rt.cpan.org/Public/Bug/Display.html?id=34655

for some details.

> I agree it is 448965 and the diff from there should probably be
> considered for as a bugfix for stable.

I'll take this up with the stable release team. The fix is as simple as
adding -Ud_ualarm to debian/config.debian. This activates the ualarm()
emulation code in ext/Time/HiRes.xs that uses setitimer() with valid
timeval values.
-- 
Niko Tyni   [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to