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

Michael Barton Michael.Barton at asu.edu
Fri Mar 23 10:58:34 PDT 2018


Any chance this fix (if it works) could also fix what seems to be a similar issue in the digitizer?

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu















On Mar 21, 2018, at 7:00 AM, GRASS GIS <trac at osgeo.org<mailto:trac at osgeo.org>> wrote:

#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://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_ticket_3429-23comment-3A8&d=DwIGaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=oZK0xrkJDs8oPFEjZ-yWn9qL0v3BUh-PkDIkacJhiOo&s=sxT_T5cyOjnZ7qj5B3DoCJt6j4Ar3V4RJoDu3slAHes&e=>
GRASS GIS <https://urldefense.proofpoint.com/v2/url?u=https-3A__grass.osgeo.org&d=DwIGaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=oZK0xrkJDs8oPFEjZ-yWn9qL0v3BUh-PkDIkacJhiOo&s=_geIvQy40SIKnrzAjxnAYONOQxWTFq7rnSh0ZiLUFuo&e=>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180323/c8b8559c/attachment-0001.html>


More information about the grass-dev mailing list