2010/3/20 Glynn Clements <[email protected]>:
>
> Soeren Gebbert wrote:
>
>> Problem solved in Revision 41496.
>
> So ...
>
>> > param.type = G_define_option();
>> > param.type->key = "type";
>> > param.type->type = TYPE_STRING;
>> > param.type->required = NO;
>> > param.type->answer = "confined"; <----- this parameter is the reason for 
>> > the segfault
>
> ... is this statement incorrect?

First i thought my code is wrong, but now i think this is correct. The
reason for the segfault was in parser.c. I reproduced it with other
modules setting a default answer.

>
> Because this appears to have nothing to do with  r41496.

The segfault in parser.c only appeared in case a module set a default
answer. So IMHO this is related to the problem which was reported by
Massimo. Now r.gwflow works as expected.

Soeren

>
> --
> Glynn Clements <[email protected]>
>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to