Your message dated Tue, 29 Jun 2010 23:28:08 +0200
with message-id <[email protected]>
and subject line Re: [Python-modules-team] Bug#554425: infinite loop on
corrupted file
has caused the Debian Bug report #554425,
regarding infinite loop on corrupted file
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
554425: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554425
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-numpy
Version : 1:1.1.0-3+lenny1
When using "numpy.fromfile" on a corrupted file, numpy runs
into an infinite loop with memory lack.
$ dpkg -s libc6 | grep ^Version
Version: 2.7-18
$ uname -r
2.6.29-2-amd64
$ cat corrupted.txt
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0,7
0,7
0.0
0.0
0.0
0.0
0.0
0.0
$ python
Python 2.5.2 (r252:60911, Jan 4 2009, 21:59:32)
[GCC 4.3.2] on linux2
>>> import numpy
>>> f = open('corrupted.txt')
>>> data = numpy.fromfile(f, dtype=float, count=-1, sep='\t')
The infinite loop can not be interrupted with "^C". One has to kill the
python process.
Note that in 'corrupted.txt' there is a '0,7' around line 10 while the
rest are only '0.0'.
This problem can not be reproduced on Version : 1:1.2.1-1.1
--
Emile Anclin <[email protected]>
http://www.logilab.fr/ http://www.logilab.org/
Informatique scientifique & et gestion de connaissances
--- End Message ---
--- Begin Message ---
Version: 1:1.2.1-1.1
Hello Emile,
thanks for your report.
On Wed, Nov 4, 2009 at 16:27, Emile Anclin <[email protected]> wrote:
> Package: python-numpy
> Version : 1:1.1.0-3+lenny1
>
> When using "numpy.fromfile" on a corrupted file, numpy runs
> into an infinite loop with memory lack.
>
>
> $ dpkg -s libc6 | grep ^Version
> Version: 2.7-18
>
> $ uname -r
> 2.6.29-2-amd64
>
> $ cat corrupted.txt
> 0.0
> 0.0
> 0.0
> 0.0
> 0.0
> 0.0
> 0.0
> 0.0
> 0,7
> 0,7
> 0.0
> 0.0
> 0.0
> 0.0
> 0.0
> 0.0
>
> $ python
> Python 2.5.2 (r252:60911, Jan 4 2009, 21:59:32)
> [GCC 4.3.2] on linux2
>
>>>> import numpy
>>>> f = open('corrupted.txt')
>>>> data = numpy.fromfile(f, dtype=float, count=-1, sep='\t')
>
> The infinite loop can not be interrupted with "^C". One has to kill the
> python process.
>
> Note that in 'corrupted.txt' there is a '0,7' around line 10 while the
> rest are only '0.0'.
>
> This problem can not be reproduced on Version : 1:1.2.1-1.1
The bug is indeed no more present in the version of numpy in
testing/unstable. Even if I acknowledge the presence of this bug in
stable, there is no update pending (nor planned) for numpy in stable,
so I'm simply marking this bug as closed in the version you've
specified.
It you really need an updated version, you can try to get numpy from
testing, or alternatively, ask for a backport (for example dropping an
email to [email protected]) .
Reagrds,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team