[KICAD 5.0.1] PCBnew core dumped - Basic Shape Polygon

Bug #1798095 reported by Jorge Neiva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Critical
Seth Hillbrand

Bug Description

Pcbnew -> select PAD -> "Custom Shape Primitives" -> "Edit Primitive"

On "Basic Shape Polygon" remove all corners, when click on cancel get the following message on command line:

$ kicad
double free or corruption (out)
Aborted (core dumped)

it's easy to reproduce.

Kicad version:

Application: kicad
Version: 5.0.1-33cea8e~66~ubuntu18.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-36-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.65.1
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.58.0
    Compiler: GCC 7.3.0 with C++ ABI 1011

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

Seth Hillbrand (sethh)
Changed in kicad:
importance: Undecided → Critical
milestone: none → 5.0.2
Seth Hillbrand (sethh)
Changed in kicad:
status: New → In Progress
assignee: nobody → Seth Hillbrand (sethh)
Revision history for this message
Seth Hillbrand (sethh) wrote :

@Jorge- Can you attach the footprint for which this triggers? I am unable to generate the same error

Revision history for this message
Seth Hillbrand (sethh) wrote :

Ah, nevermind. I see it now.

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision cccf4cf20b09d73829b0b8dbb2f61ffdb12060aa
https://git.launchpad.net/kicad/patch/?id=cccf4cf20b09d73829b0b8dbb2f61ffdb12060aa

Changed in kicad:
status: In Progress → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.