Found out what happens:

1) Extensions (including barcode) replace the whole document when
executing, performed in Script::copy_doc in
extension/implementation/script.cpp.

2) Replacing the document frees all objects associated with the old
document.

3) Persp3D *SPDocument::current_persp3d contains a pointer to an object
associated with the XML node in the old document. The old node has been
freed.

However, I'm not sure how it should be fixed. Maybe use
SPDocument::connectReconstructionFinish to either zero the pointer
(simple) or fix the object (difficult, should find the node again)?

-- 
Inkscape crashes when using 3d box after attempting to render latex, gears, 
tree, barcode, maybe others.
https://bugs.launchpad.net/bugs/205667
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to