Bug#463385: libmath-numbercruncher-perl: Some methods hanging after a	while
    Gilles Sadowski 
    gilles.sadowski at ulb.ac.be
       
    Thu Jan 31 09:45:16 UTC 2008
    
    
  
Package: libmath-numbercruncher-perl
Version: 5.00-7
Severity: important
Hi.
(1)
First, there is a bug at line 159:
  for ( $i = 0 ; $i <= @$a_ref ; $i++ ) {
                   ^^^^
                 should be: '<'
(2)
Then (less easy to find out what is going on) some methods apparently hang
when used repeatedly (i.e. in a loop): the program continue running but
doesn't do anything useful (but doesn't seem to consume more more and more
memory).  It happens (at least) with 'Distance' and 'StandardDeviation'.
After noticing the problem, I changed the code to call my own version of
these functions, and the program ran to completion.
Best,
Gilles
-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libmath-numbercruncher-perl depends on:
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction 
ii  perl-modules [libmath-bigint- 5.8.8-12   Core Perl modules
libmath-numbercruncher-perl recommends no packages.
-- no debconf information
    
    
More information about the pkg-perl-maintainers
mailing list