[GRASS-dev] Re: [GRASS GIS] #361: v.mkgrid - segmentation fault
GRASS GIS
trac at osgeo.org
Sun Nov 16 15:49:42 EST 2008
#361: v.mkgrid - segmentation fault
----------------------+-----------------------------------------------------
Reporter: paoloC | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: svn-develbranch6
Resolution: | Keywords:
Platform: Linux | Cpu: x86-32
----------------------+-----------------------------------------------------
Comment (by paoloC):
Replying to [comment:3 marisn]:
> Paolo, can You, please, compile v.mkgrid with also "-g" flag and then
run it in gdb.
> Also provide region information.
If I compile with this:
CFLAGS="-O2 -march=pentium-m -Wall -g" ./configure ...
gdb `which v.mkgrid`
...
(gdb) run myvectgrid position=region grid=12,12 box=1,1 --o
Starting program: /usr/local/grass-6.4.svn/bin/v.mkgrid myvectgrid
position=region grid=12,12 box=1,1 --o
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at 000000d4
WARNING: 'box' option ignored with 'position=region'
[New Thread 0xb59c1940 (LWP 8329)]
0%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb59c1940 (LWP 8329)]
0xb799cd4b in sincos () from /usr/lib/libgdal1.5.0.so.1
Location is a simple xy loc:
g.region -p
projection: 0 (x,y)
zone: 0
north: 12
south: 0
west: 0
east: 12
nsres: 1
ewres: 1
rows: 12
cols: 12
cells: 144
I hope this will be useful.
Paolo
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/361#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list