bug-gmp
[Top][All Lists]
Advanced

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

Re: segfault in gmp p-1 factorer


From: Kevin Ryde
Subject: Re: segfault in gmp p-1 factorer
Date: 11 May 2001 07:46:48 +1000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5

Alexander Kruppa <address@hidden> writes:
> 
> I've written a simple P-1 factorer called gpm1. When I try to factor a
> large number on a K6-3 450Mhz, the program segfaults. The segfault
> occurs in mpn_sqr_basecase. The program runs fine on a P-II 400 Mhz, and
> it runs fine for smaller numbers.

Perhaps you're running out of stack space.  gmp uses the stack for
some temporaries, you can configure with --disable-alloca to stop it
doing that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]