[R] hclust-segmentation fault

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Aug 9 17:51:05 CEST 2004


On Mon, 9 Aug 2004, Medvedovic, Mario (medvedm) wrote:

> Well, the use of debugger will take some time, but here is a simple code
> that invariably causes the fault. 
> Mario.
> 
> indata<-matrix(rnorm(1000,0,1),ncol=10)
> ed<-dist(indata)
> hc.e<-hclust(ed,"average")

Works fine on R 1.9.1 on our dual Opteron 248 under FC2.

We know of some pertinent compiler bugs on x86_64, so is this gcc 3.3.3 
or later?

> >-----Original Message-----
> >From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
> >Sent: Monday, August 09, 2004 11:14 AM
> >To: Medvedovic, Mario (medvedm)
> >Cc: 'r-help at stat.math.ethz.ch'
> >Subject: Re: [R] hclust-segmentation fault
> >
> >
> >On Mon, 9 Aug 2004, Medvedovic, Mario (medvedm) wrote:
> >
> >> I am getting the "Segmentation fault" when using hclust in 
> >R-1.9.1 running
> >> under SuSe 9.0 64-bit kernel on a dual opteron system with 
> >8G of RAM. 
> >> I was wandering if anybody could offer any insight?
> >
> >Please try to use the debugger to supply more information, or 
> >give us some 
> >code we can reproduce on a similar system to see if we can 
> >reproduce the 
> >segfault.
> >
> >-- 
> >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
> >
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 
> 

-- 
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-help mailing list