[GRASS-dev] [GRASS GIS] #2814: digitizer crashes, leaves vector broken

GRASS GIS trac at osgeo.org
Thu Jan 7 03:58:02 PST 2016


#2814: digitizer crashes, leaves vector broken
--------------------------+-------------------------------
  Reporter:  harrikoo     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  blocker      |  Milestone:  7.0.3
 Component:  wxGUI        |    Version:  7.0.2
Resolution:               |   Keywords:  digitizer, vector
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------------

Comment (by mlennert):

 Replying to [comment:7 martinl]:
 > Replying to [comment:1 mlennert]:
 > > 1.
 > >
 > > * Digitize one straight line.
 > > * Digitize a second straight line that crosses the first
 > > * Hit undo
 > >
 > > => Segmentation fault
 > >
 > > 2.
 > >
 > > * Digitize an area with the last line crossing the first
 > > * Undo
 > >
 > > => Segmentation fault
 > >
 > >
 > > 3.
 > >
 > > * Digitize one straight line
 > > * Undo
 > > * Redo
 > >
 > > => Segmentation fault
 >
 > 1. and 3. should be fixed in r67508. I don't understand 2. (what does
 mean "an area with the last line crossing the first"?)

 2. means: digitize an area, but instead of closing the area correctly, you
 draw the last (closing) line in a way that it intersects the first (or
 actually any of the other lines making up your area) and then you undo.
 It's just another case of intersecting lines causing problems with undo...

 Everything works great now. Thanks a lot for this fix !

 Could others help testing if they can find any bad side effects of this
 change ?

 If not, and unless someone (MarkusM ?) has any special reason to delay
 this, I would suggest to backport this to release70

 Moritz

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2814#comment:8>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list