bug-gmp
[Top][All Lists]
Advanced

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

Re: gmp 4.1.2 on Solaris


From: Kevin Ryde
Subject: Re: gmp 4.1.2 on Solaris
Date: Mon, 24 Mar 2003 09:59:02 +1000
User-agent: Gnus/5.090017 (Oort Gnus v0.17) Emacs/21.2 (gnu/linux)

Clemente Galdi <address@hidden> writes:
>
> Notice that it actually seems a "stack" problem... since in 
> "selectors.c:60" there is no call to gmp... but a call to a 
> function that calls a function that calls mpz_init...

Perhaps those have disappeared through tail calls or something, or
just hidden from the debugger.

> that generates the 
> segmentation fault. (between the first call and the call to mpz_init there 
> are only variables declarations and "if" !).

If that's the first mpz_init done by the program, then presumably
something bad has happened on the way there.

>  The program crash either on an mpz_init or on a mpz_mul 
> (depending only on the "enable-alloca" parameters used for building the
> library).

You might like to try --enable-alloca=debug and --enable-assert
together with a malloc debugger, if you think the heap has been
corrupted.  I'm not sure what's available for solaris, there's some
possibilities mentioned in the "Debugging" node in the manual.

-- 
All followups to address@hidden please.




reply via email to

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