pcbnew crashes on OSX when exiting zone settings dialog

Bug #1819553 reported by Christoph Nieß
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Critical
Seth Hillbrand

Bug Description

When changing an existing zone, roughly every fourth try, pcbnew will crash while redrawing the zone after pressing OK. It is not necessary to change any zone setting, just opening the dialog and hitting OK is enough.

OSX crash report is attached.

Kicad Version Info:
Application: kicad
Version: (5.1.0-7-ga51459ade), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.54.0 LibreSSL/2.6.4 zlib/1.2.11 nghttp2/1.24.1
Platform: Mac OS X (Darwin 18.2.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (UTF-8,STL containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.54.0
    Compiler: Clang 9.0.0 with C++ ABI 1002

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

Tags: pcbnew
Revision history for this message
Christoph Nieß (toffi-mixedstuff) wrote :
tags: added: pcbnew
Changed in kicad:
importance: Undecided → Critical
milestone: none → 6.0.0-rc1
Revision history for this message
Christoph Nieß (toffi-mixedstuff) wrote :

To make things easier, the pcb file I encountered this one with might help...

Seth Hillbrand (sethh)
Changed in kicad:
milestone: 6.0.0-rc1 → 5.1.1
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I cannot duplicate this on Linux so it may be MacOS only.

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

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

Changed in kicad:
status: New → Fix Committed
assignee: nobody → Seth Hillbrand (sethh)
Revision history for this message
Frank Severinsen (shack) wrote :

My coworker just had a crash when changing the priority of a zone. He has probably done this on ~50 zones, but only last one crashed.

Im not sure if this is the same bug, bug I'm asking here before posting a seperate bug.

Weird thing is he is running linux.

Application: kicad
Version: 5.1.0-060a0da~80~ubuntu18.10.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) nghttp2/1.32.1 librtmp/2.3
Platform: Linux 4.18.0-16-generic 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.61.0
    Compiler: GCC 8.2.0 with C++ ABI 1013

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

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

It is possible that this could affect Linux, just not as easily/often. Unfortunately, I can't make out much from the stack trace. Can your coworker run a 5.1 nightly? Or let us know if it happens in 5.1.1. If it does, then we are different.

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.