Frequent segfaults when creating symbols and going back to schematic editor
Description
I'm creating symbols and editing a schematic and I get a segfault every few minutes.
The stack trace looks like #15977 (closed) but that was resolved in Sonoma 14.1. I'm using Sonoma 14.2.1 on an Apple M1 Pro MacBook Pro.
Abridged stack trace:
0 ??? 0x0 ???
1 _eeschema.kiface 0x10dc52044 ACTION_MENU::OnMenuEvent(wxMenuEvent&) + 2416
2 _eeschema.kiface 0x10dc895b4 TOOL_DISPATCHER::DispatchWxEvent(wxEvent&) + 2084
3 libwx_osx_cocoau-3.2.0.2.2.dylib 0x105bb5db4 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 444
4 libwx_osx_cocoau-3.2.0.2.2.dylib 0x105bb7388 wxEvtHandler::ProcessEvent(wxEvent&) + 260
Steps to reproduce
I don't have a reproducible sequence of events yet but the basic sequence is:
- Edit schematic
- Tools -> Symbol Edit
- Edit a symbol
- Tools -> Update symbols from library
Expected behavior: symbols are updated
Observed behavior: immediate crash
KiCad Version
Application: KiCad Schematic Editor arm64 on arm64
Version: 7.0.10, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.13.0
HarfBuzz 7.3.0
FontConfig 2.14.2
libcurl/8.4.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.55.1
Platform: macOS Sonoma Version 14.2.1 (Build 23C71), 64 bit, Little endian, wxMac
Build Info:
Date: Dec 29 2023 04:31:34
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.82.0
OCC: 7.7.0
Curl: 7.77.0
ngspice: 41
Compiler: Clang 13.0.0 with C++ ABI 1002
Build settings:
KICAD_SPICE=ON