Jason Moxham on Tue, 07 Jul 2009 02:32:32 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Re: Some bugs?


It's just the file language/eval.c , compiling just that with no optimizations fixes the ffison and nffactor test program errors. So test program status of MSVC32 is now the same as CYGWIN32STATIC, I havent tested the Pari optional packages and I've not done a dynamic MSVC pari (no graphics in MSVC version either). I'll make up Omsvc directory (like Odos) for possible inclusion into PARI -SVN

I'll see how many tests the 64bit MSVC version passes ?

Jason

----- Original Message ----- From: "Jason Moxham" <jason@njkfrudils.plus.com>
To: <pari-dev@list.cr.yp.to>
Sent: Tuesday, July 07, 2009 12:33 AM
Subject: Re: Re: Some bugs?


The error disappears if I compile everything without optimization , so I can perhaps pin it down to a more specific bit of code.

----- Original Message ----- From: "Bill Allombert" <Bill.Allombert@math.u-bordeaux1.fr>
To: <pari-dev@list.cr.yp.to>
Sent: Monday, July 06, 2009 5:51 PM
Subject: Re: Re: Some bugs?


On Sun, Jul 05, 2009 at 03:23:14PM +0100, Jason Moxham wrote:
On Sat, Jul 04, 2009 at 09:32:14PM +0100, Jason Moxham wrote:
On Sat, Jul 04, 2009 at 08:31:40PM +0100, Jason Moxham wrote:
this fixes polred,rnf,rnfkummer  tests for Win32 MSVC

Good!

Bill.

[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
 ***   at top-level: ...Mod(1,10007)*(x^30+9557*x^29+7812*x^28+7090*x
 ***                                             ^--------------------
 *** _^s: degree overflow in pow_monome.

This is very wrong: x^29 is absolutly safe. There are some corruption
going on.

Does this command work ?
{
factorff(x^30 + 7812*x^28 + 7090*x^27 + 7645*x^26 + 4110*x^25 +
3307*x^24 +
5763*x^23 + 7900*x^22 + 3872*x^21 + 8123*x^20 + 4076*x^19 + 3265*x^18 +
3777*x^17 + 3398*x^16 + 5674*x^15 + 4018*x^14 + 6820*x^13 + 6479*x^12 +
984*x^11 + 5652*x^10 + 1129*x^9 + 7573*x^8 + 1822*x^7 + 837*x^6 +
4169*x^5 +
4787*x^4 + 1616*x^3 + 5185*x^2 + 2649*x + 1483, 10007, a^30 + a + 2)
}

Bill.

-------------------------------------------------------

yes it works , or at least doesn't crash , output is

The output is correct.
So this suggest the corruption happens before the command, maybe even
in the interpretor itself.

Cheers,
Bill