bug-gmp
[Top][All Lists]
Advanced

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

Re: Segfault


From: David Burley
Subject: Re: Segfault
Date: Thu, 19 Oct 2000 10:26:43 -0400

Apologies for wasting your time. I won't be making that mistake again. I
had another pair of eyes look at my code and they didn't pick it out so
made what can usually be a safe assumption which is that your code is
correct.... guess that didn't happen this time. At any rate thank you for
the wonderful library which is saving me much time.

Lesson Learned: mpz_init variables before using them!

Regards,
David Burley
address@hidden

On 19 Oct 2000, Torbjorn Granlund wrote:
> Date: 19 Oct 2000 14:33:41 +0200
> To: address@hidden
> From: Torbjorn Granlund <address@hidden>
> CC: address@hidden
> Sender: address@hidden
> Subject: Re: Segfault
> 
> David Burley <address@hidden> writes:
> 
>   I am receiving a segmentation fault in my program. The function along
> with
>   a main function to reproduce the issue can be found here:
>   http://khemicals.org/fail.cpp
>   
>   At any rate I have tried different versions of GMP (3.1, 3.0 and 2.0.2)
> all
>   with the same error. The output from a gdb backtrace (using GMP 3.1)
>   follows:
> 
> This is not a GMP bug.  If you run gdb on your program, and
> single-step until the crash happens, you should be able to spot your
> bug quickly.
> 
> -- 
> Torbjörn
> 



reply via email to

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