R 3.4.0 gotcha

Issues related to applications and software problems
Post Reply
mathog
Posts: 258
Joined: 2008/07/09 23:52:06

R 3.4.0 gotcha

Post by mathog » 2017/06/26 19:57:08

This is a heads up on a slightly obscure R issue.

A system I manage uses a package called shiny-server which requires R.
When the system automatically upgraded from R 3.3.3 to 3.4.0 this package broke
with the log file noting:

Code: Select all

 *** caught segfault ***
address 0xd3, cause 'memory not mapped'

Traceback:
 1: .External("cairo_create_new_device", as.character(ctype), file,     width, height, pointsize, bg, canvas, umpl, dpi, ..., PACKAGE = "Cairo")
 2: Cairo(width, height, type = "png", file = filename, pointsize = pointsize,     bg = bg, res = res, ...)
...
in R

Code: Select all

> pkgs <- as.data.frame(installed.packages(), stringsAsFactors = FALSE, row.names = FALSE)
> pkgs[, c("Package", "Version", "Built")]
...
7          Cairo    1.5-9 3.3.3
...
That is, the Cairo that came with the R RPM was built against R 3.3.3. Fixed the problem with

Code: Select all

R
> install.packages("Cairo")
after which it showed

Code: Select all

7          Cairo    1.5-9 3.4.0
And shiny-server worked again.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: R 3.4.0 gotcha

Post by avij » 2017/06/26 21:49:44

Thanks for the report. However, R is not a CentOS package. You are probably using EPEL's packages for R.

It might be beneficial to file a bug about this. EPEL's bugs can be filed through Red Hat's Bugzilla (Fedora>Fedora EPEL). You may need to reveal the full list of components with Ctrl-Shift-A before you can pick R from the list.

mathog
Posts: 258
Joined: 2008/07/09 23:52:06

Re: R 3.4.0 gotcha

Post by mathog » 2017/06/27 20:49:25

avij wrote:Thanks for the report. However, R is not a CentOS package. You are probably using EPEL's packages for R.

It might be beneficial to file a bug about this. EPEL's bugs can be filed through Red Hat's Bugzilla (Fedora>Fedora EPEL). You may need to reveal the full list of components with Ctrl-Shift-A before you can pick R from the list.
You are right, it was EPEL. Bug report filed there:

https://bugzilla.redhat.com/show_bug.cgi?id=1465647

Post Reply