[XML-SIG] Re: Floating exception on alpha machine

Jens Jorgen Mortensen jensj@fysik.dtu.dk
Wed, 14 May 2003 11:10:26 +0200


Jens Jorgen Mortensen:
> Hi,
>
> I am trying to install PyXML-0.8.2 on an alpha.  After doing a build an=
d an
> install, I try to import xml.xpath.  The result is:
>
> Python 2.2.1 (#1, Jun  4 2002, 15:33:18) [C] on osf1V4
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import xml.xpath
> Floating exception (core dumped)

I have found that the core dump comes from line 20 in=20
PyXML-0.8.2/xml/xpath/__init__.py.  It goes like this:

Python 2.2.1 (#1, Jun  4 2002, 15:33:18) [C] on osf1V4
Type "help", "copyright", "credits" or "license" for more information.
>>> Inf =3D Inf =3D 1e300 * 1e300
Floating exception (core dumped)

A very simple way to crash the python interpreter!!  Does anybody know wh=
at to=20
do about it?  How should Inf be defined?

Regards,
Jens J=F8rgen