[GRASS5] Re: v.make.subj still crashes

Markus Neteler neteler at itc.it
Mon Nov 12 05:25:59 EST 2001


(cc to grass5)

On Sun, Nov 11, 2001 at 08:19:57PM +0000, Glynn Clements wrote:
Content-Description: message body and .signature
> 
> Markus Neteler wrote:
> 
> > I have been trying your bugfix, unfortunately the command
> > still crashes at the same strcmd line:
> > 
> > v.make.subj map=soils subj=subj               
> > 
> > 
> >     Reading category file soils
> >            Adding new categ. :    1
> >         SUBJect category processing finished
> >           1 categorie(s) added
> > Segmentation fault
> > 
> > Perhaps you can try above in the SPEARFISH dataset?
> 
> Yes, it crashes.
> 
> Even after I'd fixed the bug with it using the wrong mapset (see
> latest revision), it still crashes, as the "struct Categories" as
> initialised by G__read_cats() is bogus.
> 
> I don't know whether this is because of a bug in G__read_cats(), or
> because the file which v.make.subj creates is bogus (although
> G__read_cats should indicate such). The file in question is attached
> (yes, that's a literal Ctrl-D character; I have no idea what it's
> doing there).
> 
> Basically, the overall code quality is so low that I don't consider it
> worth looking any further. If such a program is required, it should be
> written from scratch.

thanks for looking at it again. I will take it off from the
compile list (maybe the related SUBST modules

v.import.html
v.in.scsgef.html
v.make.subj.html
v.merge.html

as well? Is anyone out there who really needs these modules (even when
they crash :-) ?

Markus




More information about the grass-dev mailing list