On 2015-09-29 16:41 (+0200), Riccardo Bernardini wrote:
I just experienced (and -- fortunately -- solved) a strange bug that almost made me crazy. I am sending this mail with my experience, in case it could help someone else with the same problem. I checked the devel mailing list for something related (searched for "recent file"), but I did not find anything, so I assume that this is new. If it is not new, or if this is not the right mailing list, please excuse me.
I use inkscape 0.91 on Linux Mint cinnamon 17, 32 bit.
Until yesterday inkscape was working just fine. Suddenly, I was not able to open any SVG file, including the tutorials. As soon as the file opened, inkscape died with "inkscape experienced an internal error and it will close now." The output at terminal showed that it died with GLib::ConversionError and running inkscape under gdb showed that the exception was threw by GLib::filename_from_url.
I tried rebooting, removing (completely) inkscape and re-installing, removing the configuration directory under .gconf, but the bug remained. If I run inkscape as a different user, it worked fine.
I recompiled inkscape from sources in order to have all the symbols. By running it under gdb I discovered that the problem was an entry "file://pitch.ops" in the recent file list. I guess the problem was that the file was with a relative path (note the two '/') and not an absolute one (I guess this is a bug of OpenShot, why registering a relative path in the "recent file" list?). I cleaned the "recent files" list and everything works again.
I hope this helps.
Known issue (not fixed yet) tracked here: Bug #1404934 “Crash when opening files (Glib::ConvertError exception)” https://bugs.launchpad.net/inkscape/+bug/1404934
Regards, V