Symbol edit - KiCad crash

Application: KiCad Schematic Editor x64 on x64

Version: 8.0.3, release build

Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
libcurl/8.5.0-DEV Schannel zlib/1.3

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
Date: Jun 3 2024 19:04:47
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.8.1
Curl: 8.5.0-DEV
ngspice: 42
Compiler: Visual C++ 1939 without C++ ABI

I am trying to edit a library symbol using the symbol editor in the schematic window. I understand that this will only edit the local copy of that library symbol. I do not understand why the whole system crashes when I try to save that edit - the symbol editor crashes, the schematic editor crashes and KiCad crashes. What do I do wrong ?
Thankyou

Windows 10 will be end of life and will be unsupported by KiCad then, but at the moment it’s still supported, and in any case shouldn’t crash. But because it apparently works for others, we need more information about the situation. Can you zip and attach the whole project, or a similarly problematic project, here? Then give the exact steps you do, not mouse clicks, keyboard presses, menu items and all.

Thank you for responding.
4_digit_clock_2.7z (11.9 KB)

I am trying to edit the pin names and numbers of the 4-digit 7-segment display component. If I edit a few pins at a time and save it after a few edits it seems to be OK, retains the edits and does not crash. If I edit all pin names and all pin numbers in one go and then save all edits, it crashes. Main action sequence is 1. start KiCad, 2. start schematic editor, 3. select display component, 4. right mouse click and select “Edit with symbol editor”, perform edits as described above.

I edited all pins, then closed the symbol editor, and let it update the symbol in the schematic:

So in this brief test I could not reproduce a crash.
Is it possible this may be a bug related to entering a weird string for one of names or pin numbers?

How many times did this happen? Did KiCad crash only once, or have did this happen multiple times?

Thanks for trying it. For me it happens each time I try and save all the edits in one go. I am only changing names to one or two characters and numbers to one or two digits. I will try rebooting the PC and test it again.

Reboot did not change anything. If I try and save all the edits in one go (ie. all pins numbers and texts changed) it is busy longer than usual (for an edit save) and then crashes. I can get by, by doing a few changes at a time and it’s rare that I locally edit a library symbol. So maybe it’s not worth chasing, especially if I am the only one experiencing this issue. Got to be something to do with my set-up. Thank you again for your input.

I just noticed that you said “I edited all pins, then closed the schematic editor, …”. I mouse clicking the save (disk) icon - I will try just closing the schematic editor. This will have to be later today - other issues pressing.

Oops, my bad. That should have been “closed the Symbol editor”. (fixed that in my earlier post too).

I also did it again but now with Symbol Editor / File / Save before closing the symbol editor, but with the same results, it just works for me.

What happens if you do the change a few pins at a time, can you then change them all?

Sorry I also seemed to have mixed up symbol editor with schematic editor. But I can conclude the following:

  1. Editing the symbol in the symbol editor a few pins at a time and saving (mouse click on disk icon) those edits seems to work - eventually I can do all edits.
  2. Editing all the pins at once and but then clicking “File” then “Close” then selecting “Save” from the save-discard-cancel pop-up also works.
    So for me at least, using the “Save” disk icon does not work for a larger number of edits.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.