KiCad crashes when changing language if simulator window is open
Description
If the simulator window is open, and you change language in the schematic editor, then KiCad will krasch; the entire thing, simulator, schematic editor, pcb editor if open, and project manager. The expected behaviour is that KiCad doesn't crash, but that all windows including simulator change language according to the setting, on the fly.
This has been tested at the time of writing in f37 with the latest nightly as listed in version info below, in f36 with a two days old nightly, in f37 with 6.0.10 packaged by fedora, in f37 with 6.0.10 flatpak, in Linux Mint 20.3 by two users and in Ubuntu 22.04 by one. See also the forum thread in the link where the version infos for the various systems it was tested on are available.
Steps to reproduce
- Open Kicad, any schematic in the schematic editor.
- Open the simulator (Menu in Schematic editor: Inspect → Simulator)
- In schematic editor, change language (Menu: Preferences → Set language → [choose any setting different from the one currently active])
KiCad Version
Version: 6.99.0-1.20230101gite335423.fc37, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.2.0
FontConfig 2.14.1
libcurl/7.85.0 OpenSSL/3.0.5 zlib/1.2.12 brotli/1.0.9 libidn2/2.3.4 libpsl/0.21.1 (+libidn2/2.3.3) libssh/0.10.4/openssl/zlib nghttp2/1.51.0
Platform: , 64 bit, Little endian, wxGTK, KDE, wayland
Build Info:
Date: Jan 1 2023 18:18:24
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.78.0
OCC: 7.5.0
Curl: 7.85.0
ngspice: 38
Compiler: GCC 12.2.1 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON
Edited by Henrik Kauhanen