Details Ticket 3798


Comment | Reply | Take | Open


Serial Number 3798
Subject i.points: error in tmp file handling
Area grass6
Queue grass
Requestors werchowyna@epf.pl
Owner none
Status resolved
Last User Contact Thu Feb 16 22:20:03 2006 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Thu Feb 16 22:20:08 2006 (3 yr ago)
Created Thu Nov 3 14:43:05 2005 (3 yr ago)

Transaction History Ticket 3798


Thu, Nov 3 2005 14:43:05    Request created by guest  
Subject: i.points: error in tmp file handling

Platform: GNU/Linux/i386
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: cvs 26.10.2005

1. GRASS 6.1.cvs (caves_xy):~ > i.points wlasnosc
2. plot raster, quit
3. error message printed:
¨ï·¨ï·assdata/caves_xy/wlasnosc/.tmp/quercus.biol.uni.wroc.pl/10316.0: No such
file or directory

Maciek
Thu, Nov 3 2005 16:05:43    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <436A2743.7090704@itc.it>
Date Thu, 03 Nov 2005 16:05:39 +0100
From Markus Neteler <neteler@itc.it>
User-Agent Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929)
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 #3798] (grass) i.points: error in tmp file handling
References <20051103134305.14A251006C5@lists.intevation.de>
In-Reply-To <20051103134305.14A251006C5@lists.intevation.de>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 8bit
X-OriginalArrivalTime 03 Nov 2005 15:05:40.0039 (UTC) FILETIME=[0DB9ED70:01C5E088]
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=3798
>-------------------------------------------------------------------------
>
>Subject: i.points: error in tmp file handling
>
>Platform: GNU/Linux/i386
>grass obtained from: CVS
>grass binary for platform: Compiled from Sources
>GRASS Version: cvs 26.10.2005
>
>1. GRASS 6.1.cvs (caves_xy):~ > i.points wlasnosc
>2. plot raster, quit
>3. error message printed:
>¨ï·¨ï·assdata/caves_xy/wlasnosc/.tmp/quercus.biol.uni.wroc.pl/10316.0: No such
file or directory
>
>  
>

Something similar seems to happen in i.ortho.photo (recently introduced!).
This may be related to:
- file name buffer length not updated in all places to GNAME_MAX
- removal of email notification (not sure)
- any changes in tmp file management?

Markus


Sun, Nov 20 2005 07:22:16    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Sun, 20 Nov 2005 19:21:57 +1300
From Hamish <hamish_nospam@yahoo.com>
To Markus Neteler <neteler@itc.it>
Cc grass-bugs@intevation.de, grass5@grass.itc.it
Subject Re: [GRASS5] [bug #3798] (grass) i.points: error in tmp file handling
Message-Id <20051120192157.3d43d782.hamish_nospam@yahoo.com>
In-Reply-To <436A2743.7090704@itc.it>
References <20051103134305.14A251006C5@lists.intevation.de> <436A2743.7090704@itc.it>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> Request Tracker wrote:
>=20
> >this bug's URL: http://intevation.de/rt/webrt?serial_num=3D3798
> >--------------------------------------------------------------------
> >
> >Subject: i.points: error in tmp file handling
> >
> >Platform: GNU/Linux/i386
> >grass obtained from: CVS
> >grass binary for platform: Compiled from Sources
> >GRASS Version: cvs 26.10.2005
> >
> >1. GRASS 6.1.cvs (caves_xy):~ > i.points wlasnosc
> >2. plot raster, quit
> >3. error message printed:
> >=A8=EF=B7=A8=EF=B7assdata/caves_xy/wlasnosc/.tmp/quercus.biol.uni.wroc.p=
l/10316.
> >0: No such file or directory
>=20
> Something similar seems to happen in i.ortho.photo (recently
> introduced!). This may be related to:
> - file name buffer length not updated in all places to GNAME_MAX

probable:

> >3. error message printed:
> >=A8=EF=B7=A8=EF=B7assdata/caves_xy/wlasnosc/.tmp/quercus.biol.uni.wroc.p=
l/10316.
> >0: No such file or directory

note "assdata/caves_xy/wlasnosc/.tmp/quercus.biol.uni.wroc.pl/10316"
is 63 chars long.

Need to run it through a GUI frontend to gdb like ddd or kdbg and watch
that variable to see when the truncation happens.


> - removal of email notification (not sure)

I doubt it. (code unrelated to file handling ripped out, G_percent()
added) Never say never though.


> - any changes in tmp file management?

Not that I am aware of / remember.



Follow the trail to find limiting string buffer of [64] to solve this
bug...


Hamish


Thu, Feb 16 2006 22:20:03    Mail sent by mneteler  
hi,

I have tracked down the bug to i.find.
Fixed in CVS.

Markus
Thu, Feb 16 2006 22:20:08    Status changed to resolved by mneteler  
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