Fatal Crash
Summary:
Exporting svg to png. Tried exporting file named "A&C, B&D Measurements.svg" to filetype png and received unspecified fatal error.
... (write here)
Steps to reproduce:
- Saved current project with "&" in file name.
- Closed file & reopened later.
- exported to PNG & received fatal error "Unspecified Fatal Error Encountered, Aborting"
What happened?
Have been using inkscape on a daily basis. Yesterday I was exporting svg to png for several files with no problems. Eventually, I tried opening a file with "&" character in the file name and got an error. I renamed the file and tried to open and inkscape loads the splash screen successfully. However, inkscape crashes when selecting a file from "recents" list or when selecting "New Document". I've completely uninstalled & reinstalled the software and even deleted the instance of the file name with the "&" from the "recents" list. Still, I continue to get the fatal error after splash screen.
What should have happened?
...
Sample attachments:
CMD Prompt Output Inkscape.com
C:\\Program Files\\Inkscape\\bin\>inkscape.com
(org.inkscape.Inkscape:18572): Gtk-WARNING **: 11:33:08.463: Failed to set text 'file:///C:/Users/**abc/Desktop/labels/A&C,%20B&D%20Measurements.svg' from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &
(org.inkscape.Inkscape:18572): Gtk-WARNING **: 11:33:09.462: Failed to set text 'file:///C:/Users/**abc/Desktop/labels/A&C,%20B&D%20Measurements.svg' from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as & CMSSystem::load_profiles: ICC profile with duplicate name: (Unnamed): C:\\WINDOWS\\system32\\spool\\drivers\\color\\SDC4164_sRGB_4000.icm C:\\WINDOWS\\system32\\spool\\drivers\\color\\SDC4164_sRGB_4500.icm CMSSystem::load_profiles: ICC profile with duplicate name: SMPTE-C: C:\\WINDOWS\\system32\\spool\\drivers\\color\\SMPTE-C.icc C:\\WINDOWS\\system32\\spool\\drivers\\color\\smpte_c.icc CMSSystem::load_profiles: ICC profile with duplicate name: sRGB IEC61966-2.1: C:\\WINDOWS\\system32\\spool\\drivers\\color\\sRGB Color Space Profile.icm C:\\WINDOWS\\system32\\spool\\drivers\\color\\srgb_color_space_profile.icm
\*\* (org.inkscape.Inkscape:18572): ERROR \*\*: 11:33:56.785: unhandled exception (type std::exception) in signal handler: what: std::bad_alloc
Emergency save activated! Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at https://inkscape.org/report with a detailed description of the steps leading to the crash, so we can fix it.
\*\* INFO (recursed): Found resource file 'dialog-crash.glade' in system directory: C:\\Program Files\\Inkscape\\share\\inkscape\\ui\\dialog-crash.glade
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
I received this error after I had already renamed the file to remove the "&" characters. I believed the issue was related to the file name still appearing on the splash screen "recents" list. I deleted the reference from "recently-used.xbel" which cleared the instance from the splash screen. However, I still continued to get the fatal error. I ran CMD Prompt Output Inkscape.com again & received this output:
C:\\Program Files\\Inkscape\\bin\>inkscape.com CMSSystem::load_profiles: ICC profile with duplicate name: (Unnamed): C:\\WINDOWS\\system32\\spool\\drivers\\color\\SDC4164_sRGB_4000.icm C:\\WINDOWS\\system32\\spool\\drivers\\color\\SDC4164_sRGB_4500.icm CMSSystem::load_profiles: ICC profile with duplicate name: SMPTE-C: C:\\WINDOWS\\system32\\spool\\drivers\\color\\SMPTE-C.icc C:\\WINDOWS\\system32\\spool\\drivers\\color\\smpte_c.icc CMSSystem::load_profiles: ICC profile with duplicate name: sRGB IEC61966-2.1: C:\\WINDOWS\\system32\\spool\\drivers\\color\\sRGB Color Space Profile.icm C:\\WINDOWS\\system32\\spool\\drivers\\color\\srgb_color_space_profile.icm
\*\* (org.inkscape.Inkscape:14132): ERROR \*\*: 12:16:37.434: unhandled exception (type std::exception) in signal handler: what: std::bad_alloc
Version info
Inkscape 1.4.2 (f4327f4, 2025-05-13)
Compile (Run)
GLib version: 2.84.0
GTK version: 3.24.49 (3.24.49)
glibmm version: 2.66.7
gtkmm version: 3.24.9
libxml2 version: 2.12.10
libxslt version: 1.1.43
Cairo version: 1.18.4 (1.18.4)
Pango version: 1.56.3 (1.56.3)
HarfBuzz version: 10.4.0 (10.4.0)
OS version: Windows 11 24H2