bug-gmp
[Top][All Lists]
Advanced

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

Re: bug in mpz_init


From: Michael de Mare
Subject: Re: bug in mpz_init
Date: Mon, 02 Jun 2003 08:51:29 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225


This has been resolved. There was a memory allocation error earlier during execution.

-Mike

Torbjorn Granlund wrote:

Michael de Mare <address@hidden> writes:

 I initialize three seperate variables separately:
mpz_init(X1);
        mpz_init(X2);
        mpz_init(J);
        mpz_init(T);
after initialization, the variables all point to the same data: 4: T = {{_mp_alloc = 1, _mp_size = 0, _mp_d = 0x804b6d0}}
 3: X2 = {{_mp_alloc = 1, _mp_size = 0, _mp_d = 0x804b6d0}}
 2: X1 = {{_mp_alloc = 1, _mp_size = 0, _mp_d = 0x804b6d0}}
 1: X0 = {{_mp_alloc = 1, _mp_size = -1, _mp_d = 0x804b6e0}}
This is almost certainly a user error.

If you want to get our help rate, you first need to read the
manual again, in particular you need to reread the section
on how to report GMP bugs.







reply via email to

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