octave-3.0.3 crashes while executing 'expfit' ("free(): invalid pointer")

Sergei Steshenko sergstesh at yahoo.com
Thu Dec 25 10:48:22 CST 2008




--- On Thu, 12/25/08, Thomas Weber <thomas.weber.mail at gmail.com> wrote:

> From: Thomas Weber <thomas.weber.mail at gmail.com>
> Subject: Re: octave-3.0.3 crashes while executing 'expfit' ("free(): invalid pointer")
> To: "Sergei Steshenko" <sergstesh at yahoo.com>
> Cc: "John W. Eaton" <jwe at octave.org>, bug-octave at octave.org
> Date: Thursday, December 25, 2008, 8:12 AM
> On Wed, Dec 24, 2008 at 05:28:22PM -0800, Sergei Steshenko
> wrote:
> > My wild guess there is 'new'/'malloc'
> somewhere which doesn't check pointer
> > for NULL; on a 64 bits system memory allocation error
> is less likely than
> > on a 32 bits system.
> > 
> > The wild guess is based on the fact that peak memory
> consumption is about
> > 2G.
> 
> What's your system's memory configuration (ie, how
> much)? RAM and Swap,
> please.
> 
> Thanks
> 	Thomas

2G of RAM + 4G of swap:

"
 free
             total       used       free     shared    buffers     cached
Mem:       2011252    1956224      55028          0     245552     556464
-/+ buffers/cache:    1154208     857044
Swap:      4200956        508    4200448
".

Thanks,
  Sergei.


      


More information about the Bug-octave mailing list