Subject: bug#39204: closed (Re: bug#39204: r-rgdal: Reading of vector GIS data causes segfault)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 12 Oct 2020 10:23:02 +0000

Your bug report

#39204: r-rgdal: Reading of vector GIS data causes segfault

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
39204: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39204
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#39204: r-rgdal: Reading of vector GIS data causes segfault
From: Arun Isaac <[email-masked]>
To: zimoun <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Mon, 12 Oct 2020 15:52:30 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

I pushed to master, my commit replacing proj.4 with proj. This fixes the
segfault issue. I also updated the package. If the issue with the check
phase still persists, please open a separate issue.

Cheers!

Subject: r-rgdal: Reading of vector GIS data causes segfault
From: Wiktor Żelazny <[email-masked]>
To: [email-masked]
Date: Mon, 20 Jan 2020 16:43:02 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi list,

The same behaviour on two machines.

To reproduce:

guix environment --container --ad-hoc r r-rgdal
Rscript -e 'library(rgdal); dsn <- system.file("vectors", package = "rgdal")[1]; ogrInfo(dsn=dsn, layer="cities")'

   Loading required package: sp
   rgdal: version: 1.4-8, (SVN revision 845)
   Geospatial Data Abstraction Library extensions to R successfully loaded
   Loaded GDAL runtime: GDAL 3.0.2, released 2019/10/28
   Path to GDAL shared files:
   GDAL binary built with GEOS: TRUE
   Loaded PROJ.4 runtime: Rel. 4.9.3, 15 August 2016, [PJ_VERSION: 493]
   Path to PROJ.4 shared files: (autodetected)
   Linking to sp version: 1.3-2

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

   Traceback:
   1: ogrFIDs(dsn = dsn, layer = layer)
   2: ogrInfo(dsn = dsn, layer = "cities")
   An irrecoverable exception occurred. R is aborting now ...
   sh: rm: command not found
   Segmentation fault

Opening with QGIS, which also depends on GDAL (it uses PROJ.6 instead of
PROJ.4, though), works.

WŻ