From ripley at stats.ox.ac.uk  Thu Feb  5 14:24:49 2015
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 05 Feb 2015 13:24:49 +0000
Subject: [Rd] Rcurl crash in R-devel
In-Reply-To: <54D33B21.6070906@yahoo.fr>
References: <54D33B21.6070906@yahoo.fr>
Message-ID: <54D36F21.90307@stats.ox.ac.uk>

On 05/02/2015 09:42, Marc Girondot wrote:
> Hello,
>
> I don't know if the problem originates from R-devel 3.2 or Rcurl itself.

The traceback is 100% sure it originates in or below RCurl (possibly in 
your system's libcurl).   R-devel must be innocent here.

Your example is not reproducible (see the posting guide), so you need to 
run this under a debugger for yourself.

> 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 at 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

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
1 South Parks Road, Oxford OX1 3TG, UK



[Rd] Rcurl crash in R-devel
Prof Brian Ripley