[GRASS-dev] [GRASS GIS] #3487: vector digitizer unstable
GRASS GIS
trac at osgeo.org
Wed Mar 4 01:25:09 PST 2020
#3487: vector digitizer unstable
------------------------+-------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.6.2
Component: wxGUI | Version: 7.2.2
Resolution: | Keywords: digitizer, ctypes
CPU: OSX/Intel | Platform: MacOSX
------------------------+-------------------------------
Comment (by nila):
This is still an issue with 7.8 branch and master (7.9.dev), with Python
3.8.2 and wxPython 4.0.7.post2.
I managed to debug in steps:
{{{
scripts/g.gui.vdigit:80 VDigitMapFrame()
gui/wxpython/vdigit/toolbars.py:913 VDigitToolbar.StartEditing()
gui/wxpython/vdigit/wxdigit.py:1719 IVDigit.OpenMap()
gui/wxpython/vdigit/wxdisplay.py:1021 DisplayDriver.OpenMap()
lib/vector/Vlib/open.c:162-555 Vect__open_old)
}}}
Although it returns successfully (seemingly) from `Vect__open_old`, it
crashes at a point (but rarely identical point) soon after (while leaving
scope). This is why topology has to be rebuilt. While not yet been able to
pinpoint the cause, it seems to be a background thread causing the crash.
I'm thinking in lines of either wx binding issues or python garbage
collection. Both of which may behave just enough different than on other
platforms to make it a mac problem.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3487#comment:22>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list