From murdoch at stats.uwo.ca  Thu Sep 17 03:49:39 2009
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Wed, 16 Sep 2009 21:49:39 -0400
Subject: [Rd] 2.10.0 Under development (unstable) (2009-09-15 r49711)
 just	built segfaults on Debian Squeeze
In-Reply-To: <6b93d1830909161251w2148379bg963a66dbbb931487@mail.gmail.com>
References: <6b93d1830909161251w2148379bg963a66dbbb931487@mail.gmail.com>
Message-ID: <4AB195B3.3070702@stats.uwo.ca>

Okay, I've tracked this down, and it's a stupid error I made when trying 
to improve the error messages.  I tried to make the parser remember its 
position in a file when parsing it line by line so that it could report 
on syntax errors properly; the trouble is that when it executes one of 
those lines (like yours containing source()), it might re-enter the 
parser.  It needs to save and restore its state around that sort of call.

This will be fairly easy to fix, but I won't be able to do it until 
tomorrow.

Duncan Murdoch


On 16/09/2009 3:51 PM, Mark Kimpel wrote:
> I just downloaded R-devel and when loaded it immediately segfaults. I'm not
> sure how much or what sort of diagnostic info and can provide, but below is
> my build script, my console output, and the output of uname -r. I am
> currently dependent on the development version of a package, so I'd like to
> get R-devel up and running if possible. I am sure there is more info I can
> provide, but before deluging the list with unnecessary output, I thought I
> would ask first what would be helpfu. Mark

> #Make R
> cd ~/R_HOME
> wget ftp://ftp.stat.math.ethz.ch/Software/R/R-devel.tar.gz
> tar -xzf R-devel.tar.gz
> cd ~/R_HOME/R-devel
> mkdir R-build
> cd R-build
> ../configure --prefix=/home/mkimpel/R_HOME/R-devel/R-build
> make all
> make install
> 
> #####################################33
> # console output
> mkimpel-XPS ~/R_HOME/R-devel/R-build/bin: ./R
> 
> R version 2.10.0 Under development (unstable) (2009-09-15 r49711)
> Copyright (C) 2009 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> 
> 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.
> 
>   Natural language support but running in an English locale
> 
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
> 
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
> 
> 
>  *** caught segfault ***
> address (nil), cause 'memory not mapped'
> 
> Possible actions:
> 1: abort (with core dump, if enabled)
> 2: normal R exit
> 3: exit R without saving workspace
> 4: exit R saving workspace
> Selection: 2
> Save workspace image? [y/n/c]: n
> 
> ######################################
> # kernel version
> mkimpel-XPS ~/R_HOME/R-devel/R-build/bin: uname -r
> 2.6.30-1-amd64
> mkimpel-XPS ~/R_HOME/R-devel/R-build/bin:
> 
> 
> Mark W. Kimpel MD  ** Neuroinformatics ** Dept. of Psychiatry
> Indiana University School of Medicine
> 
> 15032 Hunter Court, Westfield, IN  46074
> 
> (317) 490-5129 Work, & Mobile & VoiceMail
> (317) 399-1219 Skype No Voicemail please
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] 2.10.0 Under development (unstable) (2009-09-15 r49711) just built segfaults on Debian Squeeze
Duncan Murdoch