Kicad crashes when you open a symbol in the symbol editor

Description

Kicad crashes when you open a symbol in the symbol editor with exception aborted.

Steps to reproduce

  1. Open the symbol editor
  2. Open any symbol from any library. e.g. 74xx -> 74AHC04

Backtrace

libc.so.6!__pthread_kill_implementation (Unknown Source:0)
libc.so.6!raise (Unknown Source:0)
libc.so.6!abort (Unknown Source:0)
libstdc++.so.6!std::__glibcxx_assert_fail(char const*, int, char const*, char const*) (Unknown Source:0)
_eeschema.kiface!std::vector<int, std::allocator<int> >::operator[](std::vector<int, std::allocator<int> > * const this, std::vector<int, std::allocator<int> >::size_type __n) (/usr/include/c++/15/bits/stl_vector.h:1263)
_eeschema.kiface!LIB_TREE_MODEL_ADAPTER::RefreshTree(LIB_TREE_MODEL_ADAPTER * const this) (/home/admin/projects/kicad/common/lib_tree_model_adapter.cpp:640)
_eeschema.kiface!LIB_TREE::RefreshLibTree(LIB_TREE * const this) (/home/admin/projects/kicad/common/widgets/lib_tree.cpp:474)
_eeschema.kiface!SYMBOL_TREE_PANE::onSymbolSelected(SYMBOL_TREE_PANE * const this, wxCommandEvent & aEvent) (/home/admin/projects/kicad/eeschema/widgets/symbol_tree_pane.cpp:92)
libwx_baseu-3.2.so.0!wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (Unknown Source:0)
libwx_baseu-3.2.so.0!wxEvtHandler::SearchDynamicEventTable(wxEvent&) (Unknown Source:0)
libwx_baseu-3.2.so.0!wxEvtHandler::TryHereOnly(wxEvent&) (Unknown Source:0)
libwx_baseu-3.2.so.0!wxEvtHandler::ProcessEventLocally(wxEvent&) (Unknown Source:0)
libwx_baseu-3.2.so.0!wxEvtHandler::ProcessEvent(wxEvent&) (Unknown Source:0)
libwx_gtk3u_core-3.2.so.0!wxWindowBase::TryAfter(wxEvent&) (Unknown Source:0)
libwx_baseu-3.2.so.0!wxEvtHandler::SafelyProcessEvent(wxEvent&) (Unknown Source:0)
libwx_baseu-3.2.so.0!wxEvtHandler::ProcessPendingEvents() (Unknown Source:0)
libwx_baseu-3.2.so.0!wxAppConsoleBase::ProcessPendingEvents() [clone .part.0] (Unknown Source:0)
libwx_gtk3u_core-3.2.so.0!wxApp::DoIdle() (Unknown Source:0)
libwx_gtk3u_core-3.2.so.0!wxapp_idle_callback (Unknown Source:0)
libglib-2.0.so.0!g_idle_dispatch (Unknown Source:0)

KiCad Version

Application: KiCad x86_64 on x86_64

Version: 9.99.0-4779-gd2013cba95, debug build

Libraries:
	wxWidgets 3.2.8
	FreeType 2.13.3
	HarfBuzz 10.4.0
	FontConfig 2.16.0
	libcurl/8.11.1 OpenSSL/3.2.6 zlib/1.3.1.zlib-ng brotli/1.2.0 libidn2/2.3.8 libpsl/0.21.5 libssh/0.11.3/openssl/zlib nghttp2/1.64.0 OpenLDAP/2.6.10

Platform: Fedora Linux 42 (Cinnamon), 64 bit, Little endian, wxGTK, X11, cinnamon, x11

Build Info:
	Date: Jan  6 2026 22:32:35
	wxWidgets: 3.2.8 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.83.0
	OCC: 7.8.1
	Curl: 8.11.1
	ngspice: 45.2
	Compiler: GCC 15.2.1 with C++ ABI 1020

Build settings:
	KICAD_IPC_API=ON
	KICAD_USE_PCH=OFF
	KICAD_STDLIB_DEBUG=OFF
	KICAD_STDLIB_LIGHT_DEBUG=OFF
	KICAD_SANITIZE_ADDRESS=OFF
	KICAD_SANITIZE_THREADS=OFF

Locale: 
	Lang: de_DE
	Enc: UTF-8
	Num: 1.234,5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
Edited by Jan Wichmann