Created
October 11, 2024 11:55
-
-
Save vjcitn/c4c4e99314f0d77d58148b7d19cbedae to your computer and use it in GitHub Desktop.
triggers segfault on ubuntu 24.04 under R 4.4.1, when compiled with rmarkdown::render
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Triggers a curl/httr segfault during R CMD build" | |
author: Hervé Pagès | |
output: | |
BiocStyle::html_document: | |
toc: true | |
toc_depth: 2 | |
vignette: > | |
%\VignetteEngine{knitr::rmarkdown} | |
%\VignetteEncoding{UTF-8} | |
--- | |
This vignette triggers a curl segfault when built with | |
`R CMD build curlminitest` on Ubuntu 24.04 and Intel Mac. | |
The segfault typically occurs inside `curl::curl_fetch_disk()`. | |
```{r} | |
library(httr) | |
url1 <- "https://en.wikipedia.org/wiki/Bioconductor" | |
response1 <- GET(url1) | |
url2 <- "ftp://ftp.ensembl.org/pub/release-71/gtf/caenorhabditis_elegans/Caenorhabditis_elegans.WBcel235.71.gtf.gz" | |
response2a <- GET(url2, write_disk(tempfile())) | |
response2b <- GET(url2, write_disk(tempfile())) | |
``` |
Author
vjcitn
commented
Oct 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment