[GRASS-dev] trunk r47474 breaks OGSF rendering of points on surface

Maris Nartiss maris.gis at gmail.com
Thu Aug 18 11:07:29 EDT 2011


Clean compile of r47738

GRASS 7.0.svn (Latvija_LKS):~/soft/grass_trunk > g.gisenv set=DEBUG=5
GRASS 7.0.svn (Latvija_LKS):~/soft/grass_trunk > g.gisenv set=WX_DEBUG=5
GRASS 7.0.svn (Latvija_LKS):~/soft/grass_trunk > g.gui
Launching 'wxpython' GUI in the background, please wait...
GRASS 7.0.svn (Latvija_LKS):~/soft/grass_trunk > D1/5:
grass.script.core.start_command(): g.gisenv -n
D1/5: grass.script.core.start_command(): g.gisenv -n
D1/5: grass.script.core.start_command(): g.version -rg
D1/5: grass.script.core.start_command(): g.version -rg
D1/5: grass.script.core.start_command(): g.mapsets --q -p fs=newline
D1/5: grass.script.core.start_command(): g.list type=rast
D1/5: grass.script.core.start_command(): g.mapsets --q -p fs=newline
D1/5: grass.script.core.start_command(): g.list type=vect
D1/5: grass.script.core.start_command(): g.gisenv -n
GUI D3/5: CreateTool(): tool=605, label=newdisplay
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x36335b0> >
GUI D3/5: CreateTool(): tool=606, label=newdisplay
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x3633670> >
GUI D3/5: CreateTool(): tool=607, label=workspaceNew
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x36336e0> >
GUI D3/5: CreateTool(): tool=608, label=workspaceOpen
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x3634bb0> >
GUI D3/5: CreateTool(): tool=609, label=workspaceSave
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x3633620> >
GUI D3/5: CreateTool(): tool=610, label=addMulti
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x41ac3e0> >
GUI D3/5: CreateTool(): tool=611, label=addrast
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x41aaa30> >
GUI D3/5: CreateTool(): tool=612, label=rastmisc
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x41aaa50> >
GUI D3/5: CreateTool(): tool=613, label=addvect
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x41abc70> >
GUI D3/5: CreateTool(): tool=614, label=vectmisc
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x41ac450> >
GUI D3/5: CreateTool(): tool=615, label=addgrp bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x41ac160> >
GUI D3/5: CreateTool(): tool=616, label=addovl bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x41ad8b0> >
GUI D3/5: CreateTool(): tool=617, label=delcmd bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x41ad8d0> >
GUI D3/5: CreateTool(): tool=618, label=importMap
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x41b90d0> >
GUI D3/5: CreateTool(): tool=619, label=mapCalc
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x41b90f0> >
GUI D3/5: CreateTool(): tool=620, label=georect
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x41b9910> >
GUI D3/5: CreateTool(): tool=621, label=modeler
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x41b83d0> >
GUI D3/5: CreateTool(): tool=622, label=mapOutput
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x41b9a30> >
GUI D3/5: CreateTool(): tool=623, label=settings
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x41c2db0> >
GUI D3/5: CreateTool(): tool=624, label=help bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x41c2d70> >
GUI D3/5: CreateTool(): tool=625, label=vdigit bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x41c8430> >
GUI D3/5: CreateTool(): tool=626, label=attribute
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x41c84c0> >
GUI D1/5: GMFrame.NewDisplay(): idx=0
D1/5: grass.script.core.start_command(): g.tempfile -d pid=18676
D1/5: grass.script.core.start_command(): g.gisenv -n
GUI D1/5: gcmd.RunCommand(): g.proj -p
D1/5: grass.script.core.start_command(): g.proj -p
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D5/5: DecodeString(): enc=UTF-8
GUI D5/5: DecodeString(): enc=UTF-8
GUI D1/5: gcmd.RunCommand(): get return code 0
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D2/5: gcmd.RunCommand(): return stdout
'-PROJ_INFO-------------------------------------------------
name       : Transverse Mercator
proj       : tmerc
ellps      : grs80
lat_0      : 0
lon_0      : 24
k          : 0.9996
x_0        : 500000
y_0        : -6000000
towgs84    : 0,0,0,0,0,0,0
no_defs    : defined
-PROJ_UNITS------------------------------------------------
unit       : metre
units      : metres
meters     : 1
'
GUI D3/5: CreateTool(): tool=627, label=displaymap
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x4200410> >
GUI D3/5: CreateTool(): tool=628, label=rendermap
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x42009b0> >
GUI D3/5: CreateTool(): tool=629, label=erase bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x41ff7a0> >
GUI D3/5: CreateTool(): tool=630, label=pointer
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x42009d0> >
GUI D3/5: CreateTool(): tool=631, label=query bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x42009f0> >
GUI D3/5: CreateTool(): tool=632, label=pan bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x42059e0> >
GUI D3/5: CreateTool(): tool=633, label=zoomin bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x4205a00> >
GUI D3/5: CreateTool(): tool=634, label=zoomout
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x4206d60> >
GUI D3/5: CreateTool(): tool=635, label=zoomextent
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x4205950> >
GUI D3/5: CreateTool(): tool=636, label=zoomback
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x4205970> >
GUI D3/5: CreateTool(): tool=637, label=zoommenu
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x42084b0> >
GUI D3/5: CreateTool(): tool=638, label=analyze
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x420a250> >
GUI D3/5: CreateTool(): tool=639, label=dec bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x420b1c0> >
GUI D3/5: CreateTool(): tool=640, label=savefile
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x4208370> >
GUI D3/5: CreateTool(): tool=641, label=printmap
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x4208350> >
GUI D2/5: MapFrame._initDisplay():
GUI D2/5: Map.ChangeMapSize(): width=700, height=575
GUI D1/5: gcmd.RunCommand(): g.region -ugpc
D1/5: grass.script.core.start_command(): g.region -ugpc
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D5/5: DecodeString(): enc=UTF-8
GUI D5/5: DecodeString(): enc=UTF-8
GUI D1/5: gcmd.RunCommand(): get return code 0
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D2/5: gcmd.RunCommand(): return stdout
'n=338440
s=327896
w=547764
e=558776
nsres=4
ewres=4
rows=2636
cols=2753
cells=7256908
center_easting=553270.000000
center_northing=333168.000000
'
GUI D2/5: gcmd.RunCommand(): return ret, stdout
GUI D3/5: Map.GetRegion(): {u'rows': 2636.0, u'e': 558776.0, u'cells':
7256908.0, u'cols': 2753.0, u'center_northing': 333168.0, u'n':
338440.0, u'center_easting': 553270.0, u's': 327896.0, u'w': 547764.0,
u'ewres': 4.0, u'nsres': 4.0}
GUI D3/5: BufferedWindow.OnSize():
GUI D2/5: Map.ChangeMapSize(): width=698, height=533
GUI D4/5: BufferedWindow.ZoomHistory(): hist=[(338440.0, 327896.0,
558776.0, 547764.0)]
D1/5: grass.script.core.start_command(): g.gisenv -n
GUI D3/5: BufferedWindow.OnSize():
GUI D2/5: Map.ChangeMapSize(): width=698, height=533
GUI D3/5: BufferedWindow.OnSize():
GUI D2/5: Map.ChangeMapSize(): width=698, height=533
GUI D3/5: BufferedWindow.OnSize():
GUI D2/5: Map.ChangeMapSize(): width=698, height=533
GUI D4/5: BufferedWindow.OnPaint(): redrawAll=True
GUI D2/5: Map.ChangeMapSize(): width=698, height=533
GUI D3/5: Map.AdjustRegion(): {u'rows': 533.0, u'e': 558776.0,
u'cells': 372034.0, u'cols': 698.0, u'center_northing': 333168.0,
u'n': 338440.0, u'center_easting': 553270.0, u's': 327896.0, u'w':
547764.0, u'ewres': 15.776504297994268, u'nsres': 19.78236397748593}
GUI D3/5: Map.SetRegion(): n-s resol: 19.782364; n-s resol3: 4; rows:
533; north: 338440.0; t-b resol: 1; zone: 0; bottom: 0; rows3: 2636;
west: 547764.0; top: 1; cols: 698; cols3: 2753; depths: 1; e-w resol:
15.776504; proj: 99; e-w resol3: 4; east: 558776.0; south: 327896.0;
GUI D3/5: Map.Render() force=True
file=/home/maris/grass_data/Latvija_LKS/test_wms/.tmp/glacier/18676.0.ppm
GUI D5/5: BufferedWindow.Draw(): id=None, pdctype = clear, coord=[0, 0, 0, 0]
GUI D3/5: Map.GetListOfLayers(): numberof=0
D1/5: grass.script.core.start_command(): g.findfile -n file=MASK element=cell
GUI D1/5: BufferedWindow.UpdateMap(): render=True, renderVector=True -> time=0
GUI D4/5: BufferedWindow.OnPaint(): redrawAll=True
GUI D3/5: CreateTool(): tool=642, label=view bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x3659b70> >
GUI D3/5: CreateTool(): tool=643, label=surface
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x39c2bb0> >
GUI D3/5: CreateTool(): tool=644, label=vector bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x3b69350> >
GUI D3/5: CreateTool(): tool=645, label=volume bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x39c2b60> >
GUI D3/5: CreateTool(): tool=646, label=light bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x359dcc0> >
GUI D3/5: CreateTool(): tool=647, label=fringe bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x357e710> >
GUI D3/5: CreateTool(): tool=648, label=nviz_cmd
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x35a66f0> >
GUI D3/5: CreateTool(): tool=649, label=settings
bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at
0x3a43420> >
GUI D3/5: CreateTool(): tool=650, label=help bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x3594b90> >
GUI D3/5: CreateTool(): tool=651, label=quit bitmap=<wx._gdi.Bitmap;
proxy of <Swig Object of type 'wxBitmap *' at 0x3983ed0> >
GUI D5/5: BufferedWindow.Draw(): id=None, pdctype = clear, coord=[0, 0, 0, 0]
GUI D5/5: BufferedWindow.Draw(): id=None, pdctype = clear, coord=[0, 0, 0, 0]
GUI D5/5: BufferedWindow.Draw(): id=None, pdctype = clear, coord=[0, 0, 0, 0]
GUI D4/5: BufferedWindow.OnPaint(): redrawAll=True
GUI D1/5: gcmd.RunCommand(): g.region -ugpc
D1/5: grass.script.core.start_command(): g.region -ugpc
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D5/5: DecodeString(): enc=UTF-8
GUI D5/5: DecodeString(): enc=UTF-8
GUI D1/5: gcmd.RunCommand(): get return code 0
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D2/5: gcmd.RunCommand(): return stdout
'n=338440
s=327896
w=547764
e=558776
nsres=4
ewres=4
rows=2636
cols=2753
cells=7256908
center_easting=553270.000000
center_northing=333168.000000
'
GUI D2/5: gcmd.RunCommand(): return ret, stdout
GUI D3/5: Map.GetRegion(): {u'rows': 2636.0, u'e': 558776.0, u'cells':
7256908.0, u'cols': 2753.0, u'center_northing': 333168.0, u'n':
338440.0, u'center_easting': 553270.0, u's': 327896.0, u'w': 547764.0,
u'ewres': 4.0, u'nsres': 4.0}
GUI D3/5: Map.SetRegion(): n-s resol: 4.000000; n-s resol3: 4; rows:
2636; north: 338440.0; t-b resol: 1; zone: 0; bottom: 0; rows3: 2636;
west: 547764.0; top: 1; cols: 2753; cols3: 2753; depths: 1; e-w resol:
4.000000; proj: 99; e-w resol3: 4; east: 558776.0; south: 327896.0;
GUI D5/5: NvizThread.__init__():
D4/5: Rast_unset_window()
D2/5: G__read_Cell_head_array
D3/5: region item: n-s resol: 4.000000

Maris.

2011/8/18 Martin Landa <landa.martin at gmail.com>:
> Hi,
>
> 2011/8/18 Maris Nartiss <maris.gis at gmail.com>:
>> valgrind --trace-children=yes reports:
>> ==418== Stack overflow in thread 1: can't grow stack to 0x7fe05fff8
>> ==418==
>> ==418== Process terminating with default action of signal 11 (SIGSEGV)
>> ==418==  Access not within mapped region at address 0x7FE05FFF8
>> ==418==    at 0xAF49CA7: wxMBConv::WC2MB(char*, wchar_t const*,
>> unsigned long) const (in /usr/lib64/libwx_baseu-2.8.so.0.8.0)
>
> try to enable debug messages
>
> g.gisenv set=DEBUG=5
> g.gisenv set=WX_DEBUG=5
>
> Martin
>
> --
> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
>


More information about the grass-dev mailing list