Opened 6 years ago

Last modified 5 years ago

#3458 new defect

A vector consistently crashes digitizer

Reported by: harrik Owned by: grass-dev@…
Priority: normal Milestone: 7.6.2
Component: wxGUI Version: 7.2.0
Keywords: vector, digitization Cc:
CPU: Unspecified Platform: Linux

Description

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.

Attachments (1)

test.grascii (13.2 KB ) - added by harrik 6 years ago.

Download all attachments as: .zip

Change History (3)

by harrik, 6 years ago

Attachment: test.grascii added

comment:1 by martinl, 6 years ago

Milestone: 7.2.4

comment:2 by martinl, 5 years ago

Milestone: 7.2.47.6.2

Still relevant.

Note: See TracTickets for help on using tickets.