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

GRASS GIS trac at osgeo.org
Mon Feb 16 11:50:29 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:25 mmetz]:
 > Replying to [comment:24 martinl]:
 > > Replying to [comment:23 mmetz]:
 > >
 > > > > 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.
 > >
 > > I have created extra builds (no. 1225), and tested G71. It seems to be
 fixed. Thanks! Could you backport it today?
 >
 > OK, backported to relbr70 in r64654.

 I have also fixed valgrind's uninitialized value warnings in r64656,7
 (trunk, relbr70).

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



More information about the grass-dev mailing list