[GRASS5] GRASS 5.3 new bug in s.in.ascii

Michael Barton michael.barton at asu.edu
Mon Mar 22 13:23:23 EST 2004

I have hit a bug in GRASS 5.3--the first I've run into in a couple 
months of pretty solid work with this version.

When trying to import a simple text file into the sites format, I get 
an error if the file contains non-numeric strings. Here is the file I 
was trying to import


s.in.ascii sites=clearcreek_sites input=clearcreek_sites.txt fs=,

It doesn't matter whether or not I put quotes around the character 
strings. The error I get is:

*** malloc[14292]: error for object 0x357b: Pointer being reallocated 
was not allocated
ERROR: G_realloc: out of memory

If I get rid of the string fields (i.e., 'room' and 'roomblock'), it 
imports just fine.

I'd SWEAR this was working just fine in a previous version of 
s.in.ascii I was using last November. I didn't notice anything had been 
changed in the CVS for s.in.ascii in the past few months so I don't 
understand why this WAS working but isn't now.

Michael Barton
Michael Barton, Professor & Curator
Department of Anthropology
Arizona State University
Tempe, AZ  85287-2402

voice: 480-965-6262; fax: 480-965-7671
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1578 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20040322/1c891d72/attachment.bin

More information about the grass-dev mailing list