[Rd] Rcurl crash in R-devel
Gabriel Becker
gmbecker at ucdavis.edu
Fri Feb 6 23:07:45 CET 2015
This behavior didn't replicate for me on Linux (Ubuntu 14.04) with a
freshly updated and built R-devel.
~G
On Fri, Feb 6, 2015 at 12:14 PM, Marc Girondot <marc_grt at yahoo.fr> wrote:
> Update taking into account the answer of Prof Ripley.
> ___________________________________________________
>
> Below is a reproducing example that produces the crash.
> If I do exactly the same in R 3.1.2, it works perfectly.
>
> I have the lastest libcurl library (curl @7.40.0) installed
>
> So, perhaps indeed that the problem originates from RCurl, but the
> problem appears only in R 3.2.
>
> But before to check more carefully, I would like to know if others have
> also a problem using the same configuration : MacOS X 10.10.2 and R 3.2
> or if it is only for me ?
>
> Sincerely,
>
> Marc
>
> Reproducible example:
> R Under development (unstable) (2015-02-05 r67741) -- "Unsuffered
> Consequences"
> Copyright (C) 2015 The R Foundation for Statistical Computing
> Platform: x86_64-apple-darwin13.4.0 (64-bit)
>
> > install.packages("RCurl")
> essai de l'URL
> 'http://cran.r-project.org/src/contrib/RCurl_1.95-4.5.tar.gz'
> Content type 'application/x-gzip' length 878607 bytes (858 KB)
> ==================================================
> downloaded 858 KB
>
> * installing *source* package ‘RCurl’ ...
> ** package ‘RCurl’ correctement décompressé et sommes MD5 vérifiées
>
> ########## I remove the long list of information for the compilation
>
> > library(RCurl)
> Le chargement a nécessité le package : bitops
> > #
> > f = CFILE("Pointe_Noire_Sud.kmz.zip", mode="wb")
> > curlPerform(url =
> "http://protomac.org/resources/Pointe_Noire_Sud.kmz.zip", writedata =
> f at ref)
>
> *** caught segfault ***
> address 0x0, cause 'memory not mapped'
>
> Traceback:
> 1: .Call("R_curl_easy_perform", curl, .opts, isProtected,
> .encoding, PACKAGE = "RCurl")
> 2: curlPerform(url =
> "http://protomac.org/resources/Pointe_Noire_Sud.kmz.zip", writedata =
> f at ref)
>
>
>
>
> Le 05/02/2015 10:42, Marc Girondot a écrit :
> > Hello,
> >
> > I don't know if the problem originates from R-devel 3.2 or Rcurl
> > itself. I post this message to the R-devel list and to the author of
> > RCurl (duncan at r-project.org).
> >
> > > library("RCurl")
> > Le chargement a nécessité le package : bitops
> > > print(sessionInfo())
> > R Under development (unstable) (2015-02-03 r67717)
> > Platform: x86_64-apple-darwin13.4.0 (64-bit)
> > Running under: OS X 10.10.2 (Yosemite)
> >
> > locale:
> > [1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8
> >
> > attached base packages:
> > [1] stats graphics grDevices utils datasets methods base
> >
> > other attached packages:
> > [1] RCurl_1.95-4.5 bitops_1.0-6
> >
> > > filepath <-
> >
> "/Users/marc/Documents/Espace_de_travail_R/package_embryogrowth/embryogrowth/DESCRIPTION"
> > > urlx <-
> > "
> ftp://xxxxx:xxxxxxx@max2.ese.u-psud.fr/conservation/embryogrowth/DESCRIPTION
> "
> >
> >
> > > ftpUpload(what=filepath, to=urlx)
> >
> > *** caught segfault ***
> > address 0x0, cause 'memory not mapped'
> >
> > Traceback:
> > 1: .Call("R_curl_easy_perform", curl, .opts, isProtected,
> > .encoding, PACKAGE = "RCurl")
> > 2: curlPerform(url = to, upload = TRUE, readfunction =
> > uploadFunctionHandler(file, asText), ..., curl = curl)
> > 3: ftpUpload(what = filepath, to = urlx)
> >
> > 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:
> >
> > Hope it will help,
> >
> > Sincerely,
> >
> > Marc
> >
> > ______________________________________________
> > R-devel at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
> --
> __________________________________________________________
> Marc Girondot, Pr
>
> Laboratoire Ecologie, Systématique et Evolution
> Equipe de Conservation des Populations et des Communautés
> CNRS, AgroParisTech et Université Paris-Sud 11 , UMR 8079
> Bâtiment 362
> 91405 Orsay Cedex, France
>
> Tel: 33 1 (0)1.69.15.72.30 Fax: 33 1 (0)1.69.15.73.53
> e-mail: marc.girondot at u-psud.fr
> Web: http://www.ese.u-psud.fr/epc/conservation/Marc.html
> Skype: girondot
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
Gabriel Becker, PhD
Computational Biologist
Bioinformatics and Computational Biology
Genentech, Inc.
[[alternative HTML version deleted]]
More information about the R-devel
mailing list