Comment 0 for bug 1736147

Revision history for this message
Sergey A. Borshch (sb-sf) wrote :

After attempting to remove zone cutout by deleting all of it corners, any action with zone leads to segmentation fault.

Steps to reproduce:

1) create zone.
2) choose selection tool.
3) Select zone.
4) Select "Zone->Add a zone cutout" in dropdown menu (without p.2 this item grayed out, why? And you have to return to p.2 every time to add another cutout to same zone).
5) select zone again, move cursor over every cutout corner and select "remove corner" in dropdown menu.
6) notice, that you are unable to delete last corner.
7) try to move any zone corner or side.

Version info (today's git master):
Application: pcbnew
Version: (2017-12-04 revision cd3122d)-master, release build
Libraries:
    wxWidgets 3.0.2
Platform: Linux 4.4.0-98-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.58.0
    Compiler: GCC 5.4.0 with C++ ABI 1009

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=OFF
    KICAD_SCRIPTING_MODULES=OFF
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=OFF
    KICAD_USE_OCE=OFF
    KICAD_SPICE=OFF