Wow, I am unable to recreate this on Linux with any of the procedures above. This smells like a memory issue but my first guess (in #13) apparently didn't help.
The redraw is clearly referencing an invalid pointer. The fact that it only gets this invalid pointer after failing to remove a point indicates that the points vector isn't being handled correctly in the undo code that gets called after failure.
Valgrind isn't giving me any pointers here.
@Wayne- It would be helpful if you could get the type of item the viewgroup is trying to draw in your crash. I suspect it is the overlay but I could be offbase
Application: pcbnew
Version: (5.1.0-108-g428e7a900b-dirty), release build
Libraries:
wxWidgets 3.0.4
libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-4-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.67.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.64.0
Compiler: GCC 8.3.0 with C++ ABI 1013
Wow, I am unable to recreate this on Linux with any of the procedures above. This smells like a memory issue but my first guess (in #13) apparently didn't help.
The redraw is clearly referencing an invalid pointer. The fact that it only gets this invalid pointer after failing to remove a point indicates that the points vector isn't being handled correctly in the undo code that gets called after failure.
Valgrind isn't giving me any pointers here.
@Wayne- It would be helpful if you could get the type of item the viewgroup is trying to draw in your crash. I suspect it is the overlay but I could be offbase
Application: pcbnew 108-g428e7a900b -dirty) , release build compatible with 2.8) GTK+ 3.24
Version: (5.1.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-4-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.67.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.64.0
Compiler: GCC 8.3.0 with C++ ABI 1013
Build settings: WX_GRAPHICS_ CONTEXT= OFF WX_OVERLAY= ON SCRIPTING= ON SCRIPTING_ MODULES= ON SCRIPTING_ PYTHON3= ON SCRIPTING_ WXPYTHON= ON SCRIPTING_ WXPYTHON_ PHOENIX= ON SCRIPTING_ ACTION_ MENU=ON GITHUB_ PLUGIN= ON USE_OCE= ON USE_OCC= OFF
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON