Skip Menu |

This queue is for tickets about the Crypt-DH CPAN distribution.

Report information
The Basics
Id: 57897
Status: open
Priority: 0/
Queue: Crypt-DH

People
Owner: Nobody in particular
Requestors: vacuus.spurcamen [...] idnetfreemail.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Install hangs/maxes out CPU during make (section 18 of 21)
Date: Thu, 27 May 2010 10:22:32 +0100
To: bug-Crypt-DH [...] rt.cpan.org
From: Vaccus Spurcamen <vacuus.spurcamen [...] idnetfreemail.co.uk>
OS: Ubuntu 9.10 perl, v5.10.0 built for i486-linux-gnu-thread-multi Linux 2.6.31-20-generic-pae #58-Ubuntu SMP Fri Mar 12 06:25:51 UTC 2010 i686 GNU/Linux Install hangs/maxes out CPU during make (section 18 of 21). COMPLAINS: Math::BigInt: couldn't load specified math lib(s) BUT MAKEFILE REPORTS: Math::BigInt ...loaded. (1.89 >= 1.60) STEPS TO RECREATE: perl Makefile.PL *** ExtUtils::AutoInstall version 0.56 *** Checking for dependencies... [Core Features] - Math::BigInt ...loaded. (1.89 >= 1.60) *** ExtUtils::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for Crypt::DH make cp lib/Crypt/DH.pm blib/lib/Crypt/DH.pm Manifying blib/man3/Crypt::DH.3pm root@piggy:/usr/local/src/Crypt-DH-0.06# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-compile.t t/01-dh.t t/00-compile....Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::FastCalc at /usr/local/src/Crypt-DH-0.06/blib/lib/Crypt/DH.pm line 6 t/00-compile....ok t/01-dh.........Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::FastCalc at /usr/local/src/Crypt-DH-0.06/blib/lib/Crypt/DH.pm line 6 t/01-dh.........ok 18/21 {HANGS}
From: Kristofer.Wempa [...] sig.com
On Thu May 27 05:22:56 2010, vacuus.spurcamen@idnetfreemail.co.uk wrote: Show quoted text
> root@piggy:/usr/local/src/Crypt-DH-0.06# make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-compile.t > t/01-dh.t > t/00-compile....Math::BigInt: couldn't load specified math lib(s), > fallback to Math::BigInt::FastCalc > at /usr/local/src/Crypt-DH-0.06/blib/lib/Crypt/DH.pm line 6 > t/00-compile....ok > t/01-dh.........Math::BigInt: couldn't load specified math lib(s), > fallback to Math::BigInt::FastCalc > at /usr/local/src/Crypt-DH-0.06/blib/lib/Crypt/DH.pm line 6 > t/01-dh.........ok 18/21 > {HANGS} > >
I'm seeing this on Windows as well. I let it run for about 10 minutes before killing it. The last 3 tests run on the largest value of "p". I skipped these tests by modifying the 01-dh.t and removing the last entry from the @pgs and also adjusting the planned tests down by changing this line: Test::More->import( tests => 18 + ($has_pari ? 3 : 0)); to this: Test::More->import( tests => 15 + ($has_pari ? 3 : 0)); The first 3 keys are 256 hex characters and the last entry is over 1000 hex characters. I assume that generating such a long key pair is very CPU intensive.
From: Kristofer.Wempa [...] sig.com
On Tue Aug 16 14:27:14 2011, kowrip wrote: Show quoted text
> hex characters. I assume that generating such a long key pair is very > CPU intensive.
I just tried this again on a more powerful quad core CPU and all 21 tests passed every about 15 minutes. So, I guess it's just a matter of processing time.