[GRASS-dev] [GRASS GIS] #1134: WinGrass - 3D view mode crashes

GRASS GIS trac at osgeo.org
Fri Aug 20 09:38:49 EDT 2010


#1134: WinGrass - 3D view mode crashes
------------------------------+---------------------------------------------
 Reporter:  hellik            |       Owner:  grass-dev@…              
     Type:  defect            |      Status:  new                      
 Priority:  normal            |   Milestone:  7.0.0                    
Component:  wxGUI             |     Version:  svn-trunk                
 Keywords:  wingrass, wxnviz  |    Platform:  MSWindows Vista          
      Cpu:  x86-32            |  
------------------------------+---------------------------------------------
 after fixing #1125 (wingrass - ctypes - compiling error) there is now the
 3d view mode in the wxgui available on the windows platform.

 but if you try to switch to the 3d view mode, the whole wxgui crashes and
 disappears.

 tested with a self compiled WinGrass7 and the nc sample-dataset:


 {{{
 g.region -p
 D2/5: G__read_Cell_head
 D2/5: G__read_Cell_head_array
 D3/5: region item: proj:       99
 D3/5: region item: zone:       0
 D3/5: region item: north:      320000
 D3/5: region item: south:      10000
 D3/5: region item: east:       935000
 D3/5: region item: west:       120000
 D3/5: region item: cols:       1630
 D3/5: region item: rows:       620
 D3/5: region item: e-w resol:  500
 D3/5: region item: n-s resol:  500
 D3/5: region item: top:        500
 D3/5: region item: bottom:     -500
 D3/5: region item: cols3:      815
 D3/5: region item: rows3:      310
 D3/5: region item: depths:     10
 D3/5: region item: e-w resol3: 1000
 D3/5: region item: n-s resol3: 1000
 D3/5: region item: t-b resol:  100
 D2/5: G__read_Cell_head
 D2/5: G__read_Cell_head_array
 D3/5: region item: proj:       99
 D3/5: region item: zone:       0
 D3/5: region item: north:      228500
 D3/5: region item: south:      215000
 D3/5: region item: east:       645000
 D3/5: region item: west:       630000
 D3/5: region item: cols:       1500
 D3/5: region item: rows:       1350
 D3/5: region item: e-w resol:  10
 D3/5: region item: n-s resol:  10
 D3/5: region item: top:        1
 D3/5: region item: bottom:     0
 D3/5: region item: cols3:      1500
 D3/5: region item: rows3:      1350
 D3/5: region item: depths:     1
 D3/5: region item: e-w resol3: 10
 D3/5: region item: n-s resol3: 10
 D3/5: region item: t-b resol:  1
 projection: 99 (Lambert Conformal Conic)
 zone:       0
 datum:      nad83
 ellipsoid:  a=6378137 es=0.006694380022900787
 north:      228500
 south:      215000
 west:       630000
 east:       645000
 nsres:      10
 ewres:      10
 rows:       1350
 cols:       1500
 cells:      2025000
 }}}


 {{{
 GRASS 7.0.svn> D1/5: grass.script.core.start_command(): g.gisenv -n
 D2/5: G__read_Cell_head
 D2/5: G__read_Cell_head_array
 D3/5: region item: proj:       99
 D3/5: region item: zone:       0
 D3/5: region item: north:      228500
 D3/5: region item: south:      215000
 D3/5: region item: east:       645000
 D3/5: region item: west:       630000
 D3/5: region item: cols:       1500
 D3/5: region item: rows:       1350
 D3/5: region item: e-w resol:  10
 D3/5: region item: n-s resol:  10
 D3/5: region item: top:        1
 D3/5: region item: bottom:     0
 D3/5: region item: cols3:      1500
 D3/5: region item: rows3:      1350
 D3/5: region item: depths:     1
 D3/5: region item: e-w resol3: 10
 D3/5: region item: n-s resol3: 10
 D3/5: region item: t-b resol:  1
 D3/5: GS_set_att_defaults
 D3/5: G_str_to_color(): str = 'white'
 D3/5: GS_clear
 D3/5: GS_init_view
 D3/5: GS_get_aspect(): left=0, right=19, top=19, bottom=0
 D3/5: GS_set_focus(): 500.000000,500.000000,0.000000
 D3/5: GS_get_zrange(): min=3.1112e-039 max=3.1117e-039
 D3/5: GS_get_aspect(): left=0, right=19, top=19, bottom=0
 D3/5: GS_set_infocus
 D1/5: Nviz_set_light_position(): num = 1 x = 0.680000 y = -0.680000 z =
 0.800000 w = 0.000000
 D1/5: Nviz_set_light_bright(): num = 1 value = 0.800000 r = 0.800000 g =
 0.800000 b = 0.800000
 D1/5: Nviz_set_light_color(): num = 1 r = 255/0.800000 g = 255/0.800000 b
 = 255/0.800000
 D1/5: Nviz_set_light_ambient(): num = 1 value = 0.200000
 D1/5: Nviz_set_light_position(): num = 2 x = 0.000000 y = 0.000000 z =
 1.000000 w = 0.000000
 D1/5: Nviz_set_light_bright(): num = 2 value = 0.500000 r = 0.500000 g =
 0.500000 b = 0.500000
 D1/5: Nviz_set_light_color(): num = 2 r = 255/0.500000 g = 255/0.500000 b
 = 255/0.500000
 D1/5: Nviz_set_light_ambient(): num = 2 value = 0.300000
 D1/5: G_find_raster2(): name=elevationg7 at g7 mapset=
 D5/5: gs_num_surfaces(): num=0
 D3/5: GS_new_surface():
 D5/5: gs_get_new_surface(): id=110658
 D5/5: gs_init_surf() id=110658
 D5/5: gs_set_defaults(): id=110658
 D5/5: gs_set_att_src(): id=110658 desc=5 src=2
 D5/5: gs_get_att_src(): id=110658, desc=5
 D3/5:     id=110658
 D3/5: GS_load_att_map(): map=elevationg7 at g7
 D5/5: gs_get_surf():
 D5/5:   id=110658
 D5/5: gs_set_att_src(): id=110658 desc=1 src=1
 D5/5: gs_get_att_src(): id=110658, desc=1
 D1/5: G_find_raster2(): name=elevationg7 at g7 mapset=
 D2/5: G__read_Cell_head
 D2/5: G__read_Cell_head_array
 D3/5: region item: proj:       99
 D3/5: region item: zone:       0
 D3/5: region item: north:      228500
 D3/5: region item: south:      215000
 D3/5: region item: east:       645000
 D3/5: region item: west:       630000
 D3/5: region item: cols:       1500
 D3/5: region item: rows:       1350
 D3/5: region item: e-w resol:  10
 D3/5: region item: n-s resol:  10
 D3/5: region item: format:     -1
 D3/5: region item: compressed: 1
 D3/5: GS_load_att_map(): elevationg7 at g7 not loaded in correct form -
 loading now
 D5/5: gs_get_att_typbuff(): id=110658 desc=1 to_write=1
 D1/5: G_find_raster2(): name=elevationg7 at g7 mapset=
 D1/5: G_find_raster2(): name=elevationg7 at g7 mapset=g7
 D3/5: Gs_numtype(): fp map detected
 D5/5: gs_malloc_att_buff
 D5/5: gs_set_att_type(): desc=1, type=32
 D5/5: gsds_alloc_typbuff(): 253.800000 Kbytes allocated, current total =
 253.800000
 D5/5: gs_malloc_att_buff
 D5/5: gs_set_att_type(): desc=1, type=8
 D5/5: gsds_alloc_typbuff(): 8100.000000 Kbytes allocated, current total =
 8353.800000
 D3/5: Gs_loadmap_as_float(): name=elevationg7 at g7
 D1/5: G_find_raster2(): name=elevationg7 at g7 mapset=
 D1/5: G_find_raster2(): name=elevationg7 mapset=g7
 D2/5: G__read_Cell_head
 D2/5: G__read_Cell_head_array
 D3/5: region item: proj:       99
 D3/5: region item: zone:       0
 D3/5: region item: north:      228500
 D3/5: region item: south:      215000
 D3/5: region item: east:       645000
 D3/5: region item: west:       630000
 D3/5: region item: cols:       1500
 D3/5: region item: rows:       1350
 D3/5: region item: e-w resol:  10
 D3/5: region item: n-s resol:  10
 D3/5: region item: format:     -1
 D3/5: region item: compressed: 1
 D1/5: G_find_raster2(): name=elevationg7 mapset=g7
 D1/5: G_find_raster2(): name=elevationg7 mapset=g7
 D1/5: G_find_raster2(): name=elevationg7 mapset=g7
 D1/5: G_find_raster2(): name=elevationg7 mapset=g7
 D1/5: G_find_raster2(): name=elevationg7 mapset=g7
 }}}

 Helmut

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



More information about the grass-dev mailing list