Crash with remove overlap + negative minimum overlap.

Bug #292154 reported by Thomas Hicks
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned

Bug Description

Possibly duplicate of Bug #214186

(tested in 0.46 and 0.46+devel, revision 20097, 29/Oct/2008. Win32, Vista)

Crash with remove overlap. with narrow objects and negative minimum overlap

"
Microsoft C++ runtime library
Assertion failed!
File:/ src/libvpsc/generate-constraints.cpp
Line: 33
Expression y<=Y
For info on how to debug...."

Steps to reproduce.

1) create a rectangle with a width of 30px
(1a, not needed) duplicate rectangle
2) try to remove overlap with V:-31px *
3) Crash

*although it may seem silly to try to remove an overlap with a larger -ve displacement than the size of the object, consider the case where you have several large objects and 1 (or more) very small objects, ether on purpose or by accident

Tags: crash
Alvin Penner (apenner)
Changed in inkscape:
status: New → Confirmed
tags: added: crash
Revision history for this message
Johan Engelen (johanengelen) wrote :

I cannot make it crash with r10605. I did:
0) start new inkscape
1) create rectangle with width 30 px.
2) duplicate the rectangle
3) select both
4) in Align and Distribute dialog, enter -31 for V in Remove overlaps section
5) click the button in Remove overlaps section
No crash. (entering minus values for H does not crash, but does nothing)

Should the procedure work for negative values?

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

Crash reproduced with Inkscape 0.46 on Mac OS X 10.5.8 (i386),
Not reproduced with Inkscape 0.47 and later versions.

Closing as 'Fix Released' with milestone 0.47.

Changed in inkscape:
milestone: none → 0.47
status: Incomplete → 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.