Bug#845429: grass: v.net.iso - Segmentation fault

2016-12-01 Thread Sebastiaan Couwenberg
Control: tags -1 pending

On 11/30/2016 06:46 PM, Sebastiaan Couwenberg wrote:
> On 11/30/2016 12:28 PM, Eduardo Corbelle Rico wrote:
>> In the txt file attached to this mail you will find the configure
>> options I used along with the output of the make command. Please let me
>> know if I could still add some more useful information.
> 
> Thanks for the log. In the mean I've forwarded this issue upstream,
> where it could be reproduced too. The fix should be included in the
> upcoming 7.2.0 release.
> 
>  https://trac.osgeo.org/grass/ticket/3213#comment:3

Since the new GRASS release will taken longer than I'd like, I've
included the changes from upstream as a patch in the 7.0.5 package to
fix this issue in the mean time.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#845429: grass: v.net.iso - Segmentation fault

2016-11-30 Thread Sebastiaan Couwenberg
Control: tags -1 + fixed-upstream
Control: tags -1 - moreinfo

Hi Eduardo,

On 11/30/2016 12:28 PM, Eduardo Corbelle Rico wrote:
> In the txt file attached to this mail you will find the configure
> options I used along with the output of the make command. Please let me
> know if I could still add some more useful information.

Thanks for the log. In the mean I've forwarded this issue upstream,
where it could be reproduced too. The fix should be included in the
upcoming 7.2.0 release.

 https://trac.osgeo.org/grass/ticket/3213#comment:3

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#845429: grass: v.net.iso - Segmentation fault

2016-11-25 Thread Sebastiaan Couwenberg
On 11/25/2016 10:32 AM, Eduardo Corbelle Rico wrote:
> You are right... I did not realize the missing information. Sorry!

Thanks for the additional information.

> The version I built was the 7.0.5 tarball. Attached to this mail I
> included the output of the make command. Is that the build log you
> referred to? Please let me know if I can improve my answer.

Yes, but your build log is missing the configure and build steps. Your
build probably doesn't use the same configure options as the Debian
package which will help to determine the differences to pinpoint the
cause of the segfault.

If you can send the full build log including the configure and build
steps, that would be helpful.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#845429: grass: v.net.iso - Segmentation fault

2016-11-23 Thread Sebastiaan Couwenberg
Thanks for the steps to reproduce, that doesn't get us closer to fixing it.

Which version of grass did you build yourself? The 7.0.5 tarball, SVN or
something else? Can send the build log?

Without those I cannot determine the differences between your build and
that of the Debian package assuming you're using the same version. If
you built from SVN the issue was probably fixed in the mean time but not
released yet.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#845429: grass: v.net.iso - Segmentation fault

2016-11-23 Thread Eduardo Corbelle Rico

O Mér, 23-11-2016 ás 11:44 +0100, Bas Couwenberg escribiu:
> Control: tags -1 moreinfo
> 
> 
> On 2016-11-23 11:33, Eduardo Corbelle Rico wrote:
> > It happened to me that the use of v.net.iso command results in a
> > segmentation fault. I could replicate the error in two different
> > machines, with my own data and with both examples shown in the
> > online
> > manual ( https://grass.osgeo.org/grass70/manuals/v.net.iso.html )
> > using the Spearfish dataset for GRASS 7.
> 
> Please provide the steps to reproduce the issue.
> 
> Kind Regards,
> 
> Bas



O Mér, 23-11-2016 ás 11:44 +0100, Bas Couwenberg escribiu:
> Control: tags -1 moreinfo
> 
> 
> On 2016-11-23 11:33, Eduardo Corbelle Rico wrote:
> > It happened to me that the use of v.net.iso command results in a
> > segmentation fault. I could replicate the error in two different
> > machines, with my own data and with both examples shown in the
> > online
> > manual ( https://grass.osgeo.org/grass70/manuals/v.net.iso.html )
> > using the Spearfish dataset for GRASS 7.
> 
> Please provide the steps to reproduce the issue.
> 
> Kind Regards,
> 
> Bas

I copied below the commands and the output. The error is in the final
step.

Greetings,

Eduardo

__

GRASS 7.0.5 (spearfish60_grass7):~ > # Spearfish
GRASS 7.0.5 (spearfish60_grass7):~ > 
GRASS 7.0.5 (spearfish60_grass7):~ > # start node:
GRASS 7.0.5 (spearfish60_grass7):~ > echo "591280.5|4926396.0|1" |
v.in.ascii in=- out=startnode
Scanning input for column types...
Number of columns: 3
Number of rows: 1
Importing points...
 100%
Populating table...
Building topology for vector map ...
Registering primitives...
One primitive registered
One vertex registered
Building areas...
 100%
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
 100%
Number of nodes: 0
Number of primitives: 1
Number of points: 1
Number of lines: 0
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
GRASS 7.0.5 (spearfish60_grass7):~ > g.copy vect=roads,myroads
Copy vector  to current mapset as 
GRASS 7.0.5 (spearfish60_grass7):~ > 
GRASS 7.0.5 (spearfish60_grass7):~ > # connect point to network
GRASS 7.0.5 (spearfish60_grass7):~ > v.net myroads points=startnode
out=myroads_net op=connect thresh=200
Copying features...
 100%
Building topology for vector map ...
Registering primitives...
825 primitives registered
5468 vertices registered
Number of nodes: 676
Number of primitives: 825
Number of points: 0
Number of lines: 825
Number of boundaries: 0
Number of centroids: 0
Number of areas: -
Number of isles: -
Copying attributes...
Building topology for vector map ...
Registering primitives...
828 primitives registered
5473 vertices registered
Building areas...
 100%
0 areas built
0 isles built
Attaching islands...
Attaching centroids...
 100%
Number of nodes: 678
Number of primitives: 828
Number of points: 1
Number of lines: 827
Number of boundaries: 0
Number of centroids: 0
Number of areas: 0
Number of isles: 0
v.net complete. 2 lines (network arcs) written to output.
GRASS 7.0.5 (spearfish60_grass7):~ > 
GRASS 7.0.5 (spearfish60_grass7):~ > # define iso networks using
distance:
GRASS 7.0.5 (spearfish60_grass7):~ > v.net.iso input=myroads_net
output=myroads_net_iso center_cats=1-10 costs=1000,2000,5000
Building graph...
Registering arcs...
Fallo de segmento



Bug#845429: grass: v.net.iso - Segmentation fault

2016-11-23 Thread Bas Couwenberg

Control: tags -1 moreinfo


On 2016-11-23 11:33, Eduardo Corbelle Rico wrote:

It happened to me that the use of v.net.iso command results in a
segmentation fault. I could replicate the error in two different
machines, with my own data and with both examples shown in the online
manual ( https://grass.osgeo.org/grass70/manuals/v.net.iso.html )
using the Spearfish dataset for GRASS 7.


Please provide the steps to reproduce the issue.

Kind Regards,

Bas



Bug#845429: grass: v.net.iso - Segmentation fault

2016-11-23 Thread Eduardo Corbelle Rico
Package: grass
Version: 7.0.5-2
Severity: normal
Tags: newcomer

Dear Maintainer,

It happened to me that the use of v.net.iso command results in a
segmentation fault. I could replicate the error in two different
machines, with my own data and with both examples shown in the online
manual ( https://grass.osgeo.org/grass70/manuals/v.net.iso.html )
using the Spearfish dataset for GRASS 7.

After consultation in the GRASS-user list, it seems that this is
specific of the pre-compiled package (installed via apt-get), as the
error does not appear when GRASS 7.0 is compiled from source in the
same machine.

Greetings,

Eduardo Corbelle

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=gl_ES.UTF-8, LC_CTYPE=gl_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages grass depends on:
ii  grass-core  7.0.5-2+b1
ii  grass-gui   7.0.5-2+b1

Versions of packages grass recommends:
ii  grass-doc  7.0.5-2

Versions of packages grass suggests:
pn  grass-dev  

-- no debconf information