[GRASS-dev] [bug #5176] (grass) v.in.ogr: segfault when a full
path to dsn is missing
Hamish
hamish_nospam at yahoo.com
Sun Oct 1 19:30:10 EDT 2006
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=5176
> -------------------------------------------------------------------------
>
> Subject: v.in.ogr: segfault when a full path to dsn is missing
>
> Uisng current CVS on x86 Linux. Built from source.
>
> I have a shapefile in:
>
> $ ls $HOME/force_lrconnect_cl_onlycat139
> force_lrconnect_cl_onlycat139.dbf force_lrconnect_cl_onlycat139.shp
> force_lrconnect_cl_onlycat139.prj force_lrconnect_cl_onlycat139.shx
>
> v.in.ogr segfaults if I specify dsn as "force_lrconnect_cl_onlycat139/":
>
> $ v.in.ogr dsn=force_lrconnect_cl_onlycat139/ \
> output=force_lrconnect_cl_onlycat139_import \
> layer=force_lrconnect_cl_onlycat139 min_area=0.0001 snap=-1 --o
>
> WARNING: The vector 'force_lrconnect_cl_onlycat139_import' already exists
> and will be overwritten.
> A datum name wgs84 (WGS_1984) was specified without transformation parameters.
> Note that the GRASS default for wgs84 is towgs84=0.000,0.000,0.000.
> Projection of input dataset and current location appear to match.
> Proceeding with import...
> WARNING: The vector 'force_lrconnect_cl_onlycat139_import' already exists
> and will be overwritten.
> WARNING: Table 'force_lrconnect_cl_onlycat139_import' linked to vector did
> not exist.
> Layer: force_lrconnect_cl_onlycat139
> WARNING: Column name changed: 'cat' -> 'cat_'
> Segmentation fault
>
> If I specify a full path /home/shoofi/orce_lrconnect_cl_onlycat139/ then it
> works OK.
(undocumented?) tip:
v.in.ogr dsn=force_lrconnect_cl_onlycat139.shp
does it work then?
what if you change the dir name to something not the same as the filename?
Hamish
More information about the grass-dev
mailing list