[GRASSLIST:6125] Re: s.in.ascii debug

Glynn Clements glynn.clements at virgin.net
Wed Apr 23 14:49:58 EDT 2003


Schuyler Fishman wrote:

> Could anyone tell me what this error message might mean and how to 
> debug it?

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

It probably means that s.in.ascii has effectively already crashed,
i.e. its internal state has become corrupted.

If this is on MacOSX, the first thing to check is that the ASCII file
is using LF line terminators and not CR. Running "od -t c <filename>"
should show "\n" after each record, and not "\r".

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list