#384: wxGUI: vdigit crashes on a big map
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Comment (by msieczka):
Discard "Map details" above - wrong map.
vdigit was able to open the map, but crashed and left it with topology
missing. Now I have to wait 10 hours to rebuild it on a quite fast
computer. Shoot. Working with big vector maps in GRASS is still a
nightmare.
Anyway, here's the correct map info, copied from another source (a QGIS
bug report where that map crashed Xorg when trying to display it, http://trac.osgeo.org/qgis/ticket/1430; interestingly the same map in
GRASS X monitors crashes Xorg too, but not in wxGUI):
it was slow & used a huge amount of memory, but it didn't crash.
(g65, amd64, debian/lenny)
some wxVdigit notes:
- chosen map name box on left not wide enough
- digitize points and move vertex buttons remain depressed.
after clicking on extra tools menu, that button stays depressed as
well.
- memory from top: VIRT 1775m, RES 1.3g, SHR 28m python
- it is slow but functional when zoomed in.
when zoomed to full extent of map it pegs my local eth0, CPU (Xorg +
ssh) near 100% for 10 minutes (& counting) while it attempts to redraw.
(session tunneled over ssh to the machine down the hall with 8gig RAM)
#384: wxGUI: vdigit crashes on a big map
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: vdigit
Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Comment (by hamish):
Replying to [comment:2 hamish]:
> - digitize points and move vertex buttons remain depressed.
> after clicking on extra tools menu, that button stays
> depressed as well.
ie they do not act like radio buttons. pressing one does not release
another.
I can select them all until every button is depressed except for the 3 on
the right: undo config exit.
#384: wxGUI: vdigit crashes on a big map
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: vdigit
Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Comment (by hamish):
Replying to [comment:4 martinl]:
> Replying to [comment:2 hamish]:
>
> > - digitize points and move vertex buttons remain depressed.
> > after clicking on extra tools menu, that button stays
> > depressed as well.
>
> fixed in r40316. Martin
excellent; thanks. I notice that the menu buttons on the right still stay
depressed until you click something new instead of raising themselves as
soon as the menu is gone. a minor thing, but a bit weird.
#384: wxGUI: vdigit crashes on a big map
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: vdigit
Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Comment (by martinl):
Replying to [comment:5 hamish]:
> excellent; thanks. I notice that the menu buttons on the right still
stay depressed until you click something new instead of raising themselves
as soon as the menu is gone. a minor thing, but a bit weird.
I think it's desired features, it shows that some tool from additional
tools is selected. Martin
#384: wxGUI: vdigit crashes on a big map
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: vdigit
Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Comment (by mmetz):
Replying to [comment:2 hamish]:
> is there a way to count number of vertices? that is masked in the v.info
-t output.
Only through v.build (XXX vertices registered) because the number of
vertices is not stored in topo and every primitive must be read.
So I'm not sure how it compares, but here I tried:
> [snip]
>
> it was slow & used a huge amount of memory, but it didn't crash.
>
It's partially slow and needs a huge amount of memory because topo keeps a
list of updated features when opening a vector in update mode. This is
unused and disabled in grass7, one effect is that vdigit in grass7 is a
bit faster and uses less memory than in grass6.
#384: wxGUI: vdigit crashes on a big map
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: vdigit
Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Changes (by hamish):
* priority: critical => normal
Comment:
keeping open as it would be nice if vdigit closed a bit more gracefully if
the map is too big, but downgrading severity as making things more memory
efficient for really huge maps isn't quickly solvable or surprising.