Details Ticket 3017


Comment | Reply | Take | Open


Serial Number 3017
Subject v.clean segfault
Area grass5.7
Queue grass
Requestors werchowyna@pf.pl
Owner none
Status resolved
Last User Contact Fri Mar 11 11:55:00 2005 (3 yr ago)
Current Priority 30
Final Priority 30
Due No date assigned
Last Action Thu May 12 15:12:29 2005 (3 yr ago)
Created Sat Feb 19 14:04:24 2005 (4 yr ago)

Transaction History Ticket 3017


Sat, Feb 19 2005 14:04:24    Request created by guest  
Subject: v.clean segfault

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: grass-6.0.cvs_src_snapshot_2005_02_12

I encounter a segfault with one particular dataset with the following options:
GRASS 6.0.cvs:~ > v.clean input=i output=j type=area err=j_err tool=break,rmdupl,rmdac,bpol,rmarea
+---------------------------------+---------------+
| Tool                            | Threshold     |
+---------------------------------+---------------+
| Break                            | 0.000000e+00 |
| Remove duplicates                | 0.000000e+00 |
| Remove duplicate area centroids  | 0.000000e+00 |
| Break polygons                   | 0.000000e+00 |
| Remove small areas               | 0.000000e+00 |
+---------------------------------+---------------+
Copying vector lines ...
--------------------------------------------------
Rebuilding parts of topology ...
Building topology ...
407 primitives registered
Topology was built.
Number of nodes     :   329
Number of primitives:   407
Number of points    :   0
Number of lines     :   0
Number of boundaries:   307
Number of centroids :   100
Number of areas     :   -
Number of isles     :   -
--------------------------------------------------
Tool: Break lines at intersections
Intersections:     0
--------------------------------------------------
Tool: Remove duplicates
Duplicates:     0
--------------------------------------------------
Rebuilding parts of topology ...
Building topology ...
Building areas:  100%
100 areas built
22 isles built
Attaching islands:  100%
Attaching centroids:  100%
Topology was built.
Number of nodes     :   329
Number of primitives:   407
Number of points    :   0
Number of lines     :   0
Number of boundaries:   307
Number of centroids :   100
Number of areas     :   100
Number of isles     :   22
--------------------------------------------------
Tool: Remove duplicate area centroids
Duplicate area centroids:     0
--------------------------------------------------
Tool: Break polygons
Registering points ... 0
All points (vertices):     0
Registered points (unique coordinates):     0
Points marked for break:     0
Breaks:     0Segmentation fault

Maciek
Mon, Feb 21 2005 08:40:11    Mail sent by blazek@itc.it  
Return-Path <blazek@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <42199054.5050204@itc.it>
Date Mon, 21 Feb 2005 08:40:04 +0100
From Radim Blazek <blazek@itc.it>
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language en-us, en
MIME-Version 1.0
To Request Tracker <grass-bugs@intevation.de>
Subject Re: [GRASS5] [bug #3017] (grass) v.clean segfault
References <20050219130424.66CF2102C28@lists.intevation.de>
In-Reply-To <20050219130424.66CF2102C28@lists.intevation.de>
Content-Type text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Try to select the features causing segfault (repeated select half)
and send it to me.

Radim

Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3017
> -------------------------------------------------------------------------
> 
> Subject: v.clean segfault
> 
> Platform: GNU/Linux/i386
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: grass-6.0.cvs_src_snapshot_2005_02_12
> 
> I encounter a segfault with one particular dataset with the following options:
> 
> GRASS 6.0.cvs:~ > v.clean input=i output=j type=area err=j_err tool=break,rmdupl,rmdac,bpol,rmarea

> +---------------------------------+---------------+
> | Tool                            | Threshold     |
> +---------------------------------+---------------+
> | Break                            | 0.000000e+00 |
> | Remove duplicates                | 0.000000e+00 |
> | Remove duplicate area centroids  | 0.000000e+00 |
> | Break polygons                   | 0.000000e+00 |
> | Remove small areas               | 0.000000e+00 |
> +---------------------------------+---------------+
> Copying vector lines ...
> --------------------------------------------------
> Rebuilding parts of topology ...
> Building topology ...
> 407 primitives registered
> Topology was built.
> Number of nodes     :   329
> Number of primitives:   407
> Number of points    :   0
> Number of lines     :   0
> Number of boundaries:   307
> Number of centroids :   100
> Number of areas     :   -
> Number of isles     :   -
> --------------------------------------------------
> Tool: Break lines at intersections
> Intersections:     0
> --------------------------------------------------
> Tool: Remove duplicates
> Duplicates:     0
> --------------------------------------------------
> Rebuilding parts of topology ...
> Building topology ...
> Building areas:  100%
> 100 areas built
> 22 isles built
> Attaching islands:  100%
> Attaching centroids:  100%
> Topology was built.
> Number of nodes     :   329
> Number of primitives:   407
> Number of points    :   0
> Number of lines     :   0
> Number of boundaries:   307
> Number of centroids :   100
> Number of areas     :   100
> Number of isles     :   22
> --------------------------------------------------
> Tool: Remove duplicate area centroids
> Duplicate area centroids:     0
> --------------------------------------------------
> Tool: Break polygons
> Registering points ... 0
> All points (vertices):     0
> Registered points (unique coordinates):     0
> Points marked for break:     0
> Breaks:     0Segmentation fault
> 
> Maciek
> 
> -------------------------------------------- Managed by Request Tracker
> 
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5


Wed, Feb 23 2005 19:11:58    Mail sent by blazek@itc.it  
Return-Path <blazek@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <421CC766.9080304@itc.it>
Date Wed, 23 Feb 2005 19:11:50 +0100
From Radim Blazek <blazek@itc.it>
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language en-us, en
MIME-Version 1.0
To Maciek Sieczka <werchowyna@pf.pl>
Cc Radim Blazek via RT <grass-bugs@intevation.de>, grass5 <grass5@grass.itc.it>
Subject Re: [bug #3017] (grass) v.clean segfault
References <20050221074011.24AB3102BE5@lists.intevation.de> <014001c5192d$beaeb2f0$01c61d3e@eustahiush>
In-Reply-To <014001c5192d$beaeb2f0$01c61d3e@eustahiush>
Content-Type text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
I fixed that, however:
1) bpol should be used as first cleaning tool, it does the same as 
break, but it is faster on clean (identical boundaries) polygons
2) bpol works only with type=boundary, the same break,rmdupl etc.


Radim

Maciek Sieczka wrote:
>> Try to select the features causing segfault (repeated select half)
> 
> 
> Guilty is tool=bpol.
> 
>> and send it to me.
> 
> 
> Please always specify your email. That makes replaying simplier as 
> "Radim Blazek via RT <grass-bugs@intevation.de>" is a black hole.
> 
> Maciek
> 
> P.S.
> Thank you for taking care of this! (Although I'm aware you don't 
> appreciate such "thank yous" too much ;)).
> 
>> Radim
>>
>> Request Tracker wrote:
>>
>>> this bug's URL: http://intevation.de/rt/webrt?serial_num=3017
>>> -------------------------------------------------------------------------
>>>
>>>
>>> Subject: v.clean segfault
>>>
>>> Platform: GNU/Linux/i386
>>> grass obtained from: Trento Italy site
>>> grass binary for platform: Compiled from Sources
>>> GRASS Version: grass-6.0.cvs_src_snapshot_2005_02_12
>>>
>>> I encounter a segfault with one particular dataset with the following 
>>> options:
>>>
>>> GRASS 6.0.cvs:~ > v.clean input=i output=j type=area err=j_err 
>>> tool=break,rmdupl,rmdac,bpol,rmarea
>>> +---------------------------------+---------------+
>>> | Tool                            | Threshold     |
>>> +---------------------------------+---------------+
>>> | Break                            | 0.000000e+00 |
>>> | Remove duplicates                | 0.000000e+00 |
>>> | Remove duplicate area centroids  | 0.000000e+00 |
>>> | Break polygons                   | 0.000000e+00 |
>>> | Remove small areas               | 0.000000e+00 |
>>> +---------------------------------+---------------+
>>> Copying vector lines ...
>>> --------------------------------------------------
>>> Rebuilding parts of topology ...
>>> Building topology ...
>>> 407 primitives registered
>>> Topology was built.
>>> Number of nodes     :   329
>>> Number of primitives:   407
>>> Number of points    :   0
>>> Number of lines     :   0
>>> Number of boundaries:   307
>>> Number of centroids :   100
>>> Number of areas     :   -
>>> Number of isles     :   -
>>> --------------------------------------------------
>>> Tool: Break lines at intersections
>>> Intersections:     0
>>> --------------------------------------------------
>>> Tool: Remove duplicates
>>> Duplicates:     0
>>> --------------------------------------------------
>>> Rebuilding parts of topology ...
>>> Building topology ...
>>> Building areas:  100%
>>> 100 areas built
>>> 22 isles built
>>> Attaching islands:  100%
>>> Attaching centroids:  100%
>>> Topology was built.
>>> Number of nodes     :   329
>>> Number of primitives:   407
>>> Number of points    :   0
>>> Number of lines     :   0
>>> Number of boundaries:   307
>>> Number of centroids :   100
>>> Number of areas     :   100
>>> Number of isles     :   22
>>> --------------------------------------------------
>>> Tool: Remove duplicate area centroids
>>> Duplicate area centroids:     0
>>> --------------------------------------------------
>>> Tool: Break polygons
>>> Registering points ... 0
>>> All points (vertices):     0
>>> Registered points (unique coordinates):     0
>>> Points marked for break:     0
>>> Breaks:     0Segmentation fault
>>>
>>> Maciek
>>>
>>> -------------------------------------------- Managed by Request Tracker
>>>
>>> _______________________________________________
>>> grass5 mailing list
>>> grass5@grass.itc.it
>>> http://grass.itc.it/mailman/listinfo/grass5
>>
>>
>>
>> --- Headers Follow ---
>>
>>> From blazek@itc.it  Mon Feb 21 08:40:10 2005
>>
>> Return-Path: <blazek@itc.it>
>> Delivered-To: grass-bugs@lists.intevation.de
>> Received: from mail.intevation.de (aktaia [212.95.126.10])
>> by lists.intevation.de (Postfix) with ESMTP id D8C54102BCB
>> for <grass-bugs@lists.intevation.de>; Mon, 21 Feb 2005 08:40:10 +0100 
>> (CET)
>> Received: from localhost (localhost [127.0.0.1])
>> by mail.intevation.de (Postfix) with ESMTP id 8DF2C36EDF
>> for <grass-bugs@lists.intevation.de>; Mon, 21 Feb 2005 08:40:10 +0100 
>> (CET)
>> Received: from mail.itc.it (ns.itc.it [217.77.80.3])
>> by mail.intevation.de (Postfix) with ESMTP id 1AE4836DC6
>> for <grass-bugs@intevation.de>; Mon, 21 Feb 2005 08:40:08 +0100 (CET)
>> Received: from ntmain.itc.it ([10.0.20.40])
>> by mail.itc.it (8.12.11/8.12.11) with SMTP id j1L7e7IN010683
>> for <grass-bugs@intevation.de>; Mon, 21 Feb 2005 08:40:07 +0100
>> Received: from orchestra.itc.it ([10.0.10.11])
>> by ntmain.itc.it (SMSSMTP 4.0.4.64) with SMTP id M2005022108400618391
>> for <grass-bugs@intevation.de>; Mon, 21 Feb 2005 08:40:06 +0100
>> Received: from itc.it (janacek [10.40.0.140])
>> by orchestra.itc.it (8.12.11/8.12.11) with ESMTP id j1L7e7Ng026616
>> for <grass-bugs@intevation.de>; Mon, 21 Feb 2005 08:40:07 +0100
>> Message-ID: <42199054.5050204@itc.it>
>> Date: Mon, 21 Feb 2005 08:40:04 +0100
>> From: Radim Blazek <blazek@itc.it>
>> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) 
>> Gecko/20040113
>> X-Accept-Language: en-us, en
>> MIME-Version: 1.0
>> To: Request Tracker <grass-bugs@intevation.de>
>> Subject: Re: [GRASS5] [bug #3017] (grass) v.clean segfault
>> References: <20050219130424.66CF2102C28@lists.intevation.de>
>> In-Reply-To: <20050219130424.66CF2102C28@lists.intevation.de>
>> Content-Type: text/plain; charset=us-ascii; format=flowed
>> Content-Transfer-Encoding: 7bit
>> X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0 
>> tests=BAYES_00
>> X-Spam-Level:
>>
>> -------------------------------------------- Managed by Request Tracker
>>
>>


Mon, Feb 28 2005 22:07:46    Final Priority changed to 30 by pcavallini  
Fri, Mar 11 2005 11:55:00    Mail sent by guest  
Maciek Sieczka wrote:
> I encounter a segfault with one particular dataset with the following
> options:
> GRASS 6.0.cvs:~ > v.clean input=i output=j type=area err=j_err
> tool=break,rmdupl,rmdac,bpol,rmarea

Radim Blazek wrote:
>>I fixed that, however:
>>1) bpol should be used as first cleaning tool, it does the same as
>>break, but it is faster on clean (identical boundaries) polygons

I can't change the order of cleaning tools using v.clean in GUI. The order
is hardcoded. Could that be fixed Michael? Options order issue also refers
to v.type in GUI http://intevation.de/rt/webrt?serial_num=2969.

>>2) bpol works only with type=boundary, the same break,rmdupl etc.

Radim, do you mean that "rmdupl" and "break" should not be used with
type=line?

Maciek
Thu, May 12 2005 15:12:29    Status changed to resolved by msieczka  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request