[R] seg fault with mclust

Andy Jacobson andyj at splash.princeton.edu
Wed Oct 31 19:06:10 CET 2001


        I'm experiencing a segmentation fault when trying to load
        mclust.so from mclust-1.1-4.  I'm using R-1.3.1 on RedHat 6.2,
        and `gcc --version` reports "egcs-2.91.66".

        Any ideas?


Package install:

        > install.packages("mclust")

        [stuff omitted]

        Installing source package `mclust' ...
        g77   -fPIC  -g -O2 -c blapack.f -o blapack.o
        g77   -fPIC  -g -O2 -c mclust.f -o mclust.o
        gcc -shared  -o mclust.so blapack.o mclust.o  -L/usr/local/lib -lg2c -lm -L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -L/usr/i386-redhat-linux/lib -lm 

        [stuff omitted]

         DONE (mclust)

        DONE (INSTALL)

        Delete downloaded files (y/N)? y

        Warning message: 
        argument `lib' is missing: using /home/splash/andyj/lib/R in: install.packages("mclust") 
        > library("mclust")
        Segmentation fault (core dumped)

"Verbose" session showing dyn.load seg fault:
        ~> R --verbose

        R : Copyright 2001, The R Development Core Team
        Version 1.3.1  (2001-08-31)

        R is free software and comes with ABSOLUTELY NO WARRANTY.
        You are welcome to redistribute it under certain conditions.
        Type `license()' or `licence()' for distribution details.

        R is a collaborative project with many contributors.
        Type `contributors()' for more information.

        Type `demo()' for some demos, `help()' for on-line help, or
        `help.start()' for a HTML browser interface to help.
        Type `q()' to quit R.

        [Previously saved workspace restored]

        lnow dyn.load(/usr/local/lib/R/library/ctest/libs/ctest.so)..
        i >R_ReplConsole(): before "for(;;)" {main.c}
        > library(mclust)
        Garbage collection 1 = 0+0+1 (level 2) ... 
        135144 cons cells free (33%)
        5.7 Mbytes of heap free (94%)
        now dyn.load(/home/splash/andyj/lib/R/mclust/libs/mclust.so)..
        Segmentation fault (core dumped)

Andy Jacobson

andyj at splash.princeton.edu     

Program in Atmospheric and Oceanic Sciences
Sayre Hall, Forrestal Campus
Princeton University
PO Box CN710 Princeton, NJ 08544-0710 USA

Tel: 609/258-5260  Fax: 609/258-2850
r-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list