Details Ticket 103


Comment | Reply | Take | Open


Serial Number 103
Subject s.info crashes if empty "labels|" field present
Area bug
Queue grass
Requestors neteler@itc.it
Owner none
Status resolved
Last User Contact Sat Apr 13 15:11:37 2002 (6 yr ago)
Current Priority 40
Final Priority 70
Due No date assigned
Last Action Sat Apr 13 15:12:54 2002 (6 yr ago)
Created Fri Jan 26 22:49:41 2001 (8 yr ago)

Transaction History Ticket 103


Fri, Jan 26 2001 22:49:41    Request created by neteler@geog.uni-hannover.de  
Return-Path <nobody@geog.uni-hannover.de>
Delivered-To grass-bugs@intevation.de
Date Fri, 26 Jan 2001 22:30:19 GMT
Message-Id <200101262230.WAA03987@hgeo02.geog.uni-hannover.de>
To grass-bugs@geog.uni-hannover.de, grass-bugs@intevation.de
From neteler@geog.uni-hannover.de ()
Subject s.info crashes if empty "labels|" field present
Sender nobody@geog.uni-hannover.de
Below is the result of your feedback form.  It was submitted by
 (neteler@geog.uni-hannover.de) on Friday, January 26, 2001 at 22:30:19
---------------------------------------------------------------------------

subject: s.info crashes if empty "labels|" field present

area: grass5beta11

platform: Linux/Intel

vendor: SuSe

cputype: AMD (K6, ...)

xwindows: -- select --

windowsmanager: -- select --

tcltkver: -- select --

grassserver: CVS Server, Germany

grassversion: I compiled the sources myself

cvsyesno: yes, I am using the latest GRASS from CVS

compiler: gcc

bugreport: s.info crashes if empty "labels|" field present

Try this example sites list:

name|test
desc|r3.to.sites grid3=ph sites=test
form|||%
labels|
3573010|5765410|-190|%6.91571045
3573030|5765410|-190|%6.91488743
3573050|5765410|-190|%6.91398621

seg.fault.


name: Markus Neteler

---------------------------------------------------------------------------

REMOTE_HOST: bermuda.geog.uni-hannover.de


Fri, Nov 9 2001 10:54:43    Area changed to bug by alange  
Fri, Nov 9 2001 11:39:22    Comments added by alange  
This problem is still there, i can confirm.

I think the segfault occours somewhere in 
void sites_describe(void) in file describe.c

From experimenting i conclude that the problem must be somewhere in the sites
library, not in the s.info module. But i am not shure. 

Andreas
Fri, Nov 9 2001 15:34:49    Priority changed to 40 by alange  
Fri, Jan 4 2002 18:00:09    User changed to neteler@itc.it by mneteler  
Sat, Apr 13 2002 15:11:37    Mail sent by gclements  
The problem was that the code which parsed the labels string didn't
allow for sscanf() returning EOF (-1).
Sat, Apr 13 2002 15:12:54    Status changed to resolved by gclements  
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