debug build, assertions failed: decimal separator mismatch while loading symbol libraries and schematics
Description
I get several assertion failures when running a debug build on a Windows 10 machine set to the default German locale (comma as decimal separator).
Stack traces are from visual studio.
On opening the symbol editor, the language setting didn't make a difference.
Click to expand stack trace
wxbase315ud_vc_custom.dll!wxDefaultAssertHandler(const wxString & file, int line, const wxString & func, const wxString & cond, const wxString & msg) Line 1168
wxbase315ud_vc_custom.dll!wxOnAssert(const char * file, int line, const char * func, const char * cond, const char * msg) Line 1260
wxbase315ud_vc_custom.dll!`anonymous namespace'::GetInfoFromLCID(unsigned long lcid, wxLocaleInfo index, wxLocaleCategory cat) Line 1638
wxbase315ud_vc_custom.dll!wxLocale::GetInfo(wxLocaleInfo index, wxLocaleCategory cat) Line 1735
_eeschema.kiface!SCH_SEXPR_PLUGIN_CACHE::Load() Line 1663
_eeschema.kiface!SCH_SEXPR_PLUGIN::cacheLib(const wxString & aLibraryFileName, const PROPERTIES * aProperties) Line 2132
_eeschema.kiface!SCH_SEXPR_PLUGIN::EnumerateSymbolLib(std::vector<LIB_SYMBOL *,std::allocator<LIB_SYMBOL *>> & aSymbolList, const wxString & aLibraryPath, const PROPERTIES * aProperties) Line 2183
_eeschema.kiface!SYMBOL_LIB_TABLE::LoadSymbolLib(std::vector<LIB_SYMBOL *,std::allocator<LIB_SYMBOL *>> & aSymbolList, const wxString & aNickname, bool aPowerSymbolsOnly) Line 333
_eeschema.kiface!SYMBOL_ASYNC_LOADER::worker() Line 122
[External Code]
[Async Call]
[External Code]
_eeschema.kiface!SYMBOL_ASYNC_LOADER::Start() Line 58
_eeschema.kiface!SYMBOL_LIBRARY_MANAGER::Preload(PROGRESS_REPORTER & aReporter) Line 86
_eeschema.kiface!SYMBOL_EDIT_FRAME::SYMBOL_EDIT_FRAME(KIWAY * aKiway, wxWindow * aParent) Line 153
_eeschema.kiface!SCH::IFACE::CreateWindow(wxWindow * aParent, int aClassId, KIWAY * aKiway, int aCtlBits) Line 146
kicad.exe!KIWAY::Player(FRAME_T aFrameType, bool doCreate, wxTopLevelWindow * aParent) Line 409
kicad.exe!KICAD_MANAGER_CONTROL::ShowPlayer(const TOOL_EVENT & aEvent) Line 664
wxbase315ud_vc_custom.dll!wxDefaultAssertHandler(const wxString & file, int line, const wxString & func, const wxString & cond, const wxString & msg) Line 1168
wxbase315ud_vc_custom.dll!wxOnAssert(const char * file, int line, const char * func, const char * cond, const char * msg) Line 1260
_eeschema.kiface!SCH_SEXPR_PLUGIN_CACHE::Load() Line 1663
_eeschema.kiface!SCH_SEXPR_PLUGIN::cacheLib(const wxString & aLibraryFileName, const PROPERTIES * aProperties) Line 2132
_eeschema.kiface!SCH_SEXPR_PLUGIN::EnumerateSymbolLib(std::vector<LIB_SYMBOL *,std::allocator<LIB_SYMBOL *>> & aSymbolList, const wxString & aLibraryPath, const PROPERTIES * aProperties) Line 2183
_eeschema.kiface!SYMBOL_LIB_TABLE::LoadSymbolLib(std::vector<LIB_SYMBOL *,std::allocator<LIB_SYMBOL *>> & aSymbolList, const wxString & aNickname, bool aPowerSymbolsOnly) Line 333
_eeschema.kiface!SYMBOL_ASYNC_LOADER::worker() Line 122
[External Code]
[Async Call]
[External Code]
_eeschema.kiface!SYMBOL_ASYNC_LOADER::Start() Line 58
_eeschema.kiface!SYMBOL_LIBRARY_MANAGER::Preload(PROGRESS_REPORTER & aReporter) Line 86
_eeschema.kiface!SYMBOL_EDIT_FRAME::SYMBOL_EDIT_FRAME(KIWAY * aKiway, wxWindow * aParent) Line 153
_eeschema.kiface!SCH::IFACE::CreateWindow(wxWindow * aParent, int aClassId, KIWAY * aKiway, int aCtlBits) Line 146
kicad.exe!KIWAY::Player(FRAME_T aFrameType, bool doCreate, wxTopLevelWindow * aParent) Line 409
kicad.exe!KICAD_MANAGER_CONTROL::ShowPlayer(const TOOL_EVENT & aEvent) Line 664
On opening the schematic editor when set to German. This doesn't happen when set to English.
Click to expand stack trace
wxbase315ud_vc_custom.dll!`anonymous namespace'::GetInfoFromLCID(unsigned long lcid, wxLocaleInfo index, wxLocaleCategory cat) Line 1638
wxbase315ud_vc_custom.dll!wxLocale::GetInfo(wxLocaleInfo index, wxLocaleCategory cat) Line 1735
wxbase315ud_vc_custom.dll!wxString::FromCDouble(double val, int precision) Line 1857
wxmsw315ud_core_vc_custom.dll!`anonymous namespace'::wxPNGImageData::DoLoadPNGFile(wxImage * image, `anonymous-namespace'::wxPNGInfoStruct & wxinfo) Line 401
wxmsw315ud_core_vc_custom.dll!wxPNGHandler::LoadFile(wxImage * image, wxInputStream & stream, bool verbose, int __formal) Line 433
wxmsw315ud_core_vc_custom.dll!wxImage::DoLoad(wxImageHandler & handler, wxInputStream & stream, int index) Line 2866
wxmsw315ud_core_vc_custom.dll!wxImage::LoadFile(wxInputStream & stream, wxBitmapType type, int index) Line 2975
_eeschema.kiface!BITMAP_BASE::LoadData(LINE_READER & aLine, wxString & aErrorMsg) Line 196
_eeschema.kiface!DRAWING_SHEET_PARSER::readPngdata(DS_DATA_ITEM_BITMAP * aItem) Line 541
_eeschema.kiface!DRAWING_SHEET_PARSER::parseBitmap(DS_DATA_ITEM_BITMAP * aItem) Line 499
_eeschema.kiface!DRAWING_SHEET_PARSER::Parse(DS_DATA_MODEL * aLayout) Line 241
_eeschema.kiface!DS_DATA_MODEL::LoadDrawingSheet(const wxString & aFullFileName, bool Append) Line 927
_eeschema.kiface!SCH_EDIT_FRAME::LoadProjectSettings() Line 98
_eeschema.kiface!SCH_EDIT_FRAME::SCH_EDIT_FRAME(KIWAY * aKiway, wxWindow * aParent) Line 279
_eeschema.kiface!SCH::IFACE::CreateWindow(wxWindow * aParent, int aClassId, KIWAY * aKiway, int aCtlBits) Line 133
kicad.exe!KIWAY::Player(FRAME_T aFrameType, bool doCreate, wxTopLevelWindow * aParent) Line 409
kicad.exe!KICAD_MANAGER_CONTROL::ShowPlayer(const TOOL_EVENT & aEvent) Line 664
KiCad Version
Application: KiCad (64-bit)
Version: (6.0.0-rc1-1-g4df25edb3d), debug build
Libraries:
wxWidgets 3.1.5
libcurl/7.78.0-DEV Schannel zlib/1.2.11
Platform: Windows 10 (build 19042), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Nov 16 2021 14:45:16
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.76.0
OCC: 7.5.0
Curl: 7.78.0-DEV
ngspice: 35
Compiler: Visual C++ 1930 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=OFF
KICAD_SANITIZE_ADDRESS=OFF
KICAD_SANITIZE_THREADS=OFF