Details Ticket 2925


Comment | Reply | Take | Open


Serial Number 2925
Subject r.resamp.rst segfault
Area grass5.7
Queue grass
Requestors werchowyna@pf.pl
Owner none
Status resolved
Last User Contact Fri Jul 22 14:17:56 2005 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Fri Jul 22 14:18:05 2005 (3 yr ago)
Created Fri Jan 21 22:41:29 2005 (4 yr ago)

Transaction History Ticket 2925


Fri, Jan 21 2005 22:41:29    Request created by guest  
Subject: r.resamp.rst segfault

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

r.resamp.rst input=dem5 elev=dem1 ew_res=1 ns_res=1

mapset for input proba

Processing all selected output files will require
239700 bytes of disk space for temp files

zmin=-7441.180302,zmax=4027.909900
Temporarily changing the region to desired resolution...
Changing the region back to initial...
Percent complete: Segmentation fault

It works perfect in 5.4. Input dem is an output of r.surf.fractal. The region
is very small:

g.region -p
projection: 99 (Transverse Mercator)
zone:       0
datum:      etrs89
ellipsoid:  grs80
north:      326715
south:      326480
west:       266920
east:       267175
nsres:      5
ewres:      5
rows:       47
cols:       51

Maciek
Sat, Jan 22 2005 03:21:39    Mail sent by hmitaso@unity.ncsu.edu  
Return-Path <hmitaso@unity.ncsu.edu>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <41F1B9A6.60107@unity.ncsu.edu>
Date Fri, 21 Jan 2005 21:25:42 -0500
From Helena <hmitaso@unity.ncsu.edu>
Organization NCSU
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
X-Accept-Language en-us, en
MIME-Version 1.0
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2925] (grass) r.resamp.rst segfault
References <20050121214129.656D8102BE2@lists.intevation.de>
In-Reply-To <20050121214129.656D8102BE2@lists.intevation.de>
Content-Type text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding 7bit
X-Virus-Scanned Symantec AntiVirus Scan Engine
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2925
> -------------------------------------------------------------------------
> 
> Subject: r.resamp.rst segfault
> 
> Platform: GNU/Linux/i386
> grass obtained from: Mirror of Trento site
> grass binary for platform: Compiled from Sources
> GRASS Version: grass-6.0.cvs_src_snapshot__2005_01_15
> 
> r.resamp.rst input=dem5 elev=dem1 ew_res=1 ns_res=1
> 
> mapset for input proba
> 
> Processing all selected output files will require
> 239700 bytes of disk space for temp files
> 
> zmin=-7441.180302,zmax=4027.909900
> Temporarily changing the region to desired resolution...
> Changing the region back to initial...
> Percent complete: Segmentation fault
> 
> It works perfect in 5.4. Input dem is an output of r.surf.fractal. The region
is very small:
> 
> g.region -p
> projection: 99 (Transverse Mercator)
> zone:       0
> datum:      etrs89
> ellipsoid:  grs80
> north:      326715
> south:      326480
> west:       266920
> east:       267175
> nsres:      5
> ewres:      5
> rows:       47
> cols:       51
> 
> Maciek
> 
> -------------------------------------------- Managed by Request Tracker
> 
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5

It is probably related to the merge of WIND and WIND3. If you find out in the
code
what needs to be changed and test it, I will submit the fix. It is probably simple.
Helena


Sat, Jan 22 2005 10:52:05    Mail sent by guest  
Here is a backtrace:

(gdb) r srtm.dem el=rst ew_res=10 ns_res=10


Percent complete:    0%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1086126496 (LWP 24161)]
0x4064995c in mallopt () from /lib/tls/libc.so.6
(gdb) bt
#0  0x4064995c in mallopt () from /lib/tls/libc.so.6
#1  0x406473fd in malloc () from /lib/tls/libc.so.6
#2  0x40517d31 in G_malloc (n=Variable "n" is not available.
) at alloc.c:23
#3  0x40542fba in G_site_new_struct (cattype=Variable "cattype" is not available.
) at sites.c:80
#4  0x4002c5d7 in IL_check_at_points_2d (params=0x804d340, data=Variable
"data" is not available.
)
    at point2d.c:67
#5  0x4002f8f6 in IL_resample_interp_segments_2d (params=0x804d340,
    bitmask=0x0, zmin=Variable "zmin" is not available.
) at ressegm2d.c:565
#6  0x0804af10 in main (argc=5, argv=0xbffff2a4) at main.c:573


Probably it is related to the cross validation changes.

Markus
Sat, Jan 22 2005 11:10:08    Mail sent by werchowyna@pf.pl  
Return-Path <werchowyna@pf.pl>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <007901c5006a$acf22190$52c61d3e@eustahiush>
From "Maciek Sieczka" <werchowyna@pf.pl>
To "Helena" <hmitaso@unity.ncsu.edu>, "Request Tracker" <grass-bugs@intevation.de>
Cc "grass devel" <grass5@grass.itc.it>
References <20050121214129.656D8102BE2@lists.intevation.de> <41F1B9A6.60107@unity.ncsu.edu>
Subject Re: [GRASS5] [bug #2925] (grass) r.resamp.rst segfault
Date Sat, 22 Jan 2005 11:10:09 +0100
MIME-Version 1.0
Content-Type text/plain; format=flowed; charset="ISO-8859-1"; reply-type=original
Content-Transfer-Encoding 7bit
X-Priority 3
X-MSMail-Priority Normal
X-Mailer Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.2180
X-Antivirus avast! (VPS 0502-2, 2005-01-11), Outbound message
X-Antivirus-Status Clean
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
From: "Helena" <hmitaso@unity.ncsu.edu>
>> Subject: r.resamp.rst segfault

> It is probably related to the merge of WIND and WIND3. If you find out in
> the code what needs to be changed and test it, I will submit the fix. It
> is probably simple.
> Helena

I don't know a thing about coding, sorry. If anybody would kindly be willing
to try to fix the bug, BTW please take a look if something can be easily
done about the "Resolution bug" decsibed in raster/r.resamp.rst/Bugs - if
that's not too much work.

Maciek


Fri, Jul 22 2005 14:17:56    Mail sent by msieczka  
fixed, closing it

MAciek
Fri, Jul 22 2005 14:18:05    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