Opened 12 years ago

Closed 12 years ago

#1934 closed defect (duplicate)

v.overlay ends with sigsegv in cut lines by polygon

Reported by: mapycz Owned by: grass-dev@…
Priority: blocker Milestone: 7.0.0
Component: Vector Version: svn-trunk
Keywords: v.overlay Cc:
CPU: x86-64 Platform: Linux

Description

we tried cut contours by polygon but v.overaly crashed

our training dta consist of contour lines and polygon these data is in tar.bz2 archive in this location: http://work.talasek.sk:2222/download/grass_error.tar.bz2

here is some debug

GRASS 7.0.svn (test1):~/grassgis/grass-svn > gdb v.overlay
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/grass-7.0.svn/bin/v.overlay...done.
(gdb) run ainput=cnt_sm atype=line binput=cut_poly operator=and output=cnt_cut1 --overwrite
Starting program: /usr/local/grass-7.0.svn/bin/v.overlay ainput=cnt_sm atype=line binput=cut_poly operator=and output=cnt_cut1 --overwrite
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
WARNING: Vector map <cnt_cut1> already exists and will be overwritten
WARNING: Table <cnt_cut1> linked to vector map <cnt_cut1> does not exist
Copying vector features from <cnt_sm@miro>...
 100%
Copying vector features from <cut_poly@miro>...
 100%
Breaking lines...
   0%
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b7e55b in break_lines (Map=0x7fffffffc040, List_break=0x0, List_ref=0x61f8d0, type=6, Err=0x0, check=0) at break_lines.c:360
360                              !touch1_w && nodex == BBox->E) ||
(gdb) info local
APoints = 0x1276530
BPoints = 0x1276560
Points = 0x1276590
AXLines = 0x7ffff753328c
BXLines = 0x7fffffffa9b0
ACats = 0x12765c0
BCats = 0x12765e0
Cats = 0x1276600
i = 0
j = -1
k = 32767
l = -20688
ret = -138628762
atype = 4
btype = 4
aline = 17849
bline = 17849
found = 0
iline = 0
nlines = 13
nlines_org = 17861
naxlines = 32767
nbxlines = -7760
nx = 32767
xx = 0x0
yx = 0x0
zx = 0x0
ABox = {N = 5557464.4957634434, S = 5506178.6524737561, E = 790483.12121040502, W = 725733.38919512555, T = 0, B = 0}
BBox = 0x7fffe7415fe0
List = 0x1276620
nbreaks = 0
touch1_n = 1
touch1_s = 1
touch1_e = 1
touch1_w = 0
touch2_n = 1
touch2_s = 1
touch2_e = 1
touch2_w = 1
is3d = 0
node = 17862
anode1 = 17862
anode2 = 17863
bnode1 = 17862
bnode2 = 17863
nodex = 725733.38919512555
nodey = 5556926.5740271173
a_is_ref = 1
b_is_ref = 1
break_a = 1
break_b = 0
(gdb) }}}

Change History (2)

comment:1 by martinl, 12 years ago

Keywords: v.overlay added

comment:2 by mapycz, 12 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.