[GRASS-dev] [GRASS GIS] #2929: v.generalize: Segmentation fault in Vect_line_intersection2()

GRASS GIS trac at osgeo.org
Fri Feb 19 23:19:02 PST 2016


#2929: v.generalize: Segmentation fault in Vect_line_intersection2()
--------------------------+---------------------------------
 Reporter:  neteler       |      Owner:  grass-dev@…
     Type:  defect        |     Status:  new
 Priority:  normal        |  Milestone:  7.0.4
Component:  Vector        |    Version:  svn-releasebranch70
 Keywords:  v.generalize  |        CPU:  Unspecified
 Platform:  Unspecified   |
--------------------------+---------------------------------
 {{{
 GRASS 7.0.3svn (nc_spm_08_grass7):~ > v.generalize input=soils_general
 layer=1 type=area type=line,boundary,area method=douglas threshold=5.0
 look_ahead=7 reduction=50 slide=0.5 angle_thresh=3 degree_thresh=0
 closeness_thresh=0 betweeness_thresh=0 alpha=1.0 beta=1.0 iterations=1
 output=soils_general_simpl
 Copying features...
  100%
 Building topology for vector map <soils_general_simpl at user1>...
 Registering primitives...
 5209 primitives registered
 279192 vertices registered
 Building areas...
  100%
 1428 areas built
 244 isles built
 Attaching islands...
  100%
 Attaching centroids...
  100%
 Number of nodes: 2597
 Number of primitives: 5209
 Number of points: 0
 Number of lines: 0
 Number of boundaries: 3781
 Number of centroids: 1428
 Number of areas: 1428
 Number of isles: 244
 -----------------------------------------------------
 Generalization (douglas)...
 Using threshold: 5 meters
 Segmentation fault (core dumped)
 }}}



 With debugger:
 {{{
 GRASS 7.0.3svn (nc_spm_08_grass7):~ > gdb v.generalize
 GNU gdb (GDB) Fedora 7.10.1-30.fc23
 ...
 (gdb) r input=soils_general layer=1 type=area type=line,boundary,area
 method=douglas threshold=5.0 look_ahead=7 reduction=50 slide=0.5
 angle_thresh=3 degree_thresh=0 closeness_thresh=0 betweeness_thresh=0
 alpha=1.0 beta=1.0 iterations=1 output=soils_general_simpl --o
 Starting program: /home/neteler/software/grass70/dist.x86_64-pc-linux-
 gnu/bin/v.generalize input=soils_general layer=1 type=area
 type=line,boundary,area method=douglas threshold=5.0 look_ahead=7
 reduction=50 slide=0.5 angle_thresh=3 degree_thresh=0 closeness_thresh=0
 betweeness_thresh=0 alpha=1.0 beta=1.0 iterations=1
 output=soils_general_simpl --o
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib64/libthread_db.so.1".
 WARNING: Vector map <soils_general_simpl> already exists and will be
          overwritten
 Detaching after fork from child process 18105.
 Detaching after fork from child process 18106.
 Detaching after fork from child process 18107.
 Detaching after fork from child process 18108.
 Detaching after fork from child process 18109.
 Copying features...
  100%
 Building topology for vector map <soils_general_simpl at user1>...
 Registering primitives...
 5209 primitives registered
 279192 vertices registered
 Building areas...
  100%
 1428 areas built
 244 isles built
 Attaching islands...
  100%
 Attaching centroids...
  100%
 Number of nodes: 2597
 Number of primitives: 5209
 Number of points: 0
 Number of lines: 0
 Number of boundaries: 3781
 Number of centroids: 1428
 Number of areas: 1428
 Number of isles: 244
 -----------------------------------------------------
 Generalization (douglas)...
 Using threshold: 5 meters

 Program received signal SIGSEGV, Segmentation fault.
 0x00007ffff7baab16 in Vect_line_intersection2 (APoints=0x62fe50,
 BPoints=0x0, ABox=0x7fffffffb9e0, BBox=0x7fffffffb9e0,
     ALines=0x7fffffffb9d0, BLines=0x7fffffffb9d8, nalines=0x7fffffffb9b4,
 nblines=0x7fffffffb9b8, with_z=0) at intersect2.c:690
 690         if (APnts->n_points < 2 || BPnts->n_points < 2) {
 }}}


 Backtrace
 {{{
 (gdb) bt full
 #0  0x00007ffff7baab16 in Vect_line_intersection2 (APoints=0x62fe50,
 BPoints=0x0, ABox=0x7fffffffb9e0, BBox=0x7fffffffb9e0,
     ALines=0x7fffffffb9d0, BLines=0x7fffffffb9d8, nalines=0x7fffffffb9b4,
 nblines=0x7fffffffb9b8, with_z=0) at intersect2.c:690
         i = 6486896
         j = 0
         k = 11203548
         l = 0
         nl = 94
         last_seg = 0
         seg = 32767
         last = 71
         n_alive_cross = 0
         dist = 5.9287877500949585e-323
         curdist = -nan(0xf800000004981)
         last_x = 6.953355806905321e-310
         last_y = 0
         last_z = 3.1955138316468477e-317
         x = 3.2001540961925887e-317
         y = 4.6442170709077175e-322
         XLines = 0xc90
         Points = 0x18
         Points1 = 0x7fffffffb830
         Points2 = 0x0
         seg1 = -18816
         seg2 = 32767
         vert1 = -153539728
         vert2 = 32767
         abbox = {N = 311049.46883242996, S = 298877.99983042991, E =
 470788.96780117997, W = 452701.90679917997,
           T = 9.9999999999999995e-07, B = -9.9999999999999995e-07}
         bo_queue = {count = 12151696, alloc = 0, i = 0x6}
         qi = {l = 18657, s = -32768, p = -18657, e = 32767}
         found = 0x7fffffffb720
         bo_ta = 0x2
         bo_tb = 0x62b0d0
         bo_t_trav = {tree = 0x0, curr_node = 0x7c00000077, up = {0x32,
 0x62000000c9, 0x6, 0x0, 0x6e00000061,
             0x7ffff6d92b40 <main_arena>, 0xc, 0x1eb50, 0xb984b0, 0x40f1e8,
 0x3, 0x7fffffffb7f0, 0x20, 0x7ffff70db8f5,
             0x7fff00000047, 0x7fffffffb810, 0xffff800000004811,
 0x7fffffffb7ef, 0x0, 0x3000000003, 0x0, 0x0, 0x6e0000005b, 0x0, 0x0,
             0x7c00000077, 0x6e0000005d, 0x0, 0x0, 0x7c00000077, 0x4,
 0x7ffff6d92b40 <main_arena>, 0x20, 0x40f238, 0x40f210,
             0x40f1e8, 0x40f1cf, 0x7ffff6a5a950 <malloc+80>, 0x40f210,
 0x7ffff70db8f5, 0x7fffffffb930, 0x7ffff70bc3c6 <G__malloc+70>,
             0x0, 0x20, 0xe500000000, 0x7ffff7bd00a0, 0x6e0000005b,
 0xb7b6a0, 0x0, 0x7c00000077, 0x0, 0x7ffff70db8f5, 0x7fffffffb950,
             0x40f238, 0x40f210, 0x7ffff6d92b40 <main_arena>, 0x20,
 0x40f238, 0x40f210, 0x40f1e8, 0x40f1cf,
             0x7ffff6a5a950 <malloc+80>, 0x411c34f461134c64,
 0x7ffff70db8f5}, top = -17952, first = 32767}
 ---Type <return> to continue, or q <return> to quit---
         same = 0
 #1  0x000000000040e866 in check_topo (Out=0x7fffffffc3e0, line=1,
 APoints=0xb7b9a0, Points=0x62fe50, Cats=0x62fe80) at misc.c:212
         i = 1082222060
         j = -1732403045
         intersect = 1076144781
         newline = 0
         left_old = 1092369170
         right_old = -698033653
         left_new = 1091750490
         right_new = 0
         box = {N = 311049.46883142996, S = 298877.99983142992, E =
 470788.96780017996, W = 452701.90680017998, T = 0, B = 0}
         BPoints = 0xb7b670
         List = 0xb7b6a0
         AXLines = 0x0
         BXLines = 0x0
         naxlines = 0
         nbxlines = 0
 #2  0x000000000040a55b in main (argc=19, argv=0x7fffffffd4e8) at
 main.c:559
         after = 0
         not_modified_boundaries = 0
         n_oversimplified = 0
         APoints = 0xb7b9a0
         In = {format = 0, temporary = 0, dblnk = 0x87fe50, plus = {version
 = {topo = {major = 5, minor = 1, back_major = 5,
                 back_minor = 1}, spidx = {major = 5, minor = 1, back_major
 = 5, back_minor = 1}, cidx = {major = 5, minor = 0,
                 back_major = 5, back_minor = 0}}, with_z = 0, spidx_with_z
 = 0, off_t_size = 4, head_size = 142,
             spidx_head_size = 113, cidx_head_size = 9, release_support =
 0, port = {byte_order = 0, off_t_size = 0,
               dbl_cnvrt = "\000\001\002\003\004\005\006\a", flt_cnvrt =
 "\000\001\002\003", lng_cnvrt = "\000\001\002\003",
               int_cnvrt = "\000\001\002\003", shrt_cnvrt = "\000\001",
 off_t_cnvrt = "\000\001\002\003\004\005\006\a",
               dbl_quick = 1, flt_quick = 1, lng_quick = 1, int_quick = 1,
 shrt_quick = 1, off_t_quick = 1}, spidx_port = {
               byte_order = 0, off_t_size = 4, dbl_cnvrt =
 "\000\001\002\003\004\005\006\a", flt_cnvrt = "\000\001\002\003",
               lng_cnvrt = "\000\001\002\003", int_cnvrt =
 "\000\001\002\003", shrt_cnvrt = "\000\001",
               off_t_cnvrt = "\000\001\002\003\004\005\006\a", dbl_quick =
 1, flt_quick = 1, lng_quick = 1, int_quick = 1,
               shrt_quick = 1, off_t_quick = 1}, cidx_port = {byte_order =
 0, off_t_size = 0,
               dbl_cnvrt = "\000\001\002\003\004\005\006\a", flt_cnvrt =
 "\000\001\002\003", lng_cnvrt = "\000\001\002\003",
               int_cnvrt = "\000\001\002\003", shrt_cnvrt = "\000\001",
 off_t_cnvrt = "\000\001\002\003\004\005\006\a",
               dbl_quick = 1, flt_quick = 1, lng_quick = 1, int_quick = 1,
 shrt_quick = 1, off_t_quick = 1}, mode = 0, built = 4,
             box = {N = 318117.43783143, S = 10303.983831430087, E =
 930323.81280017993, W = 123971.19480017992, T = 0, B = 0},
             Node = 0x634140, Line = 0x68a540, Area = 0x6e5e60, Isle =
 0x712230, n_plines = 0, n_llines = 0, n_blines = 3781,
             n_clines = 1428, n_flines = 0, n_klines = 0, n_vfaces = 0,
 n_hfaces = 0, n_nodes = 2597, n_edges = 0, n_lines = 5209,
             n_areas = 1428, n_isles = 244, n_faces = 0, n_volumes = 0,
 n_holes = 0, alloc_nodes = 2597, alloc_edges = 0,
             alloc_lines = 5209, alloc_areas = 1428, alloc_isles = 244,
 alloc_faces = 0, alloc_volumes = 0, alloc_holes = 0,
 ---Type <return> to continue, or q <return> to quit---
             Node_offset = 142, Edge_offset = 0, Line_offset = 112578,
 Area_offset = 204831, Isle_offset = 250475, Volume_offset = 0,
             Hole_offset = 0, Spidx_built = 1, Spidx_new = 0, Spidx_file =
 1, spidx_fp = {file = 0x716c60, start = 0x0,
               current = 0x0, end = 0x0, size = 0, alloc = 0, loaded = 0},
 Node_spidx_offset = 228117, Line_spidx_offset = 669845,
             Area_spidx_offset = 794557, Isle_spidx_offset = 815977,
 Face_spidx_offset = 0, Volume_spidx_offset = 0,
             Hole_spidx_offset = 0, Node_spidx = 0x6301f0, Line_spidx =
 0x78d260, Area_spidx = 0x806750, Isle_spidx = 0x87fc40,
             Face_spidx = 0x0, Volume_spidx = 0x0, Hole_spidx = 0x0,
 update_cidx = 0, n_cidx = 2, a_cidx = 5, cidx = 0x6337f0,
             cidx_up_to_date = 1, coor_size = 15959831, coor_mtime = 0,
 uplist = {do_uplist = 0, uplines = 0x0, uplines_offset = 0x0,
               alloc_uplines = 0, n_uplines = 0, upnodes = 0x0,
 alloc_upnodes = 0, n_upnodes = 0}}, open = 1428335138, mode = 0,
           level = 2, head_only = 0, support_updated = 0, name = 0x6339e0
 "soils_general", mapset = 0x633aa0 "PERMANENT",
           location = 0x633ac0 "nc_spm_08_grass7", gisdbase = 0x633ae0
 "/home/neteler/grassdata", next_line = 1, constraint = {
             region_flag = 0, box = {N = 0, S = 0, E = 0, W = 0, T = 0, B =
 0}, type_flag = 0, type = 0, field_flag = 0, field = 0},
           proj = 0, hist_fp = 0x90cfb0, dgraph = {line_type = 0, graph_s =
 {iErrno = 0, Version = 0 '\000', Endian = 0 '\000',
               NodeAttrSize = 0, EdgeAttrSize = 0, aOpaqueSet = {0 <repeats
 16 times>}, cNode = 0, cHead = 0, cTail = 0, cAlone = 0,
               cEdge = 0, nnCost = 0, Flags = 0, nFamily = 0, nOptions = 0,
 pNodeTree = 0x0, pEdgeTree = 0x0, pNodeBuffer = 0x0,
               iNodeBuffer = 0, pEdgeBuffer = 0x0, iEdgeBuffer = 0,
 edgePrioritizer = {cEdge = 0, iEdge = 0, pEdgePri32Item = 0x0,
                 pvAVL = 0x0}, nodePrioritizer = {pvAVL = 0x0}}, spCache =
 {nStartNode = 0, NodeHeap = {index = 0, count = 0,
                 block = 0, pnode = 0x0}, pvVisited = 0x0, pvPredist =
 0x0}, edge_fcosts = 0x0, edge_bcosts = 0x0, node_costs = 0x0,
             cost_multip = 0}, head = {organization = 0x633b00 "NC OneMap",
 date = 0x633b20 "", user_name = 0x633b40 "helena",
             map_name = 0x633a40 "North Carolina general soils map (polygon
 map)", source_date = 0x633b80 "Mon Nov  6 15:46:05 2006",
             orig_scale = 1, comment = 0x633bb0 "", proj = 99, plani_zone =
 0, digit_thresh = 0, coor_version = {major = 5,
               minor = 1, back_major = 5, back_minor = 1}, with_z = 0, size
 = 15959831, head_size = 14, port = {byte_order = 0,
               off_t_size = 0, dbl_cnvrt =
 "\000\001\002\003\004\005\006\a", flt_cnvrt = "\000\001\002\003",
               lng_cnvrt = "\000\001\002\003", int_cnvrt =
 "\000\001\002\003", shrt_cnvrt = "\000\001",
               off_t_cnvrt = "\000\001\002\003\004\005\006\a", dbl_quick =
 1, flt_quick = 1, lng_quick = 1, int_quick = 1,
               shrt_quick = 1, off_t_quick = 1}, last_offset = 15959802,
 recycle = 0x0}, dig_fp = {file = 0x8f90d0, start = 0x0,
             current = 0x0, end = 0x0, size = 0, alloc = 0, loaded = 0},
 fInfo = {i = 0, ogr = {driver_name = 0x0, dsn = 0x0,
               layer_name = 0x0, driver = 0x0, ds = 0x0, layer = 0x0,
 dbdriver = 0x0, dsn_options = 0x0, layer_options = 0x0,
               cache = {lines = 0x0, lines_types = 0x0, lines_cats = 0x0,
 lines_alloc = 0, lines_num = 0, lines_next = 0, fid = 0,
                 sf_type = SF_GEOMETRY, ctype = 0}, feature_cache = 0x0,
 offset = {array = 0x0, array_num = 0, array_alloc = 0},
               next_line = 0}, pg = {conninfo = 0x0, db_name = 0x0,
 schema_name = 0x0, table_name = 0x0, fid_column = 0x0,
               geom_column = 0x0, feature_type = SF_GEOMETRY, coor_dim = 0,
 srid = 0, dbdriver = 0x0, fi = 0x0, inTransaction = 0,
               conn = 0x0, res = 0x0, cursor_name = 0x0, cursor_fid = 0,
 next_line = 0, cache = {lines = 0x0, lines_types = 0x0,
                 lines_cats = 0x0, lines_alloc = 0, lines_num = 0,
 lines_next = 0, fid = 0, sf_type = SF_GEOMETRY, ctype = 0},
               offset = {array = 0x0, array_num = 0, array_alloc = 0},
 topogeom_column = 0x0, toposchema_name = 0x0,
               toposchema_id = 0, topo_geo_only = 0}}, site_att = 0x0,
 n_site_att = 0, n_site_dbl = 0, n_site_str = 0}
         Out = {format = 0, temporary = 0, dblnk = 0x914230, plus =
 {version = {topo = {major = 0, minor = 0, back_major = 0,
                 back_minor = 0}, spidx = {major = 0, minor = 0, back_major
 = 0, back_minor = 0}, cidx = {major = 0, minor = 0,
                 back_major = 0, back_minor = 0}}, with_z = 0, spidx_with_z
 = 0, off_t_size = 0, head_size = 0, spidx_head_size = 0,
             cidx_head_size = 0, release_support = 0, port = {byte_order =
 0, off_t_size = 0,
               dbl_cnvrt = "\000\000\000\000\000\000\000", flt_cnvrt =
 "\000\000\000", lng_cnvrt = "\000\000\000",
               int_cnvrt = "\000\000\000", shrt_cnvrt = "\000", off_t_cnvrt
 = "\000\000\000\000\000\000\000", dbl_quick = 0,
 ---Type <return> to continue, or q <return> to quit---
               flt_quick = 0, lng_quick = 0, int_quick = 0, shrt_quick = 0,
 off_t_quick = 0}, spidx_port = {byte_order = 0,
               off_t_size = 0, dbl_cnvrt = "\000\000\000\000\000\000\000",
 flt_cnvrt = "\000\000\000", lng_cnvrt = "\000\000\000",
               int_cnvrt = "\000\000\000", shrt_cnvrt = "\000", off_t_cnvrt
 = "\000\000\000\000\000\000\000", dbl_quick = 0,
               flt_quick = 0, lng_quick = 0, int_quick = 0, shrt_quick = 0,
 off_t_quick = 0}, cidx_port = {byte_order = 0,
               off_t_size = 0, dbl_cnvrt = "\000\000\000\000\000\000\000",
 flt_cnvrt = "\000\000\000", lng_cnvrt = "\000\000\000",
               int_cnvrt = "\000\000\000", shrt_cnvrt = "\000", off_t_cnvrt
 = "\000\000\000\000\000\000\000", dbl_quick = 0,
               flt_quick = 0, lng_quick = 0, int_quick = 0, shrt_quick = 0,
 off_t_quick = 0}, mode = 1, built = 4, box = {
               N = 318117.43783143, S = 10303.983831430087, E =
 930323.81280017993, W = 123971.19480017992, T = 0, B = 0},
             Node = 0xa4c050, Line = 0xaf0020, Area = 0xb4ce60, Isle =
 0xb016c0, n_plines = 0, n_llines = 0, n_blines = 3781,
             n_clines = 1428, n_flines = 0, n_klines = 0, n_vfaces = 0,
 n_hfaces = 0, n_nodes = 2597, n_edges = 0, n_lines = 5209,
             n_areas = 1428, n_isles = 244, n_faces = 0, n_volumes = 0,
 n_holes = 0, alloc_nodes = 3000, alloc_edges = 0,
             alloc_lines = 6000, alloc_areas = 2000, alloc_isles = 1000,
 alloc_faces = 0, alloc_volumes = 0, alloc_holes = 0,
             Node_offset = 0, Edge_offset = 0, Line_offset = 0, Area_offset
 = 0, Isle_offset = 0, Volume_offset = 0, Hole_offset = 0,
             Spidx_built = 1, Spidx_new = 1, Spidx_file = 0, spidx_fp =
 {file = 0x0, start = 0x0, current = 0x0, end = 0x0, size = 0,
               alloc = 0, loaded = 0}, Node_spidx_offset = 0,
 Line_spidx_offset = 0, Area_spidx_offset = 0, Isle_spidx_offset = 0,
             Face_spidx_offset = 0, Volume_spidx_offset = 0,
 Hole_spidx_offset = 0, Node_spidx = 0x9110d0, Line_spidx = 0x911c40,
             Area_spidx = 0x912820, Isle_spidx = 0x913430, Face_spidx =
 0x0, Volume_spidx = 0x0, Hole_spidx = 0x0, update_cidx = 0,
             n_cidx = 2, a_cidx = 5, cidx = 0x914040, cidx_up_to_date = 1,
 coor_size = 0, coor_mtime = 0, uplist = {do_uplist = 0,
               uplines = 0x0, uplines_offset = 0x0, alloc_uplines = 0,
 n_uplines = 0, upnodes = 0x0, alloc_upnodes = 0,
               n_upnodes = 0}}, open = 1428335138, mode = 2, level = 2,
 head_only = 0, support_updated = 1,
           name = 0x90cb50 "soils_general_simpl", mapset = 0x90cb70
 "user1", location = 0x90cb90 "nc_spm_08_grass7",
           gisdbase = 0x90cbb0 "/home/neteler/grassdata", next_line = 0,
 constraint = {region_flag = 0, box = {N = 0, S = 0, E = 0,
               W = 0, T = 0, B = 0}, type_flag = 0, type = 0, field_flag =
 0, field = 0}, proj = 0, hist_fp = 0x910bb0, dgraph = {
             line_type = 0, graph_s = {iErrno = 0, Version = 0 '\000',
 Endian = 0 '\000', NodeAttrSize = 0, EdgeAttrSize = 0,
               aOpaqueSet = {0 <repeats 16 times>}, cNode = 0, cHead = 0,
 cTail = 0, cAlone = 0, cEdge = 0, nnCost = 0, Flags = 0,
               nFamily = 0, nOptions = 0, pNodeTree = 0x0, pEdgeTree = 0x0,
 pNodeBuffer = 0x0, iNodeBuffer = 0, pEdgeBuffer = 0x0,
               iEdgeBuffer = 0, edgePrioritizer = {cEdge = 0, iEdge = 0,
 pEdgePri32Item = 0x0, pvAVL = 0x0}, nodePrioritizer = {
                 pvAVL = 0x0}}, spCache = {nStartNode = 0, NodeHeap =
 {index = 0, count = 0, block = 0, pnode = 0x0},
               pvVisited = 0x0, pvPredist = 0x0}, edge_fcosts = 0x0,
 edge_bcosts = 0x0, node_costs = 0x0, cost_multip = 0}, head = {
             organization = 0x633a20 "NC OneMap", date = 0x90caa0 "",
 user_name = 0x90cac0 "helena",
             map_name = 0x9142c0 "North Carolina general soils map (polygon
 map)", source_date = 0x90cb00 "Mon Nov  6 15:46:05 2006",
             orig_scale = 1, comment = 0x90cb30 "", proj = 99, plani_zone =
 0, digit_thresh = 0, coor_version = {major = 5,
               minor = 1, back_major = 5, back_minor = 1}, with_z = 0, size
 = 0, head_size = 18, port = {byte_order = 0,
               off_t_size = 0, dbl_cnvrt =
 "\000\001\002\003\004\005\006\a", flt_cnvrt = "\000\001\002\003",
               lng_cnvrt = "\000\001\002\003", int_cnvrt =
 "\000\001\002\003", shrt_cnvrt = "\000\001",
               off_t_cnvrt = "\000\001\002\003\004\005\006\a", dbl_quick =
 1, flt_quick = 1, lng_quick = 1, int_quick = 1,
               shrt_quick = 1, off_t_quick = 1}, last_offset = 4469991,
 recycle = 0x0}, dig_fp = {file = 0x62fb70, start = 0x0,
             current = 0x0, end = 0x0, size = 0, alloc = 0, loaded = 0},
 fInfo = {i = 0, ogr = {driver_name = 0x0, dsn = 0x0,
               layer_name = 0x0, driver = 0x0, ds = 0x0, layer = 0x0,
 dbdriver = 0x0, dsn_options = 0x0, layer_options = 0x0,
               cache = {lines = 0x0, lines_types = 0x0, lines_cats = 0x0,
 lines_alloc = 0, lines_num = 0, lines_next = 0, fid = 0,
                 sf_type = SF_GEOMETRY, ctype = 0}, feature_cache = 0x0,
 offset = {array = 0x0, array_num = 0, array_alloc = 0},
 ---Type <return> to continue, or q <return> to quit---
               next_line = 0}, pg = {conninfo = 0x0, db_name = 0x0,
 schema_name = 0x0, table_name = 0x0, fid_column = 0x0,
               geom_column = 0x0, feature_type = SF_GEOMETRY, coor_dim = 0,
 srid = 0, dbdriver = 0x0, fi = 0x0, inTransaction = 0,
               conn = 0x0, res = 0x0, cursor_name = 0x0, cursor_fid = 0,
 next_line = 0, cache = {lines = 0x0, lines_types = 0x0,
                 lines_cats = 0x0, lines_alloc = 0, lines_num = 0,
 lines_next = 0, fid = 0, sf_type = SF_GEOMETRY, ctype = 0},
               offset = {array = 0x0, array_num = 0, array_alloc = 0},
 topogeom_column = 0x0, toposchema_name = 0x0,
               toposchema_id = 0, topo_geo_only = 0}}, site_att = 0x0,
 n_site_att = 0, n_site_dbl = 0, n_site_str = 0}
         Error = {format = 1809973248, temporary = -4163, dblnk =
 0x7ffff6d91b80, plus = {version = {topo = {major = -134471680,
                 minor = 32767, back_major = -136363730, back_minor =
 32767}, spidx = {major = 0, minor = 0, back_major = 6,
                 back_minor = 0}, cidx = {major = -134492104, minor =
 32767, back_major = -136407415, back_minor = 32767}},
             with_z = 1, spidx_with_z = 32767, off_t_size = -134485304,
 head_size = 140737488341408, spidx_head_size = -1759510528,
             cidx_head_size = 140737488342560, release_support =
 -136407949, port = {byte_order = 32767, off_t_size = 1,
               dbl_cnvrt = "\377\177\000\000\370\345\373", <incomplete
 sequence \367>, flt_cnvrt = "\377\177\000",
               lng_cnvrt = "\020\314\377\377", int_cnvrt = "\377\177\000",
 shrt_cnvrt = "\004",
               off_t_cnvrt = "\000\000\000\000\000\000", <incomplete
 sequence \316>, dbl_quick = 32767, flt_quick = -136407949,
               lng_quick = 32767, int_quick = 1, shrt_quick = 32767,
 off_t_quick = -134227560}, spidx_port = {byte_order = 32767,
               off_t_size = -13248, dbl_cnvrt =
 "\377\177\000\000\002\000\000", flt_cnvrt = "\000\000\000",
               lng_cnvrt = "0\320\377\377", int_cnvrt = "\377\177\000",
 shrt_cnvrt = "s\224",
               off_t_cnvrt = "\336\367\377\177\000\000\001", dbl_quick =
 32767, flt_quick = -134488064, lng_quick = 32767,
               int_quick = -13200, shrt_quick = 32767, off_t_quick =
 -1740636160}, cidx_port = {byte_order = -1, off_t_size = -12144,
               dbl_cnvrt = "\377\177\000\000s\224\336", <incomplete
 sequence \367>, flt_cnvrt = "\377\177\000",
               lng_cnvrt = "\001\000\000", int_cnvrt = "\377\177\000",
 shrt_cnvrt = <incomplete sequence \367>,
               off_t_cnvrt = "\373\367\377\177\000\000\240", <incomplete
 sequence \314>, dbl_quick = 32767, flt_quick = 4,
               lng_quick = 0, int_quick = -12144, shrt_quick = 32767,
 off_t_quick = -136407949}, mode = 32767, built = 1, box = {
               N = 6.9533491634441538e-310, S = 6.9533558071875807e-310, E
 = -nan(0xfffff99000000), W = 6.9533558072468686e-310,
               T = 6.9533490683868623e-310, B = 6.9531436082559572e-310},
 Node = 0x7ffff7fc0ac0, Line = 0x7fffffffcd00,
             Area = 0xffffffff99600000, Isle = 0x7fffffffd180, n_plines =
 -136407949, n_llines = 32767, n_blines = 1,
             n_clines = 32767, n_flines = -134478496, n_klines = 32767,
 n_vfaces = -13008, n_hfaces = 32767, n_nodes = -1715470336,
             n_edges = -1, n_lines = -11904, n_areas = 32767, n_isles =
 -136407949, n_faces = 32767, n_volumes = 1, n_holes = 32767,
             alloc_nodes = -134479872, alloc_edges = 32767, alloc_lines =
 -12960, alloc_areas = 32767, alloc_isles = -1709178880,
             alloc_faces = -1, alloc_volumes = -11904, alloc_holes = 32767,
 Node_offset = 140737351947379,
             Edge_offset = 140733193388033, Line_offset = 140737353882024,
 Area_offset = 140737488342416, Isle_offset = -1702887424,
             Volume_offset = 140737488343424, Hole_offset =
 140737351947379, Spidx_built = 1, Spidx_new = 32767,
             Spidx_file = -134474536, spidx_fp = {file = 0x7fffffffcdc0,
               start = 0xffffffff9ae00000 <error: Cannot access memory at
 address 0xffffffff9ae00000>,
               current = 0x7fffffffd180 "\030\322\377\377\377\177",
               end = 0x7ffff7de9473 <_dl_map_object_deps+595>
 "H\213M\230H\205\311\017\205\325\003", size = 17179869185,
               alloc = 140737353879552, loaded = -12816}, Node_spidx_offset
 = 25769803778, Line_spidx_offset = 140737488343424,
             Area_spidx_offset = 140737351947379, Isle_spidx_offset =
 60129542145, Face_spidx_offset = 140737353886320,
             Volume_spidx_offset = 140737488342560, Hole_spidx_offset =
 6917674184651309252, Node_spidx = 0x7fffffffd180,
             Line_spidx = 0x7ffff7de9473 <_dl_map_object_deps+595>,
 Area_spidx = 0x48320e2000000001,
             Isle_spidx = 0x7ffff7de5374 <check_match.isra+228>, Face_spidx
 = 0x7fffffffce50, Volume_spidx = 0x7ffff7fc2000,
 ---Type <return> to continue, or q <return> to quit---
             Hole_spidx = 0x7ffff69d9810, update_cidx = 873, n_cidx = 0,
 a_cidx = -134470864,
             cidx = 0x7ffff7de5c01 <do_lookup_x+2081>, cidx_up_to_date =
 873, coor_size = 140737330970368,
             coor_mtime = 140737353884384, uplist = {do_uplist =
 -134470864, uplines = 0x7fffffffcf78,
               uplines_offset = 0x7ffff7de5374 <check_match.isra+228>,
 alloc_uplines = -134474536, n_uplines = 32767,
               upnodes = 0x7ffff7ffe6e0, alloc_upnodes = -134241904,
 n_upnodes = 32767}}, open = 5, mode = 0, level = -134223344,
           head_only = 32767, support_updated = -136422399, name = 0x5
 <error: Cannot access memory at address 0x5>,
           mapset = 0x7ffff7ffa2b0 "", location = 0x7ffff7ffe9c0
 "\370\346\371\367\377\177",
           gisdbase = 0x7ffff7ffea10 "\016\243\377\367\377\177", next_line
 = -12328, constraint = {region_flag = -136424588, box = {
               N = 6.953349156807864e-310, S = 6.9533491640512617e-310, E =
 6.9533480289714083e-310, W = 2.0009658656570485e-321,
               T = 6.9533491640915774e-310, B = 6.9533490675647864e-310},
 type_flag = 405, type = 0, field_flag = -134471680,
             field = 32767}, proj = -157439188, hist_fp = 0x830, dgraph =
 {line_type = -134470864, graph_s = {iErrno = -136422399,
               Version = 255 '\377', Endian = 127 '\177', NodeAttrSize =
 2096, EdgeAttrSize = 140737330970368, aOpaqueSet = {
                 140737353884384, 140737353884464, 140737488343144,
 140737488343140, 140737353869608, 140737286732676,
                 140737330970368, 140737330916704, 140737286598040,
 140737488343144, 479434334, 7491161, 140733193388062,
                 140737488343360, 140737488343140, 140737488343344}, cNode
 = 140737353737040, cHead = 140737351930740, cTail = 105,
               cAlone = 140737353883648, cEdge = 140737330916652, nnCost =
 2224, Flags = 140737353884464, nFamily = 140737351932929,
               nOptions = 2224, pNodeTree = 0x7ffff69e7f00, pEdgeTree =
 0x7ffff7fc22e0,
               pNodeBuffer = 0x7ffff7fc2330 "j؞\366\377\177", iNodeBuffer =
 140737488343352, pEdgeBuffer = 0x7fffffffd134 "",
               iEdgeBuffer = 140737330912272, edgePrioritizer = {cEdge =
 -201622395, iEdge = 32767, pEdgePri32Item = 0x7ffff69e7f00,
                 pvAVL = 0x7ffff69dad60}, nodePrioritizer = {pvAVL =
 0x7ffff3f96a20}}, spCache = {nStartNode = 140737488343352,
               NodeHeap = {index = 2090266759, count = 32660418, block =
 140733193388039, pnode = 0x7fffffffd210},
               pvVisited = 0x7fffffffd134, pvPredist = 0x7fffffffd200},
 edge_fcosts = 0x7ffff7f9e350, edge_bcosts = 0x7fff00000000,
             node_costs = 0x69, cost_multip = -136424588}, head = {
             organization = 0xf3f99810 <error: Cannot access memory at
 address 0xf3f99810>, date = 0x7ffff7fc19a8 "",
             user_name = 0x7ffff4fc32c0
 "\017\343\262Ϥ\370\206^)#\350(\320\020\361\273Uzn1ٮ\332\067I\002\024\017\272\035\355\017(u\005ԯ0\232u\246\333˭\371d\351N\263\035\360\264\377\301V\257\002J\356\333F8
 \250m\277a:\254\016\301\022\305\316`\177\322\371\377ٍ\323xC\b\357\a_\001P\\\336\071\221N\031u\017:\352}\203\v8\374\361[\036\320\311\037[\032)\177\347\atS\311M\"-\377\332\360\022o\333G)\f\322\017+\201\177\314\375\305\036\254\ao\244Pd#\033\357\242\071\321\333\365/Eл\204\066\227\003'Du\371\240\367L\350L\320p\231\031B{[p'\260\230u\221\323*(\351P\325
 건r\030", <incomplete sequence \374\200\255>...,
             map_name = 0x3950 <error: Cannot access memory at address
 0x3950>, source_date = 0x7ffff7fc1cd8 "\234L\021\365\377\177",
             orig_scale = 140737351932929, comment = 0x3950 <error: Cannot
 access memory at address 0x3950>, proj = -184229288,
             plani_zone = 32767, digit_thresh = 6.9533491640073886e-310,
 coor_version = {major = -134472488, minor = 32767,
               back_major = -11752, back_minor = 32767}, with_z = -11756,
 size = 140737488343592, head_size = 140737304652546,
             port = {byte_order = -184229288, off_t_size = 32767, dbl_cnvrt
 = "\350\253\374\364\377\177\000",
               flt_cnvrt = "h\v", <incomplete sequence \365>, lng_cnvrt =
 "\377\177\000", int_cnvrt = "\030\322\377\377",
               shrt_cnvrt = "\377\177", off_t_cnvrt =
 "\000\000\016\343\262\317\000", dbl_quick = 54446988, flt_quick = 0,
               lng_quick = 14, int_quick = 0, shrt_quick = -11536,
 off_t_quick = 32767}, last_offset = 140737488343572,
             recycle = 0x7fffffffd2e0}, dig_fp = {file = 0x7ffff7f9e350,
             start = 0x7fff00000000 <error: Cannot access memory at address
 0x7fff00000000>,
             current = 0x69 <error: Cannot access memory at address 0x69>,
             end = 0x7fff00000000 <error: Cannot access memory at address
 0x7fff00000000>, size = 105, alloc = 0, loaded = 1},
 ---Type <return> to continue, or q <return> to quit---
           fInfo = {i = -134472448, ogr = {driver_name = 0x7fffffffd380
 "]", dsn = 0x7fffffffd3a8 "h\v\002\365\377\177",
               layer_name = 0x0, driver = 0x7ffff7fc19a8, ds = 0x0, layer =
 0x7ffff7de6050 <_dl_lookup_symbol_x+320>, dbdriver = 0xd,
               dsn_options = 0x0, layer_options = 0x1, cache = {lines =
 0x0, lines_types = 0x1, lines_cats = 0x7ffff7fc19a8,
                 lines_alloc = 1, lines_num = 0, lines_next = -134473304,
 fid = 73, sf_type = SF_GEOMETRY, ctype = 0},
               feature_cache = 0x7ffff7fc1d00, offset = {array =
 0x7fffffffd2f0, array_num = -134472448, array_alloc = 1},
               next_line = -11552}, pg = {conninfo = 0xcfb2e30e <error:
 Cannot access memory at address 0xcfb2e30e>,
               db_name = 0x7ffff50ceb02
 "_ZN20OGRXPlaneEnumerationC1EPKcPK19sEnumerationElementi",
               schema_name = 0xffffffff <error: Cannot access memory at
 address 0xffffffff>,
               table_name = 0x7ffff505d8cb "__cxa_atexit", fid_column =
 0x7ffff5020b68 "\252\b\b", geom_column = 0x7ffff7fc19a8 "",
               feature_type = 4137548136, coor_dim = 32767, srid =
 -134471680, dbdriver = 0x410, fi = 0x7fffffffd390,
               inTransaction = 64, conn = 0x7fffffffd3a0, res = 0x410,
 cursor_name = 0x7fffffffd37f "", cursor_fid = 2,
               next_line = 0, cache = {lines = 0x7fffffffd3c0, lines_types
 = 0xffff800000002c61, lines_cats = 0x7fffffffd39f,
                 lines_alloc = 16, lines_num = 0, lines_next = 66, fid = 2,
 sf_type = SF_GEOMETRY, ctype = 0}, offset = {
                 array = 0x6e0000005d, array_num = 0, array_alloc = 0},
 topogeom_column = 0x0,
               toposchema_name = 0x7c00000077 <error: Cannot access memory
 at address 0x7c00000077>, toposchema_id = 1,
               topo_geo_only = 0}}, site_att = 0x7ffff5020b68, n_site_att =
 -168946992, n_site_dbl = 32767, n_site_str = 19}
         Points = 0x62fe50
         Cats = 0x62fe80
         i = 1
         type = 4
         iter = 1
         module = 0x7ffff72e67a8 <state+40>
         map_in = 0x7ffff72e6808 <state+136>
         map_out = 0x62d860
         error_out = 0x62d920
         thresh_opt = 0x62daa0
         method_opt = 0x62d9e0
         look_ahead_opt = 0x62e120
         iterations_opt = 0x62e760
         cat_opt = 0x62e820
         alpha_opt = 0x62e5e0
         beta_opt = 0x62e6a0
         type_opt = 0x62d7a0
         field_opt = 0x62d6e0
         where_opt = 0x62e8e0
         reduction_opt = 0x62e1c0
         slide_opt = 0x62e260
         angle_thresh_opt = 0x62e300
         degree_thresh_opt = 0x62e3a0
         closeness_thresh_opt = 0x62e460
         betweeness_thresh_opt = 0x62e520
 ---Type <return> to continue, or q <return> to quit---
         notab_flag = 0x62e9c0
         loop_support_flag = 0x7ffff72e67d8 <state+88>
         with_z = 0
         total_input = 365
         total_output = 0
         thresh = 5
         alpha = 1
         beta = 1
         reduction = 50
         slide = 0.5
         angle_thresh = 3
         degree_thresh = 0
         closeness_thresh = 0
         betweeness_thresh = 0
         method = 0
         look_ahead = 7
         iterations = 1
         loop_support = 1
         layer = 1
         n_lines = 5209
         simplification = 1
         mask_type = 70
         cat_list = 0x0
         s = 0x62efa0 "douglas"
         descriptions = 0x62dbe0 "douglas;Douglas-Peucker
 Algorithm;douglas_reduction;Douglas-Peucker Algorithm with reduction
 parameter;lang;Lang Simplification Algorithm;reduction;Vertex Reduction
 Algorithm eliminates points close t"...
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2929>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list