[GRASS5] problem with G_get_null_value_row &/or mapset searches in my own program

Roger Bivand Roger.Bivand at nhh.no
Sat May 3 04:29:06 EDT 2003


On Sat, 3 May 2003, Glynn Clements wrote:

> 
> Scott W Mitchell wrote:
> 
> 
> > I've compared my program to others in the source tree, and as far as I 
> > can see I am using it identically.  So I got it into a debugger and 
> > found that the core dump is actually happening "further in", when 
> > G_get_cell_hd calls G_is_reclass ...
> 
> I don't see how G_get_null_value_row() can end up calling
> G_get_cellhd().

As far as I can see using cflow (an old but trusted utility for printing a 
graph of a function's call hierarchy) G_get_null_value_row() does not call 
G_get_cellhd(), nor do any of the functions called by it all the way 
through its call hierarchy.

Although this isn't relevant here, Markus did ask me to remind him about 
cflow, which, since it comes from the same era as much of the code (at 
least in libes/gis), does show what is calling what, or what is called by 
what if inverted.

Roger

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no




More information about the grass-dev mailing list