GNU bug report logs - #39204
r-rgdal: Reading of vector GIS data causes segfault

Previous Next

Package: guix;

Reported by: Wiktor Żelazny <wz <at> freeshell.de>

Date: Mon, 20 Jan 2020 15:44:01 UTC

Severity: normal

Done: Arun Isaac <arunisaac <at> systemreboot.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Wiktor Żelazny <wz <at> freeshell.de>
To: bug-guix <at> gnu.org
Subject: r-rgdal: Reading of vector GIS data causes segfault
Date: Mon, 20 Jan 2020 16:43:02 +0100
[Message part 1 (text/plain, inline)]
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Ż
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.