Bug#502435: perl: Time::HiRes alarm is broken for etchnhalf kernels

2008-10-19 Thread Niko Tyni
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 =

Bug#502435: perl: Time::HiRes alarm is broken for etchnhalf kernels

2008-10-17 Thread Anton Ivanov
> This sounds #448965 revisited, is the kernel returning EINVAL here? Just read 448965. 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 = 500 However, it still worked despi

Bug#502435: perl: Time::HiRes alarm is broken for etchnhalf kernels

2008-10-17 Thread Anton Ivanov
Indeed it does: media-server:~# strace -e setitimer perl -MTime::HiRes=alarm -e 'alarm 2; sleep 4' setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 200}}, 0xbfd3fff8) = -1 EINVAL (Invalid argument) Process 2743 detached media-server:~# On Fri, 2008-10-17 at 09:57 +0300, Nik

Bug#502435: perl: Time::HiRes alarm is broken for etchnhalf kernels

2008-10-17 Thread Niko Tyni
On Thu, Oct 16, 2008 at 01:56:54PM +0100, Anton Ivanov wrote: > Package: perl > Version: 5.8.8-7etch3 > Severity: important > > Time::HiRes alarm implementation which is used by quite a few bits and > pieces written in perl is completely broken on etchnhalf kernels. Any > alarms set this way are n

Bug#502435: perl: Time::HiRes alarm is broken for etchnhalf kernels

2008-10-16 Thread Anton Ivanov
Package: perl Version: 5.8.8-7etch3 Severity: important Time::HiRes alarm implementation which is used by quite a few bits and pieces written in perl is completely broken on etchnhalf kernels. Any alarms set this way are never triggered. -- System Information: Debian Release: 4.0 APT prefers s