Pcbnew: lockup entering new custom pad shape
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Expired
|
Critical
|
Unassigned |
Bug Description
While creating a new custom pad shape, at least the second of this session, KiCad locked up (non-responsive to any buttons) after clicking on "Add primitive". A screenshot is attached. I can move windows, including the four KiCad windows (Project, Eeschema, Footprint Editor, Pad Properties) and the contents of the windows is properly displayed even if portions that were obscured are now displayed, though resizing a window causes loss of display content so that may be the window manager at work. A "top" display shows one CPU at 100% running "kicad".
I'd been running KiCad for quite a while, viewing schematics and boards from several projects. I launched the footprint editor from the project manager to create a couple of custom footprints. Creation of the first custom footprint went well. When creating the second custom footprint I tested the ability to delete multiple primitives (Bug #1766120). I then began entering the primitives for the second pad. Upon clicking "Add primitive" to enter the 8th primitive, the expected dialog box did not appear and KiCad stopped responding.
Neither strace nor ltrace show any activity. The strace output is attached.
I forced a core dump. At 2.0 GB it's far too large to attach to this bug report, though I will retain it should someone want to copy it or have me probe it. The gdb backtrace output is attached.
After forcing the termination of the process I restarted KiCad. The version dump is below. This was built from sources on a private branch based on this git commit:
4302394 Consistency between dialog titles and menu items.
Application: kicad
Version: (5.0.0-
Libraries:
wxWidgets 3.0.2
libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.13.0-38-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.58.0
Curl: 7.47.0
Compiler: GCC 5.4.0 with C++ ABI 1009
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
milestone: | none → 5.0.0-rc2 |
Changed in kicad: | |
importance: | Undecided → Critical |
Changed in kicad: | |
milestone: | 5.0.0-rc2 → 5.0.0-rc3 |
Changed in kicad: | |
milestone: | 5.0.0-rc3 → none |
The xz-compressed core dump file is 55 MB. I'll be happy to push that somewhere.
The xz-compressed tarball of the sources and build directory, which might help when using gdb to analyze the core dump, would be 558 MB.