[GRASS5] [bug #1969] (grass) bug 1969: r.fill.dir segfaults
Harmisch Bowman via RT
grass-bugs at intevation.de
Sat Aug 9 03:19:13 EDT 2003
this bug's URL: http://intevation.de/rt/webrt?serial_num=1969
Request number 1969 was commented on by 'hbowman' (Harmisch Bowman).
Responding to this message will send mail to the requestor.
Request Tracker
rt at intevation.de
--------------------------------------------------------------
Cc: grass5 at grass.itc.it
[bug 1969]
doing a dumb debug, just populating grass/src/raster/r.fill.dir/ppupdate.c
with some printf()'s, the SegFault happens for me during the G_free(list) call.
call added here:
http://freegis.org/cgi-bin/viewcvs.cgi/grass/src/raster/r.fill.dir/ppupdate.c.diff?r1=1.2&r2=1.3
$ tail ppupdate.c
memcpy(this_elev,get_max(this_elev,list[ii].pp),bpe());
}
lseek(fe,-elev->sz,SEEK_CUR);
write(fe,elev->b[1],elev->sz);
}
printf("end of fill\n");
G_free(list);
printf("end of ppupdate\n");
}
GRASS:~ > r.fill.dir in=bathy elev=rfd_el dir=rfd_dir areas=rfd_err
[...]
end of looking for pairs
end of backtrace
end of fill
Segmentation fault
GRASS:~ >
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list