crash on adding symbol from library editor
Description
Kicad crashes (shuts down) if the command "Add symbol from library editor" is used and at the same time a text-properties-window is still open on schematic-window.
edit addition: the crash occurs if any of the following eeschema-subdialogs is open at the "Add symbol from library editor"-action:
- text-item-dialog
- textbox-dialog
- local label
- global label
- hierarchical label
- net class label
The crash occurs onlz if the dialog was opened for item-creation. The crash doesn't occurs if an item already exists and the property-dialog is opened with doubleclick/"Edit properties"-command.
Affects also current v6.0.5
Steps to reproduce
- steps tested on single-monitor-setup
- open any project, open schematic
- click on Text-tool button, click on canvas
- text-box opens (ready for some input)
- leave schematic at this state (see picture 1)
- goto kicad-manager, open any library, open any symbol (example Amplifier_Audio:IR4301)
- click on Icon "Add symbol to schematic"
- kicad switches window to schematic, still with Text-properties dialog open (still in same state as leaved in step 5.)
- click OK or CANCEL to close text properties dialog
- --> Kicad crash (closing)
KiCad Version
Application: KiCad Schematic Editor (64-bit)
Version: (6.99.0-2151-gbccc2f5792), release build
Libraries:
wxWidgets 3.1.7
FreeType 2.11.1
HarfBuzz 4.2.0
FontConfig 2.14.0
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.1.7 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.83.1-DEV
ngspice: 37
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Edited by Maik Freitag