[GRASS5] Random G_malloc/malloc SIGSEGV in s.qcount.

Eric G . Miller egm2 at jps.net
Sat Oct 28 16:24:32 EDT 2000


I'd appreciate any help figuring out why malloc() is generating a
Segment Violation in s.qcount.  The problem occurs randomly in the
G_malloc call of count.c.  I'm guessing that it's related to the random
number generation or something in findquads.c (which is called first).
I want to know if these segment violations occur on systems other than
pc-linux-gnu.

I have definetly tracked it to one particular instance of a G_malloc
call like 'counts = (int *) G_malloc(nquads * sizeof(int));'.  I'm
baffled.

-- 
#! /bin/sh
# ppp-address: What's my Internet Address for ppp0 ?
/sbin/ifconfig ppp0 2> /dev/null | grep 'inet addr:' | sed \
's=.*inet addr\:\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\).*=\1='

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list