[Rd] Double free or memory corruption problem (PR#9125)

ripley at stats.ox.ac.uk ripley at stats.ox.ac.uk
Fri Aug 4 20:36:52 CEST 2006


On Fri, 4 Aug 2006, clwang at yahoo-inc.com wrote:

> Full_Name: Clem Wang
> Version: 1.14 (v2129)

There is no such version of R.

> OS: Mac OS X 10.3.9
> Submission from: (NULL) (216.145.49.15)
> 
> 
> I did a bunch of boxplots with commands like:
> # the class is in column 1
> par(mfrow=c(8,6))
> for(i in 2:length(s.df)){
> boxplot(split(log(s.df[i]+1),
> s.df$CLASS),ylab="CLASS"),xlab=names(s.df[i]),horizontal=T);
> }
> 
> the dataframe contains about 50,000 rows, 50 columns.  the Class (in column 1)
> has two values: 0 and 1 
> 
> The I switch to other applications (Firefox, terminal) and left my computer on
> over night.  When I returned to R, i discovered a number of err msgs for a
> number of different addresses:
> 
> "Deallocation of a pointer no malloced: (some address); This could be a double
> free(), or free() called with the middle of an allocataed block; Try setting
> environment variable MallocHelp to see tools to help debug"
> 
> The redrawing of my windows became VERY slow and eventually I crashed (see
> below.)
> 
> I will try to reproduce this, but I'm not sure that I can.  (I reporting this
> now so I don't lose the Apple Crash Report.)

We do ask you for a reproducible example.  Please provide one!
(We cannot debug your machine for you, unfortunately.)

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list