Pcbnew crashes when flipping board, saving and opening again
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Critical
|
Maciej Suminski |
Bug Description
I tried merging two boards using Pcbnew standalone to make a stencil for two boards.
The layers I was interested where different for the two boards so I flipped one of them, exported the gerbers and then closed Pcbnew.
When trying to open the file again Pcbnew crashed.
I found later that this also happens when lauching Pcbnew from KiCad and only while using the modern toolset (accelerated).
Steps to reproduce:
1. Open the attached project.
2. Select the board and flip it, save and close Pcbnew
3. Open again the pcb file.
If you refill the zones before saving and after flipping then Pcbnew doesn't crash.
gdb shows a segfault in include/
Application: kicad
Version: (5.0.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.60.0 GnuTLS/3.5.18 zlib/1.2.11 libidn2/2.0.4 libpsl/0.20.2 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.32.0 librtmp/2.3
Platform: Linux 4.16.0-2-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.62.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.60.0
Compiler: GCC 7.3.0 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=OFF
description: | updated |
Changed in kicad: | |
milestone: | none → 5.0.0-rc3 |
importance: | Undecided → Critical |
tags: | added: pcbnew |
Changed in kicad: | |
assignee: | nobody → Maciej Suminski (orsonmmz) |
status: | Confirmed → In Progress |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
I can confirm the crash with
Application: kicad rc2-195- gcd9abbb99) , debug build compatible with 2.8) GTK+ 2.24
Version: (5.0.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) nghttp2/1.31.1
Platform: Linux 4.17.2-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.67.0
OpenCASCADE Technology: 6.9.1
Curl: 7.60.0
Compiler: GCC 8.1.1 with C++ ABI 1012
Build settings: WX_GRAPHICS_ CONTEXT= OFF WX_OVERLAY= OFF SCRIPTING= ON SCRIPTING_ MODULES= ON SCRIPTING_ WXPYTHON= OFF SCRIPTING_ ACTION_ MENU=ON GITHUB_ PLUGIN= ON USE_OCE= OFF USE_OCC= ON
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON