The crash happens because the .sif file references itself.

To reproduce, make a new document, save it as foo.sif, then
file>import>foo.sif and save again.

Then try file>revert and it will crash.

We could prevent this quite simply by not allowing the user to import a
document into itself, but we still have the same crash if 'a' imports
'b' and 'b' imports 'a'.  Detecting such loops is harder, especially
since 'a' and 'b' could be created in different directories, and only
create the problem when they're later moved into the same directory.  To
prevent this crash we could check for loops while loading a .sif file as
well as when first importing it.

-- 
synfig crashes while loading an old file
https://bugs.launchpad.net/bugs/195447
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to