Opened 14 years ago
Closed 14 years ago
#1134 closed defect (fixed)
WinGrass - 3D view mode crashes
Reported by: | hellik | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.0 |
Component: | wxGUI | Version: | svn-trunk |
Keywords: | wingrass, wxnviz | Cc: | |
CPU: | x86-32 | Platform: | MSWindows Vista |
Description
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@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@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@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@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@g7 mapset= D1/5: G_find_raster2(): name=elevationg7@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@g7 D1/5: G_find_raster2(): name=elevationg7@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
Attachments (1)
Change History (5)
follow-up: 2 comment:1 by , 14 years ago
follow-up: 3 comment:2 by , 14 years ago
Replying to hellik:
Replying to hellik:
as a side note, I've tried tcltk-nviz in the selfcompiled wingrass7 and there are similar error messages, for example:
[...] > D3/5: GS_load_att_map(): elevationg7@g7 not loaded in correct form - loading now [...]very interesting, because in a self compiled wingrass7 from yesterday (r43155) tcltk-nviz was working.
Helmut
tested with WinGRASS-7.0.SVN-r43232-1-Setup.exe from http://josef.fsv.cvut.cz/wingrass/grass70/
all errors and all crashes (3dviewmode and tcltk-nviz) are the same as in the initial report. see also attached error-popup from tcltk-nviz
the same location (nc-sample-dataset), the wingrass64-tcltk-nviz and wingrass65-tcltk-nviz are working normally.
Helmut
by , 14 years ago
Attachment: | WinGrass7_nviz_24082010_210915.png added |
---|
comment:3 by , 14 years ago
Replying to hellik:
Replying to hellik:
Replying to hellik:
as a side note, I've tried tcltk-nviz in the selfcompiled wingrass7 and there are similar error messages, for example:
[...] > D3/5: GS_load_att_map(): elevationg7@g7 not loaded in correct form - loading now [...]very interesting, because in a self compiled wingrass7 from yesterday (r43155) tcltk-nviz was working.
Helmut
tested with WinGRASS-7.0.SVN-r43232-1-Setup.exe from http://josef.fsv.cvut.cz/wingrass/grass70/
all errors and all crashes (3dviewmode and tcltk-nviz) are the same as in the initial report. see also attached error-popup from tcltk-nviz
the same location (nc-sample-dataset), the wingrass64-tcltk-nviz and wingrass65-tcltk-nviz are working normally.
Helmut
now tested with a self compiled wingrass7-installer at r43283, the 3dviewmode in the wxgui is now working, so I will close the ticket.
Helmut
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to hellik:
as a side note, I've tried tcltk-nviz in the selfcompiled wingrass7 and there are similar error messages, for example:
very interesting, because in a self compiled wingrass7 from yesterday (r43155) tcltk-nviz was working.
Helmut