[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segment violations with mpz ints
From: |
Kevin Ryde |
Subject: |
Re: Segment violations with mpz ints |
Date: |
13 Oct 2000 09:18:09 +1000 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 |
Jesse Deutsch <address@hidden> writes:
>
> Dear Sir,
>
> I am using GMP version 3.1 and am having
> some trouble with memory. When I use GMP
> mpz_t integers in a queue, I get segment
> violations upon dequeue. This is standard
> code that I've used elsewhere with no trouble.
> When I make some changes to the queue code to
> use arbitrary length integers from my own
> small (not so sophisticated) library, there
> is no problem.
>
> I am using Linux 2.0.35 with GNU CC 2.7.2.3
> on a 133 mhz Pentium (as far as I can recall).
> What can be done? Your help and advice is
> appreciated.
> Sincerely yours, Jesse
A malloc debugger is probably the best way to approach such a problem.
If you think there's a bug in GMP please provide an example program
showing the problem.