On 2013-10-31 17:29 +0200, Krzysztof KosiĆski wrote:
2013/10/31 su_v <suv-sf@...58...>:
On 2013-10-31 04:09 +0200, Bryan Hoyt | Brush Technology wrote:
While editing an Inkscape-created document, if I delete the ID attribute of a group (or any other element, on further investigation) using the XML editor, and then select that element in the visual editor, Inkscape crashes.
The ID in question is not referenced elsewhere in the document.
Steps to reproduce:
- launch inkscape (default prefs, default new doc)
- draw a rect
- group it
- open XML Editor
- delete ID attribute of selected group
- on-canvas, double-click the selection to enter the group
- click on the rectangle to select it
-> crash with current stable and trunk (backtrace from latest trunk attached)
Please file a report in the bug tracker, thanks.
I fixed this particular crash in r12754, but there's another one when exiting the group (double click somewhere else after entering the group). I'll try to fix it soon. In the meantime if anyone can provide a backtrace that would be cool (it requires running GDB in a separate VT because the crash happens while the pointer is grabbed).
I'd be glad to provide a backtrace, but I fail to reproduce this crash - tried several times with r12753 as well as with latest r12755. Any additional step(s) required apart from these?
0) launch inkscape with default (new) prefs 1) draw rect 2) switch back to select tool (S) 3) group the rectangle (Ctrl+G) 4) open XML Editor (Shift+Ctrl+X) 5) delete 'id' attribute of selected group 6) enter group with double-click on selected group (or with <Esc> (return focus to canvas), Ctrl+Enter) 7) leave group with a double-click on empty canvas (or with Ctrl+Backspace)
Regards, V