unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: wz@freeshell.de, Arun Isaac <arunisaac@systemreboot.net>
Cc: 39204@debbugs.gnu.org
Subject: bug#39204: r-rgdal: Reading of vector GIS data causes segfault
Date: Thu, 20 Feb 2020 11:35:12 +0100	[thread overview]
Message-ID: <CAJ3okZ0jVL9B-SjH63=LXZ-79=t00Ppb_dwyU_XxcS381MJUAw@mail.gmail.com> (raw)
In-Reply-To: <CAJ3okZ2=gYbTTHoYtn=d+mJjorzqYgHYZGwdF=4KrG2_zSJBvg@mail.gmail.com>

Hi Arun,

There is 2 issues in this bug report:

 1. the `check' phase is failing but the build ends with "success".
 2. a regression of r-rgdal introduced by your commit
f9d328833fc1f5d0fb76b61b12d1a3cb013932e6


About the point 1., here is what happens:

> --8<---------------cut here---------------start------------->8---
> $ guix build r-rgdal --check --no-grafts -K
> [...]
> phase `install' succeeded after 19.0 seconds
> starting phase `check'
> Testing examples for package ‘rgdal’
> /gnu/store/dnb6fzp5295fcda66dnjk2y51mcva20f-r-minimal-3.6.2/lib/R/bin/BATCH:
> line 60:   598 Segmentation fault      ${R_HOME}/bin/R -f ${in}
> ${opts} ${R_BATCH_OPTIONS} > ${out} 2>&1
> [...]
> successfully built /gnu/store/7spmagnk5fycwxsigdypwkmk4kazbw7a-r-rgdal-1.4-8.drv
> note: keeping build directory `/tmp/guix-build-r-rgdal-1.4-8.drv-0'
> /gnu/store/dgkyzlasbqsxcsfk3n3bgmhrpg447f55-r-rgdal-1.4-8
> --8<---------------cut here---------------end--------------->8---

Therefore, more investigations are required to see why the upstream
test suite does not report correctly the failure.


However, the Segmentation Fault is the point 2. and introduced by the commit:

--8<---------------cut here---------------start------------->8---
commit f9d328833fc1f5d0fb76b61b12d1a3cb013932e6
Author: Arun Isaac <arunisaac@systemreboot.net>
Date:   Thu Dec 5 01:47:47 2019 +0530

    gnu: libgeotiff: Update to 1.5.1.

    * gnu/packages/patches/libgeotiff-adapt-test-script-for-proj-6.2.patch:
    New file.
    * gnu/local.mk (dist_patch_DATA): Register it.
    * gnu/packages/geo.scm (libgeotiff): Update to 1.5.1.
    [inputs]: Replace proj.4 with proj.
    [sources]: Add libgeotiff-adapt-test-script-for-proj-6.2.patch
    to patches.

 gnu/local.mk                                       |  1 +
 gnu/packages/geo.scm                               | 17 +++---
 ...libgeotiff-adapt-test-script-for-proj-6.2.patch | 63 ++++++++++++++++++++++
 3 files changed, 72 insertions(+), 9 deletions(-)
 create mode 100644
gnu/packages/patches/libgeotiff-adapt-test-script-for-proj-6.2.patch
--8<---------------cut here---------------end--------------->8---

I have bisected this way:

git bisect start
git bisect bad ba7ead2b507d94397481be014d6ac0c41c7ddbfa
git bisect good 28d940961cfa1ae6dc574053aec8d03095677df8

# ba7ead2b507d94397481be014d6ac0c41c7ddbfa => bad
# 28d940961cfa1ae6dc574053aec8d03095677df8 => good
# fe0686864dc57ecdda7ecbb318d2618ac46169ae => bad
# 85c945aa97d89fdc17ec5d64c3ffa7f99ba1184b => good
# 885424bf7f6e0bc0ad5dd9353690aa82d17dd8b8 => bad
# 6f5d849a83c44ffb39c3a976aea10b7b31c24063 => good
# ce5b71f98ce39c92637876120f44868ec7ad391f => good
# 96211e3f33d1f1c35fd6377db1d8a4c6ec1a9c22 => bad
# 6cde07379f2a049b8c7f0eca90959f6c170c4102 => bad
# 87a028100c665814c3b5d622701abc6d77144faf => good
# 00d81f9866726f85241f08e444ba3932fcb38842 => good
# e72557c08f4f2fdd545106a9f4f0fc0bc9496249 => bad
# 3500d7addc2f9b2067ffd239383eb0e546be4f43 => good
# f9d328833fc1f5d0fb76b61b12d1a3cb013932e6 => bad


Please could you confirm?
If 'libgeotiff' is really the culprit, then we can try to fix it.



All the best,
simon

  reply	other threads:[~2020-02-20 10:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-20 15:43 bug#39204: r-rgdal: Reading of vector GIS data causes segfault Wiktor Żelazny
2020-01-20 19:50 ` zimoun
2020-02-20 10:35   ` zimoun [this message]
2020-02-20 17:10     ` Arun Isaac
2020-02-21 11:19       ` zimoun
2020-02-21 12:12         ` Arun Isaac
2020-02-21 12:30           ` zimoun
2020-02-21 18:54           ` zimoun
2020-02-21 21:35             ` Arun Isaac
2020-02-21 22:14               ` zimoun
2020-02-21 18:53       ` zimoun
2020-02-21 21:40         ` Arun Isaac
2020-02-21 22:19           ` zimoun
2020-02-22 19:42             ` Arun Isaac
2020-02-24 11:33               ` zimoun
2020-02-24 19:09                 ` Arun Isaac
2020-02-25 15:49                   ` zimoun
2020-10-12 10:22                     ` Arun Isaac
2020-10-12 16:23                       ` Wiktor Żelazny
2020-10-13  4:21                         ` Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ3okZ0jVL9B-SjH63=LXZ-79=t00Ppb_dwyU_XxcS381MJUAw@mail.gmail.com' \
    --to=zimon.toutoune@gmail.com \
    --cc=39204@debbugs.gnu.org \
    --cc=arunisaac@systemreboot.net \
    --cc=wz@freeshell.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).