I am adapting the code to HiDPI after wx3.1.6 using wxBitmapBundle (see ticket #1297 for details), and I have discovered that wxBitmapBundle::FromSVG() method produces random crashes because the underlying library (nanoSVG) is buggy:
- first crash is in nsvg_Parse(). This only happens on non-english locales, is fixed in nanoSVG trunk but not in wxWidgets, and a workaround is locale switching before calling FromSVG().
- second crash is in nsvg__addEdge(). AFAIK this is not fixed and there is no workaround.
Because of this, I will temporarily remove calls to wxBitmapBundle::FromSVG() along this weekend.