Comment 0 for bug 811819

su_v (suv-lp) wrote :

Follow-up report to bug #212768 (originally reported by Katterkrab on irc for r10450 (Ubuntu), based on this file: <>)

Resizing a clipped object by changing the width (or height) value on the controls bar of the select tool causes Inkscape to crash.

Steps to reproduce:
1) launch Inkscape with default preferences
2) draw two overlapping rectangles
3) select both and set a clip
4) select the clipped rectangle and change the width on the controls bar of the select tool

-> crash:

ERROR:sp-item-transform.cpp:252:Geom::Affine get_scale_transform_with_unequal_stroke(const Geom::Rect&, const Geom::Rect&, bool, gdouble, gdouble, gdouble, gdouble): assertion failed: (r0w >= 0)

- crash does not occur when using the mouse to stretch the clipped object on-canvas
- 'Scale stroke width' does not matter - crash occurs with either setting.

Not reproduced with Inkscape 0.48.1, 0.48+devel r10436
Reproduced with r10439 (former r10442) and r10463
on Mac OS X 10.5.8 (i386), GCC 4.2.1, compiled with '-g -O0')