Karim BELABAS on Wed, 2 Oct 2002 21:00:30 +0200 (MEST)


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

Re: [CVS] allocatemem cause segfault


On Wed, 2 Oct 2002, Igor Schein wrote:
> On Wed, Oct 02, 2002 at 07:47:56PM +0200, Karim BELABAS wrote:
>> On Wed, 2 Oct 2002, Bill Allombert wrote:
>>> Hello PARI/GP CVS users,
>>>
>>> I have a problem with the current CVS version:
>>> allocatemem cause the next command to SEGV
>>>
>>> parisize = 4000000, primelimit = 500000
>>> ? allocatemem
>>>   ***   Warning: doubling stack size; new stack = 8000000 (7.629 Mbytes).
>>> ? 1
>>>   ***   bug in GP (Segmentation Fault), please report
[...]
>> I had introduced this very recently while cleaning the various input methods
>> [ Btw, gp under TeXmacs has contextual completion now. Still buggy, working
>> on it ]
>>
>> I though I had fixed it a few days later. Do you confirm it's still buggy
>> after an update + compile ? If so, which platform ?
> Still there, Linux/ix86.

OK, I can reproduce it.

It's indeed the problem alluded to above [ more precisely: avma was not
restored properly after the allocatemem() longjmp() ].

Now it is gone.

    Karim.
-- 
Karim Belabas                    Tel: (+33) (0)1 69 15 57 48
Dép. de Mathematiques, Bat. 425  Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud             Email: Karim.Belabas@math.u-psud.fr
F-91405 Orsay (France)           http://www.math.u-psud.fr/~belabas/
--
PARI/GP Home Page: http://www.parigp-home.de/