crash at adding symbol to schematic
Description
While adding subsequently symbols from the symbol-chooser into the schematic the complete kicad-application crashes and closes. The crash occurs not always, but with a high reliability.
The following settings seem to be important:
- after adding a symbol hit 1x ESC to end that symbol, but to keep the "add-symbol"-dialog.
- if one hits 2x ESC so that the cursor is in standard "selection"-mode than one needs to invoke the "add symbol"-dialog again - this seems to work without crash
- automatic annotation is ON
- annotation-modus seems to have no effect
- at bottom of symbol chooser both settings are checked (place repeated, place all units)
Steps to reproduce
- open attached project, open schematic: crash_add_symbol_01.zip
- setting: auto-naming of symbols: ON (left toolbar)
- click "add symbol" button on right toolbar for symbol chooser --> symbol chooser opens
- on bottom: check both settings (place repeated, place all units)
- type "4302" to get IR4302
- doubleclick at IR4302 --> symbol chooser closes, IR4302A-unit is attached to cursor. place IR4302A on eeschema-canvas
- only 1x ESC to abort placing more units --> cursor is still in "Add Symbol"-mode
- click on eeschema-canvas to open again symbol chooser
- doubleclick IR4302 to add next IR4302 (again only unit IR4302A)
- do some more rounds (step 6+7+8+9) with adding one unit -> ESC -> click to reopen symbol chooser -> add IR4302A-unit -> ....
- after 2....5 units a crash occurs
It could be that there are two different crash-problems. sometimes the crash occurs at doubleclicking the IR4302-entry in symbol-chooser, sometimes the crash occurs after placing the new IR4302 at the canvas.
KiCad Version
Application: KiCad Schematic Editor (64-bit)
Version: (6.99.0-4418-g740dbdf09a), release build
Libraries:
wxWidgets 3.2.1
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.2.1 (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_SPICE=ON
Edited by Maik Freitag