Skip to content
Prev 49840 / 63424 Next

Rcurl crash in R-devel

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 :