Karim BELABAS on Wed, 03 Dec 2003 10:56:04 +0100


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

Re: bug?


On Tue, 25 Nov 2003, Ilya Zakharevich wrote:
> On Tue, Nov 25, 2003 at 11:18:37AM +0100, Karim BELABAS wrote:
> > > When I try to factor
> > > 103842159916926272066458982346832814122533748701973 in PARI-GP I get
> > > the message
> > >
> > > "bug in GP (segmentation fault). please report"
> >
> > We would need more information about your configuration, and the version
> > of GP you are using.
>
> I have the same error (after a couple of minutes) in 2.2.0 on OS/2. It is
> not caught by the signal handler, BTW (forgot to look at the exception
> number; might have been stack overflow.  Wait, OS/2 keeps the log for me;
> it was SYS3171:
>
> EXPLANATION: The process was terminated without running exception handlers
> because there was not enough room left on the stack to dispatch the
> exception.  This is typically caused by exceptions occurring in exception
> handlers.

The problem was the same one as in

  http://pari.math.u-bordeaux.fr/archives/pari-dev-0305/msg00040.html

It was cured by upgrading to the newer Pari.exe binary compiled using gcc-3.3
(available from the download page at http://pari.math.u-bordeaux.fr).

It would be interesting to know whether the problem still occurs in your
configuration and current CVS ( and current/stable gcc ? ).

Cheers,

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dép. de Mathématiques, Bât. 425   Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://pari.math.u-bordeaux.fr/  [PARI/GP]