svm seg faults (PR#1901)

Stefan Böhringer stefan.boehringer@ruhr-uni-bochum.de
15 Aug 2002 13:26:06 +0200


Thank you for the hint.
I rebuild gcc and R from scratch and now it works. Here's how on RH7.3,
which might help others:

configured gcc with: --enable-languages=c,c++,objc,f77
--program-suffix=3 --prefix=/usr

in config.site for R the following variables are then set:
CC=gcc3
F77=f773
CXX=g++3
LDFLAGS=-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1
-L/usr/lib/gcc-lib/i686-pc-linux-gnu

Thank you very much again.

Best wishes,

	Stefan

On Tue, 2002-08-13 at 14:43, ripley@stats.ox.ac.uk wrote:
> Which compiler is this?
> 
> I have no problems with svm() on RH7.2 compiling with either gcc 3.1 or
> gcc 2.95.3: Red Hat make a habit of supplying unreleased (and buggy)
> versions of gcc. I think this is particularly critical when C/C++ mixtures
> are used (as in svm).
> 
> PR#1178 is another non-reproducible segfault in svm on Linux.
> 
> On Tue, 13 Aug 2002 stefan.boehringer+science@uni-bochum.de wrote:
> 
> > Full_Name: Stefan Böhringer
> > Version: 1.5.1
> > OS: Linux RH 7.3
> > Submission from: (NULL) (132.252.142.137)
> >
> >
> > using the svm function from the e1071 library. R crashes with the very example
> > from the help page or any other input.
> > In gdb the crash appears to occur in Cache::lru_delete at smv.cpp:93
> 
> -- 
> Brian D. Ripley,                  ripley@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 272860 (secr)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> 
> 
-- 
Stefan Böhringer                                Tel. +49 201 723 4681
University Clinics Essen                        Fax. +49 201 723 5900
Hufelandstr. 55                        stefan.boehringer@uni-essen.de
45122 Essen, Germany  http://homepage.uni-bochum.de/stefan.boehringer

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._