[GRASS5] [bug #749] (grass) r.cost Segmentation Fault

Request Tracker grass-bugs at intevation.de
Thu Jun 7 23:46:56 EDT 2001


this bug's URL: http://intevation.de/rt/webrt?serial_num=749
-------------------------------------------------------------------------

Subject: r.cost Segmentation Fault

Platform: Mac OS X (Darwin 1.3.3)
Xwindows version: Xfree 4.0.x
Xwindows manager: Window Maker
TclTk version: tcl/tk 8.3
grass downloaded at: CVS Server, Germany
grass binary for platform: I compiled the sources myself
grass sources source: yes, I am using the latest GRASS from CVS
c compiler name: gcc

r.cost fails with a segmentation fault. 

In .../r.cost/cmd/memory.c at line 61, 
the assignment 'p2->higher = p1' occurs after p2 has been incremented 
by one past the end of the recently allocated memory. 

-------------------------------------------- Managed by Request Tracker



More information about the grass-dev mailing list