GNOME Bugzilla – Bug 497070
dia crashes after pasting a group of objects
Last modified: 2008-04-08 21:37:01 UTC
Steps to reproduce: 1. Run dia 2. Open the attached file 3. Select all objects and copy them (Ctrl-C) 4. Close the window 5. Select File->New 6. Paste the objects. 7. When trying to move a bezier arrow dia crashes. Stack trace:
+ Trace 177890
Other information:
Created attachment 99143 [details] The file causing the crash
Confirmed, in current SVN too. You don't even have to move a line in my case, just pasting crashes it. Pretty bad, this one. It does seem to be not just the beziers, though -- trying the same trick with render_test.dia but having removed all bezier-related items. You don't even have to close the first diagram, as long as the copy goes into a different diagram.
Thanks for the nice test file, fix just commited: 2008-04-08 Hans Breuer <hans@breuer.org> * lib/object.c(object_copy_list) : if we can't find the object to to connect to ensure there is no dangling reference. Fixes bug #497070 * lib/group.c(group_copy) : some comment
*** Bug 508670 has been marked as a duplicate of this bug. ***