r.to.vect: `dbf` proc segfaults if MAPSET/dbf/ dir is missing
I'm just testing out the live dvd quickstart,
using spearfish location and elevation.10m as the input map, the dbf process crashes during the r.to.vect step. but if you immediately run it again it's fine. this is in a fresh mapset, there is a VAR file (which looks ok), but there was not a dbf/ dir yet. (I've now fixed the live dvd install script to force creation of that dir when it makes the mapset)
when you run r.to.vect you get a segfault in the
dbf program. if you allow overwrite, then click on [Run] again it works! so it seems that r.to.vect is recovering from there being no dbf/ dir and making it, but only too later after it was already fatal to the spawned dbf process. programs should never segfault, so maybe the first thing to do is add more error checking to dbf.c, then try to figure out how to get the dependency checks in the correct order, or block until they are finished.