I am using Inkscape on Windows. This afternoon I was trying to round the corners of a shape I drew using the Bezier tool. (A near impossible task, I found). I every five minutes, I literally couldn't even finish the shape, Inscape froze with the message "Inscape encountered an internal error and will shut down". About seven times in a row.
I uninstalled and reinstalled. Still the same problem.
Thank you for responding. I just tried that, but the same thing happened. Interestingly, after posting yesterday I tried a few more times. I found it happened every time when I try to use the measuring tool. I took a screenshot of the message. I've encountered this before but put it down to using Inkscape in Windows. This time, I really needed to get a specific angle, hence trying to use the measuring tool. I've figured out work around using transforming tools, but if I can fix it it will be so much better.
There are cases where a corrupted or malformed svg file can't be interpreted, and rather than reporting a graceful error message, or discretely ignoring the problem, Inkscape panics and collapses ignominiously. This might happen when you try to edit the offending svg element, or when you open a contaminated file, or even when you preview thumbnails in the File Open dialog.
Sometimes you can fix the problem by deleting a shape, or changing a font, or removing a filter. Unfortunately, the problem is rarely so obvious. The simplest solution is to abandon the poisoned file and go back to the previous version. The diligent among us will always - always - save progress copies of our drawings at regular intervals. But what about the rest of us?
Luckily, there is a failsafe low level recovery option. In Inkscape, create and save a new drawing blank.svg but don't close it. Start your favourite text editor and open up blank.svg and poison.svg. Copy some svg elements from poison to blank. Go back to Inkscape and [File > Revert] to load the modified blank drawing. You should see some objects rendered in your previously blank canvas. Repeat the copy-paste-revert steps until Inkscape eventually crashes and thereby identifies a poisonous element. In the text editor, delete this element from poison.svg and test the result in Inkscape.
Copying one element at a time is not an efficient search algorithm, especially for larger drawings with many elements. Instead copy-paste half the elements. If Inkscape doesn't crash then the poison must be in the other half. Now split the remainder, and the remainder, and etc. until you isolate the problem element.
I will keep that procedure for next time. At least I managed to get the drawing done using a workaround. I discovered it happened when I try to use the measuring tool.
Windows users are automatically redirected to https://inkscape.org/release/inkscape-1.2.2/windows/64-bit/msi/?redirected=1
The important message for Windows users is found here https://inkscape.org/release/inkscape-1.2.2/
Note for Windows users:
If you installed Inkscape 1.2.2 before December 9, 2022 and experience sudden crashes, please uninstall it and re-download. We have fixed the packaging issue that was causing this and have updated the download files.
I am using Inkscape on Windows. This afternoon I was trying to round the corners of a shape I drew using the Bezier tool. (A near impossible task, I found). I every five minutes, I literally couldn't even finish the shape, Inscape froze with the message "Inscape encountered an internal error and will shut down". About seven times in a row.
I uninstalled and reinstalled. Still the same problem.
Can anyone help?
Before proceeding I´d go Inkscape Preferences->System and hit "Reset Preferences" and restart Inkscape.
Hi,
Thank you for responding. I just tried that, but the same thing happened. Interestingly, after posting yesterday I tried a few more times. I found it happened every time when I try to use the measuring tool. I took a screenshot of the message.
I've encountered this before but put it down to using Inkscape in Windows. This time, I really needed to get a specific angle, hence trying to use the measuring tool. I've figured out work around using transforming tools, but if I can fix it it will be so much better.
There are cases where a corrupted or malformed svg file can't be interpreted, and rather than reporting a graceful error message, or discretely ignoring the problem, Inkscape panics and collapses ignominiously. This might happen when you try to edit the offending svg element, or when you open a contaminated file, or even when you preview thumbnails in the File Open dialog.
Sometimes you can fix the problem by deleting a shape, or changing a font, or removing a filter. Unfortunately, the problem is rarely so obvious. The simplest solution is to abandon the poisoned file and go back to the previous version. The diligent among us will always - always - save progress copies of our drawings at regular intervals. But what about the rest of us?
Luckily, there is a failsafe low level recovery option. In Inkscape, create and save a new drawing blank.svg but don't close it. Start your favourite text editor and open up blank.svg and poison.svg. Copy some svg elements from poison to blank. Go back to Inkscape and [File > Revert] to load the modified blank drawing. You should see some objects rendered in your previously blank canvas. Repeat the copy-paste-revert steps until Inkscape eventually crashes and thereby identifies a poisonous element. In the text editor, delete this element from poison.svg and test the result in Inkscape.
Copying one element at a time is not an efficient search algorithm, especially for larger drawings with many elements. Instead copy-paste half the elements. If Inkscape doesn't crash then the poison must be in the other half. Now split the remainder, and the remainder, and etc. until you isolate the problem element.
Thank you,
I will keep that procedure for next time. At least I managed to get the drawing done using a workaround. I discovered it happened when I try to use the measuring tool.
Windows users are automatically redirected to
https://inkscape.org/release/inkscape-1.2.2/windows/64-bit/msi/?redirected=1
The important message for Windows users is found here
https://inkscape.org/release/inkscape-1.2.2/
Note for Windows users:
If you installed Inkscape 1.2.2 before December 9, 2022 and experience sudden crashes, please uninstall it and re-download. We have fixed the packaging issue that was causing this and have updated the download files.
Thank you, Aero
Just found that message and downloaded a new installation file. I've been using Inkscape for roughly 9 years now, so probably a good time to do it.