[GRASS-dev] [GRASS GIS] #380: v.select: segfault in dig_alloc_points
GRASS GIS
trac at osgeo.org
Mon Nov 24 13:21:21 EST 2008
#380: v.select: segfault in dig_alloc_points
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Keywords: | Platform: Linux
Cpu: x86-64 |
----------------------+-----------------------------------------------------
GRASS 6.4 SVN r34374, Debian testing amd64.
{{{
$ gdb v.select
(gdb) run ainput=gshhs_f_land atype=line alayer=1 binput=region btype=line
blayer=1 output=sel operator=overlap --o
Starting program: /usr/local/grass-6.4.svn/bin/v.select
ainput=gshhs_f_land at PERMANENT atype=line alayer=1 binput=region at PERMANENT
btype=line blayer=1 output=sel operator=overlap --o
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at
0000000000000120
[New Thread 0x7ff2df7ed710 (LWP 16527)]
WARNING: Vector map <sel> already exists and will be overwritten
Processing vector features...
100%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ff2df7ed710 (LWP 16527)]
0x00007ff2de5f488a in dig_alloc_points (points=0x0, num=1)
at struct_alloc.c:237
237 alloced = points->alloc_points;
(gdb) bt
#0 0x00007ff2de5f488a in dig_alloc_points (points=0x0, num=1)
at struct_alloc.c:237
#1 0x00007ff2df4e9a8b in Vect_copy_xyz_to_pnts (Points=0x0,
x=0x7fffe7923320,
y=0x7fffe7923318, z=0x7fffe7923310, n=1) at line.c:118
#2 0x00007ff2df4e854d in find_cross (id=2, arg=0x7fffe7923444)
at intersect.c:1095
#3 0x00007ff2de3dc962 in RTreeSearch (N=0x39bbbd0, R=0x7fffe7923400,
shcb=0x7ff2df4e82e5 <find_cross>, cbarg=0x7fffe7923444) at index.c:65
#4 0x00007ff2df4e8e42 in Vect_line_check_intersection (APoints=0x39b6250,
BPoints=0x39b7820, with_z=0) at intersect.c:1273
#5 0x0000000000402a44 in main (argc=10, argv=0x7fffe7924988) at
main.c:270
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/380>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list