This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: sf_gamma questions
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: "Dherminder Kainth" <dherminder_kainth at hotmail dot com>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Thu, 3 Jan 2002 12:29:59 +0000 (GMT)
- Subject: Re: sf_gamma questions
- References: <F81GvnCjnZS08i7M4BA000174d8@hotmail.com>
Dherminder Kainth writes:
> I have been using the Levin U transform routines within a C++ program and
> have been getting memory leaks - for example the program crashes
> when I attempt to deallocate the U transform workspace. A simpler
> example program written in C seems to run fine. Is there any information
> as to why this may be the case ? I can send both programs if somebody would
> like to have a look.
>
> The coding is done on a RH 7.2 Linux box.
Hi,
I recommend recompiling your program and GSL with
checkerg++/checkergcc.
That will trap any stack or malloc errors at the point where they
occur.
regards
Brian Gough