Ticket #1126 (closed defect: fixed)

Opened 22 months ago

Last modified 8 months ago

3D view crashing when started with vector data

Reported by: pobsteta Owned by: martinl
Priority: critical Milestone: 7.0.0
Component: wxGUI Version: svn-trunk
Keywords: wxNviz Cc: grass-dev@…
Platform: MacOSX CPU: OSX/Intel

Description

Hi all,

I use this command to compile grass 7 svn on my ubuntu : CFLAGS="-march=native-g -Wall" ./configure --enable-debug --enable-64bit --with-libs=/usr/lib64 --with-cxx --with-readline --with-freetype=yes --with-freetype-includes="/usr/include/freetype2/" --enable-largefile=yes --with-proj-share=/usr/local/share/proj/ --with-geos=/usr/local/bin/geos-config --with-cairo --with-tcltk-includes="/usr/include/tcl8.4/" --with-wxwidgets=yes --with-postgres=yes --with-postgres-libs=/usr/include/postgresql/libpq --with-postgres-includes=/usr/include/postgresql --with-sqlite=yes --with-python=yes --with-opengl-libs=/usr/include/GL --with-ffmpeg=yes --with-ffmpeg-includes="/usr/include/libavcodec /usr/include/libavformat /usr/include/libswscale" --with-nls --with-blas=yes --with-lapack=yes

the compile index no errors, make -j8 and make install grass70 works fine but the view3D crash ? NVIZ works fine with tcl/tk. @+

/grass/home/pascal/Bureau/Capture-Terminal.png

Attachments

Capture-Terminal.png Download (68.9 KB) - added by pobsteta 22 months ago.
crash image

Change History

Changed 22 months ago by pobsteta

crash image

  Changed 22 months ago by nikos

May I suggest to change the summary to clearly refer to the "view-3D" crashing?

Nikos

follow-up: ↓ 3   Changed 22 months ago by martinl

  • keywords wxNviz added
  • component changed from Compiling to wxGUI
  • summary changed from grass 7 svn compile on ubuntu 10.04 lucid 64 bits to 3D view crashing

Please try out fresh SVN. The error occurs when starting 3D view mode in wxGUI?

in reply to: ↑ 2   Changed 22 months ago by nikos

Replying to martinl:

Please try out fresh SVN. The error occurs when starting 3D view mode in wxGUI?

Works fine here.

follow-up: ↓ 10   Changed 22 months ago by helena

  • platform changed from Linux to MacOSX

On mac, in today's (Aug 16) update it crashes wxGUI when I have a raster (elevation) and a vector (roadsmajor) in map layer list and I switch to 3D view. It does not crash when there is only raster elevation. Helena

follow-up: ↓ 6   Changed 14 months ago by helena

  • cpu changed from x86-64 to OSX/Intel
  • summary changed from 3D view crashing to 3D view crashing when started with vector data

More details about this for trunk compiled March 26, 2011: entire wxGUI crashes after adding vector points or lines, it gives the following error when trying to switch to 3D view with both elevation and vector layer selected (using nc_spm data set, I had elevation and point firestations in map layers list, but it gives the error for line vector busroutes as well)

(Traceback - no module named adw.advancedsplash)
v.info <t> is not a valid flag
is it trying to run v.info -t?

in reply to: ↑ 5 ; follow-ups: ↓ 7 ↓ 8   Changed 14 months ago by hamish

Replying to helena:

but it gives the error for line vector busroutes as well)

> (Traceback - no module named adw.advancedsplash)
> v.info <t> is not a valid flag
> is it trying to run v.info -t?

v.info printing flags were changed in trunk. I quite disagree with that change and would like to revert it before too long, as it introduces a contextual meaning extra level of abstraction to learn/deal with, makes life harder for command line users while offering dubious advantage to the module's GUI users, fixes what wasn't broken in the first place, and makes the module inconsistent with other core module usage (which IMNSHO should not be moved away from flags either, and certainly not without widespread positive feedback/consensus).

best, Hamish

in reply to: ↑ 6   Changed 14 months ago by martinl

Replying to hamish:

v.info printing flags were changed in trunk. I quite disagree with that change and would like to revert it before too long, as it introduces a contextual meaning extra level of abstraction to

I was just waiting for some discussion, more opinions. I received only yours negative one and nothing more. So I will revert changes v.info at this point.

in reply to: ↑ 6 ; follow-up: ↓ 9   Changed 14 months ago by martinl

Replying to hamish:

to learn/deal with, makes life harder for command line users while offering dubious advantage to the module's GUI users, fixes what wasn't broken in the first place, and makes the module

btw, here should be used grass.vector_topo_info()

inconsistent with other core module usage (which IMNSHO should not be moved away from flags either, and certainly not without widespread positive feedback/consensus).

In other words without any feedback (except yours negative), doesn't matter if positive.

in reply to: ↑ 8   Changed 14 months ago by martinl

  • cc grass-dev@… added
  • owner changed from grass-dev@… to martinl
  • status changed from new to assigned

Replying to martinl:

Replying to hamish:

to learn/deal with, makes life harder for command line users while offering dubious advantage to the module's GUI users, fixes what wasn't broken in the first place, and makes the module

btw, here should be used grass.vector_topo_info()

fixed in r45779

in reply to: ↑ 4   Changed 9 months ago by martinl

Replying to helena:

On mac, in today's (Aug 16) update it crashes wxGUI when I have a raster (elevation) and a vector (roadsmajor) in map layer list and I switch to 3D view. It does not crash when there is only raster elevation. Helena

still with current trunk?

  Changed 9 months ago by helena

it works now - if I include grass6 vector data it suggests to rebuild topology and after rebuilding, I can switch to 3D without trouble. I think that this can be closed,

Helena

  Changed 8 months ago by martinl

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.