crash on create library when exporting symbols
<!----------Before Creating a New Issue-----------
* Limit report to a single issue.
* Search the issue tracker to verify the issue has not already been reported.
* Complete all instructions between `template comment markers <>.
* Keep report contents limited to the necessary information required to fix the issue.
* When creating an issue against the stable version of KiCad, make sure the latest available stable version is installed as issues may have already been resolved in later stable versions.-->
# Description
Kicad crashes
<!--If the issue is visual/graphical, please attach screenshots of the problem.-->
<!--Add the issue details below this line and before the "Steps to reproduce" heading.-->
# Steps to reproduce
<!--If this issue is specific to a project, please attach the necessary files to this issue.-->
<!--Add the steps to reproduce using the numbers below-->
<!--Add new step numbers before the "KiCad Version" heading.-->
1. open file-\>export-\>symbols from the schematic editor.
2. create new lib ==\> sometimes Kicad hangs for a few seconds and than crashes.
# KiCad Version
<!--Copy version information (from main menu Help->About KiCad ->Copy Version Info) and paste it between the triple backticks below to preserve the formatting.-->
```
```
```
Application: KiCad x86_64 on x86_64
Version: 10.0.0, release build
Libraries:
wxWidgets 3.2.10 GLX
FreeType 2.14.1
HarfBuzz 11.4.5
FontConfig 2.17.1
Platform: GNOME 49 (Flatpak runtime), 64 bit, Little endian, wxGTK, X11, wayland, GNOME, gnome
wxWidgets: 3.2.10 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.90.0
OCC: 7.9.3
Curl: 8.15.0
ngspice: 45.2
Compiler: GCC 15.2.0 with C++ ABI 1020
KICAD_IPC_API=ON
KICAD_USE_PCH=OFF
Locale:
Lang: en_IE
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
```
issue