trunk: Removing ID attribute from object (XML editor) causes crash (rev >= 10992)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Martin Owens |
Bug Description
As discussed on the mailing list:
<http://
Steps to reproduce:
1) launch trunk (default prefs, default new doc (not localized))
2) draw rect
3) switch back to select tool
4) open 'File > Export PNG image'
5) open 'Edit > XML Editor'
6) delete id of rect in XML Editor
7) deselect and reselect the rect on-canvas
--> crash
Variations as described by the original reporter (with custom preferences):
x) Manifestation 1: Choose "select" tool, click away from rect and then click rect again. Inkscape dies with "unhandled exception (type std::exception) in signal handler:\n what: basic_string:
x) Manifestation 2: Don't choose the select tool, just click the rect with the rect tool. Inkscape dies with "terminate called after throwing an instance of 'std::logic_error' \n what(): basic_string:
Crash reproduced with current trunk r12836 on OS X 10.7.5.
Based on tests with archived builds on OS X:
- not reproduced with rev <= 10990,
- reproduced with rev >= 10992,
this crash was likely introduced with in
Revision 10992: Fix for bug #171579 : Make inkscape remember dialogs window status
<http://
Related branches
Changed in inkscape: | |
importance: | Undecided → High |
summary: |
- trunk: Removing ID attribute from group (XML editor) causes crash (rev + trunk: Removing ID attribute from object (XML editor) causes crash (rev >= 10992) |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
on XP, Inkscape rev 12792, I have not been able to produce a crash, but I am getting various warnings, as below:
(inkscape. exe:3460) : Gtk-CRITICAL **: gtk_window_ set_transient_ for: assertion `parent == NULL || GTK_IS_WINDOW (parent)' failed
(inkscape. exe:3460) : GLib-GObject- WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkWidget'
(inkscape. exe:3460) : Gtk-CRITICAL **: gtk_widget_ get_window: assertion `GTK_IS_WIDGET (widget)' failed
(inkscape. exe:3460) : Gdk-WARNING **: gdkdrawable- win32.c: 2013 drawable is not a pixmap or window