Make object -> Apply certain filters -> Open filter editor -> Undo -> Crash

Bug #582552 reported by Jesse Millikan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
jazzynico

Bug Description

Inkscape 0.47 r22583, built Nov 21 2009
Windows XP SP3

- New Document
- Draw anything that "Blueprint"/similar filters will show a result for
 - Import bitmap
 OR
 - Draw new ellipse & set fill and stroke different
 - Set fill color to greenish (e.g.)
 - Set stroke color to reddish (e.g.)
 OR
 - Draw cube
- Apply "Blueprint" effect to object (or several other filters, see below; all seem to use Color Matrix and Convolve Matrix)
- Bring up filter editor via menu
- Ctrl-z to undo filter
- Crash
 - While crash dialogues are on screen, the lowermost item in the filter editor ("Color Matrix") has dissappeared
   leaving "Convolve Matrix" on top, and the image is changed

- Variations that DON'T crash:
 - Does NOT crash if you bring up filter editor before applying filter even if you close it before applying
 - Does NOT crash for ellipse if fill and stroke are the same (Blueprint produces nothing in that case...)
 - Does not appear to crash with SOME other filters - "Drawing", "Film Grain"

- Variations that DO crash:
 - crashes with similar filters - "Edge Detect", "Horizontal Edge Detect", "Pencil", "Sharpen More"
 - crashes if you take at least some other actions (I tried drawing a rectangle), as long as you undo back to the filter
 - If you apply a second filter, crashes after 2 undos (undoing the first filter)

Related branches

su_v (suv-lp)
tags: added: crash filters-svg
tags: added: undo
Changed in inkscape:
importance: Undecided → High
Revision history for this message
su_v (suv-lp) wrote :

reproduced with Inkscape 0.47 and 0.47+devel r9433 on OS X 10.5.8

Revision history for this message
su_v (suv-lp) wrote :

crash log (including bt) from 0.47+devel r9433

Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

steps used to reproduce the crash:
1) open document containing an ellipse with different fill and stroke paint
3) apply 'Filters > Image effects > Blueprint'
4) open Filter Editor
5) undo

Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Windows XP, Inkscape trunk revision 11562.

Crashes with the following console message:
ERROR:src/ui/widget/attr-widget.h:103:char* Inkscape::UI::Widget::DefaultValueHolder::as_charptr(): assertion failed: (t
ype == T_CHARPTR)

Revision history for this message
jazzynico (jazzynico) wrote :

Patch tested on Windows XP only, Inkscape trunk revision 11575.

Changed in inkscape:
assignee: nobody → JazzyNico (jazzynico)
milestone: none → 0.49
status: Confirmed → In Progress
Revision history for this message
jazzynico (jazzynico) wrote :
jazzynico (jazzynico)
tags: added: backport-proposed
tags: added: ui
Revision history for this message
jazzynico (jazzynico) wrote :

Tested on Ubuntu 11.04 and committed revision 11582.

Changed in inkscape:
status: In Progress → Fix Committed
Revision history for this message
jazzynico (jazzynico) wrote :

Backported to the branch, revision 9925.

Changed in inkscape:
milestone: 0.49 → 0.48.4
tags: removed: backport-proposed
Ted Gould (ted)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.