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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Wiktor Żelazny <wz <at> freeshell.de>
Subject: bug#39204: closed (Re: bug#39204: r-rgdal: Reading of vector GIS
 data causes segfault)
Date: Mon, 12 Oct 2020 10:23:02 +0000
[Message part 1 (text/plain, inline)]
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 39204 <at> debbugs.gnu.org.

-- 
39204: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39204
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Arun Isaac <arunisaac <at> systemreboot.net>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: wz <at> freeshell.de, 39204-done <at> debbugs.gnu.org
Subject: Re: bug#39204: r-rgdal: Reading of vector GIS data causes segfault
Date: Mon, 12 Oct 2020 15:52:30 +0530
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!

[Message part 3 (message/rfc822, inline)]
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 4 (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.