[GRASS-dev] [GRASS GIS] #3429: g.gui.iclass: segfault when loading vector layer

GRASS GIS trac at osgeo.org
Wed Mar 21 07:00:41 PDT 2018


#3429: g.gui.iclass: segfault when loading vector layer
--------------------------+------------------------------------------
  Reporter:  mlennert     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.4.1
 Component:  wxGUI        |    Version:  svn-trunk
Resolution:               |   Keywords:  g.gui.iclass import segfault
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+------------------------------------------

Comment (by mlennert):

 Trying this with current trunk, just aopplying the first part of the
 patch, i.e.


 {{{


 Index: Vlib/open.c
 ===================================================================
 --- Vlib/open.c (revision 71523)
 +++ Vlib/open.c (working copy)
 @@ -960,7 +960,7 @@
      }
      G_debug(1, "Vect_open_tmp_new(): name = '%s' with_z = %d", name,
 with_z);

 -    return open_new(Map, tmp_name, with_z, TEMPORARY_MAP); /* temporary
 map */
 +    return open_new(Map, tmp_name, with_z, TEMPORARY_MAP_ENV); /*
 temporary map */
  }
 }}}

 does the trick for me.

 Anna, do you remember what the second part (in frame.py) was for ?

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



More information about the grass-dev mailing list