Bill Allombert on Fri, 03 Jul 2009 17:54:39 +0200


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

Re: Some bugs?


On Fri, Jul 03, 2009 at 04:12:26PM +0100, Jason Moxham wrote:
>
>> I'll have a look at the others when I boot back to linux , I've just 
>> run the
>> test under MSVC , and now I've got a lot errors to deal with , although 
>> most look fairly trivial , ie stacksize changes
>>
>
> That was with pari-2.4.2-alpha  , I've tried the same with pari-svn and 
> get a completely different set of errors , eg
>
>
>  ***   at top-level: setrand(1);bnf=bnfinit(x^2+105)
>  ***                                ^----------------
>  *** bnfinit: bug in PARI/GP (Segmentation Fault), please report
>  ***   at top-level: for(i=1,1000,do(i))
>  ***                              ^------
>  ***   in function do: my(t=bnfisintnorm(bnf,i))
>  ***                        ^--------------------
>  *** bnfisintnorm: please apply nfinit first.
>  ***   at top-level: setrand(1);bnf=bnfinit(x^2-65)
>  ***                                ^---------------
>  *** bnfinit: bug in PARI/GP (Segmentation Fault), please report
>  ***   at top-level: for(i=1,1000,do(i-500))
>  ***                              ^----------
>  ***   in function do: my(t=bnfisintnorm(bnf,i))
>  ***                        ^--------------------
>  *** bnfisintnorm: please apply nfinit first.
>  ***   at top-level: setrand(1);bnf=bnfinit(x^5-37)
>  ***                                ^---------------
>  *** bnfinit: bug in PARI/GP (Segmentation Fault), please report
>  ***   at top-level: for(i=1,1000,do(i-500))
>  ***                              ^----------
>  ***   in function do: my(t=bnfisintnorm(bnf,i))
>  ***                        ^--------------------
>  *** bnfisintnorm: please apply nfinit first.
>  ***   at top-level: bnfisintnorm(bnfinit(x^3+5),5)
>
> It looks like all the number field functions cant be found , everything  
> compiles allright , and a lot of BASIC stuff works fine . Clearly I 
> missed something.

Looking at this excerpt, bnfinit fails with a SEGV, so all function that need
the output of bnfinit also fail.

Try to do
\g1
bnfinit(x^2+105);
and let us now what that outputs.

Cheers,
Bill.