[GRASS-dev] [GRASS GIS] #1761: v.net.steiner broken

GRASS GIS trac at osgeo.org
Sat Oct 6 23:44:41 PDT 2012


#1761: v.net.steiner broken
-------------------------+--------------------------------------------------
 Reporter:  cmbarton     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  critical     |   Milestone:  6.4.3                    
Component:  Vector       |     Version:  unspecified              
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 v.net.steiner is broken.

 I created a network in the nc_08 demo data set from streets_wake and
 highschools extracted from schools_wake. When I ran v.net.steiner, I got
 the following error:

 {{{

 (Sat Oct  6 23:39:56 2012)
 v.net.steiner input=hs_net_g6 at spatialtech2012 output=hs_steiner_g6
 tcats=4-164
 Number of terminals: 21
 Number of Steiner points set to 19
 v.net.steiner(65199) malloc: *** mmap(size=233472) failed
 (error code=12)
 *** error: can't allocate region
 *** set a breakpoint in malloc_error_break to debug
 Current region rows: 1350, cols: 1500
 ERROR: G_malloc: unable to allocate 233168 bytes of memory at main.c:475

 }}}

 It is broken in trunk (GRASS 7) too, but there is no error in GRASS 7. It
 just silently fails. v.net.spanning tree seems to be working incorrectly
 too. It largely reproduces the original network rather than finding a
 minimum set of connections between nodes.

 Michael

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1761>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list