[GRASS-dev] [GRASS GIS] #3458: A vector consistently crashes digitizer

GRASS GIS trac at osgeo.org
Tue Nov 28 02:57:29 PST 2017


#3458: A vector consistently crashes digitizer
----------------------------------+-------------------------
 Reporter:  harrik                |      Owner:  grass-dev@…
     Type:  defect                |     Status:  new
 Priority:  normal                |  Milestone:
Component:  wxGUI                 |    Version:  7.2.0
 Keywords:  vector, digitization  |        CPU:  Unspecified
 Platform:  Linux                 |
----------------------------------+-------------------------
 The attached vector consistently crashes the digitizer. It was originally
 imported form dxf via `v.in.ogr`, and was impossible to open in the
 digitizer. I then exported it with `v.out.ascii` (see the attached file)
 and tried opening it in a freshly created location, but even here, the
 digitizer crashes with this vector map. It may be possible to open it, but
 as soon as one zooms out so much that these lines should become visible,
 the digitizer crashes with this error message:

     G_malloc: unable to allocate 18446744073709551608 bytes of memory at
 lib/vector/vedit/render.c:312

 I do wonder if this has something to do with the amount of decimal digits
 in the file? Could it be that there's some kind of an overflow because of
 this? The dxf was originally exported from AutoCAD, and the lines with
 several digits in the coordinates are (my guess) approximations of curves
 perhaps created by `ogr`.

 Other vector operations seem to work fine, as far as I've tested.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3458>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list