[GRASS-dev] [GRASS GIS] #2583: v.net: crash on Windows

GRASS GIS trac at osgeo.org
Mon Feb 16 03:25:07 PST 2015


#2583: v.net: crash on Windows
-------------------------+--------------------------------------------------
 Reporter:  mlennert     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  blocker      |   Milestone:  7.0.0                    
Component:  LibVector    |     Version:  svn-releasebranch70      
 Keywords:  v.net        |    Platform:  MSWindows 8              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by mmetz):

 Replying to [comment:21 martinl]:
 > Replying to [comment:18 martinl]:
 > > Replying to [comment:14 martinl]:
 > >
 > > it seems to crash at source:grass/trunk/vector/v.net/connect.c#L87
 >
 > more precisely it's somewhere here:
 source:grass/trunk/lib/vector/Vlib/write.c#L231. In my case before calling
 rewrite fn from array `points = 04033a60`, inside `V2_rewrite_line_nat()`
 it's lost `points = 00000002`.

 The bug was differing function parameter types in the fn arrays, causing
 memory corruption. Fixed in trunk r64644, tested on MS Windows and Linux.
 I will backport the fix if the nightly build of trunk works by tomorrow.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2583#comment:23>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list