From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12414 invoked by alias); 5 Jan 2002 19:37:37 -0000 Mailing-List: contact gsl-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sources.redhat.com Received: (qmail 12400 invoked from network); 5 Jan 2002 19:37:36 -0000 Received: from unknown (HELO imailg1.svr.pol.co.uk) (195.92.195.179) by sources.redhat.com with SMTP; 5 Jan 2002 19:37:36 -0000 Received: from modem-24.durin.dialup.pol.co.uk ([62.136.162.24] helo=debian) by imailg1.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 16MwdI-0003va-00; Sat, 05 Jan 2002 19:37:32 +0000 Received: from bjg by debian with local (Exim 2.05 #1 (Debian)) id 16M70R-0000A8-00; Thu, 3 Jan 2002 12:29:59 +0000 From: Brian Gough MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15412.20167.538993.65505@debian> Date: Tue, 31 Dec 2002 09:55:00 -0000 To: "Dherminder Kainth" Cc: gsl-discuss@sources.redhat.com Subject: Re: sf_gamma questions In-Reply-To: References: X-Mailer: VM 6.62 under Emacs 19.34.1 X-SW-Source: 2002/txt/msg00003.txt.bz2 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12414 invoked by alias); 5 Jan 2002 19:37:37 -0000 Mailing-List: contact gsl-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sources.redhat.com Received: (qmail 12400 invoked from network); 5 Jan 2002 19:37:36 -0000 Received: from unknown (HELO imailg1.svr.pol.co.uk) (195.92.195.179) by sources.redhat.com with SMTP; 5 Jan 2002 19:37:36 -0000 Received: from modem-24.durin.dialup.pol.co.uk ([62.136.162.24] helo=debian) by imailg1.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 16MwdI-0003va-00; Sat, 05 Jan 2002 19:37:32 +0000 Received: from bjg by debian with local (Exim 2.05 #1 (Debian)) id 16M70R-0000A8-00; Thu, 3 Jan 2002 12:29:59 +0000 From: Brian Gough MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15412.20167.538993.65505@debian> Date: Sat, 05 Jan 2002 11:37:00 -0000 To: "Dherminder Kainth" Cc: gsl-discuss@sources.redhat.com Subject: Re: sf_gamma questions In-Reply-To: References: X-Mailer: VM 6.62 under Emacs 19.34.1 X-SW-Source: 2002-q1/txt/msg00003.txt.bz2 Message-ID: <20020105113700.NeZtvooAbtTMdw4bMk1Hcu-mIu-KGr5-cAMp0AoVug4@z> 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