Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111009101055.GA1394@albatros>
Date: Sun, 9 Oct 2011 14:10:55 +0400
From: Vasiliy Kulikov <segoon@...nwall.com>
To: owl-dev@...ts.openwall.com
Subject: Re: perl: Benchmark.t loops infinitely catting times(2)

Solar, all -

On Sun, Oct 09, 2011 at 13:43 +0400, Vasiliy Kulikov wrote:
> Hi,
> 
> I got a problem with compiling perl under gcc 4.6.1.  On x86_64 system
> Benchmark.t test 'perl' process loops forever.  strace -p show:
> 
> ...
> times({tms_utime=578, tms_stime=37407, tms_cutime=0, tms_cstime=0}) = 383961800
> times({tms_utime=578, tms_stime=37407, tms_cutime=0, tms_cstime=0}) = 383961800
> times({tms_utime=578, tms_stime=37407, tms_cutime=0, tms_cstime=0}) = 383961800
> times({tms_utime=578, tms_stime=37407, tms_cutime=0, tms_cstime=0}) = 383961801
> times({tms_utime=578, tms_stime=37407, tms_cutime=0, tms_cstime=0}) = 383961801
> times({tms_utime=578, tms_stime=37407, tms_cutime=0, tms_cstime=0}) = 383961801
> times({tms_utime=578, tms_stime=37407, tms_cutime=0, tms_cstime=0}) = 383961801
> times({tms_utime=578, tms_stime=37407, tms_cutime=0, tms_cstime=0}) = 383961801
> ...
> 
> On i386 the test is passed in reasonable amount of time.  I've found a
> similar problem:
> 
> http://www.nntp.perl.org/group/perl.perl5.porters/2002/12/msg70207.html


Also:

http://marc.info/?l=colinux-devel&m=108540419326590

http://cpansearch.perl.org/src/JESSE/perl-5.12.0/hints/qnx.sh

http://code.activestate.com/lists/perl5-porters/155866/


According to the gentoo bugzilla:

https://bugs.gentoo.org/61098

This bug is a result of a deficiency of Colinux 0.61. It has something
to do with the resolution of high performance timers and/or the failure
of the make tests for Time::Hires.  The current workarounds are:

[...]

3. Edit the ebuild to not run the "emake test". 
4. While experiencing the phenomenon of the no-progress compile, use
"top" to check the process "perl" that should be taking 99% CPU time.
Kill (kill -s TERM) that process and the emerge should finish.


FWIW, perl doesn't pass all tests inside of VirtualBox because of
similar timing issues.


Are we going to upgrade perl soon?  If yes, we may temporary disable
this test and reenable it after the upgrade.

-- 
Vasiliy Kulikov
http://www.openwall.com - bringing security into open computing environments

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.