crash when resizing in snapping mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
When resizing the "apt-get install anarchism" logo on the "meta" (or "tux" or "windows") key at the bottom left of the keyboard in the attached diagram, Inkscape crashes violently with:
Warning: limit of 200 snap sources reached, some will be ignored
inkscape: /usr/include/
Emergency save activated!
Emergency save document locations:
/home/
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
Complété
If snapping is disabled, the element can be resized properly.
To reproduce:
1. open the file
2. zoom onto one of the "meta" keys
3. click on the apt-get install anarchism logo
4. grab one of the handles, press control and shift to keep the ratio right and move
Make sure snapping is enabled otherwise this won't crash.
oh, and here's a backtrace:
(gdb) bt unix/sysv/ linux/raise. c:51 assertion@ entry=0x7f8ade8 9a1cc "this-> is_initialized( )", file@entry= 0x7f8ade89a248 "/usr/include/ boost/optional/ optional. hpp", line=line@ entry=868, function@ entry=0x7f8ade9 b0280 "boost: :optional< T>::reference_ type boost:: optional< T>::get( ) [with T = Geom::Rect; boost:: optional< T>::reference_ type = Geom::Rect&]") at assert.c:92 0x7f8ade89a1cc "this-> is_initialized( )", file=0x7f8ade89a248 "/usr/include/ boost/optional/ optional. hpp", 0x7f8ade9b0280 "boost: :optional< T>::reference_ type boost:: optional< T>::get( ) [with T = Geom::Rect; boost:: optional< T>::reference_ type = Geom::Rect&]") Geom::PathInter sectionSweepSet >::process( ) () from /usr/bin/ ../lib/ inkscape/ libinkscape_ base.so r::intersect( Geom::PathVecto r const&, double) const () from /usr/bin/ ../lib/ inkscape/ libinkscape_ base.so :ObjectSnapper: :_snapPathsCons trained( IntermSnapResul ts&, Inkscape: :SnapCandidateP oint const&, Inkscape: :Snapper: :SnapConstraint const&, Geom::Point const&) const () from /usr/bin/ ../lib/ inkscape/ libinkscape_ base.so :ObjectSnapper: :constrainedSna p(IntermSnapRes ults&, Inkscape: :SnapCandidateP oint const&, Geom::OptRect const&, Inkscape: :Snapper: :SnapConstraint const&, std::vector<SPItem const*, std::allocator< SPItem const*> > const*, std::vector< Inkscape: :SnapCandidateP oint, std::allocator< Inkscape: :SnapCandidateP oint> >*) const () from /usr/bin/ ../lib/ inkscape/ libinkscape_ base.so :constrainedSna p(Inkscape: :SnapCandidateP oint const&, Inkscape: :Snapper: :SnapConstraint const&, Geom::OptRect const&) const () ../lib/ inkscape/ libinkscape_ base.so :PureScale: :snap(SnapManag er*, Inkscape: :SnapCandidateP oint const&, Geom::Point, Geom::OptRect const&) const () ../lib/ inkscape/ libinkscape_ base.so :PureTransform: :snap(SnapManag er*, std::vector< Inkscape: :SnapCandidateP oint, std::allocator< Inkscape: :SnapCandidateP oint> > const&, Geom::Point const&) () from /usr/bin/ ../lib/ inkscape/ libinkscape_ base.so :snapTransforme d(std:: vector< Inkscape: :SnapCandidateP oint, std::allocator< Inkscape: :SnapCandidateP oint> > const&, Geom::Point const&, Inkscape: :PureTransform& ) () from /usr/bin/ ../lib/ inkscape/ libinkscape_ base.so :SelTrans: :scaleRequest( Geom::Point& , unsigned int) () from /usr/bin/ ../lib/ inkscape/ libinkscape_ base.so :SelTrans: :handleRequest( SPKnot* , Geom::Point*, unsigned int, SPSelTransHandle const&) () ../lib/ inkscape/ libinkscape_ base.so :slot_call< sigc::bind_ functor< -1, si...
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/
#1 0x00007f8ad49fb4ea in __GI_abort () at abort.c:118
#2 0x00007f8ad49f2e37 in __assert_fail_base (fmt=<optimized out>, assertion=
file=
function=
#3 0x00007f8ad49f2ee2 in __GI___assert_fail (assertion=
line=868,
function=
at assert.c:101
#4 0x00007f8ade84cbf4 in Geom::Sweeper<
#5 0x00007f8ade84b65e in Geom::PathVecto
#6 0x00007f8ade617f31 in Inkscape:
#7 0x00007f8ade61901c in Inkscape:
#8 0x00007f8ade65c71e in SnapManager:
from /usr/bin/
#9 0x00007f8ade625e8f in Inkscape:
from /usr/bin/
#10 0x00007f8ade626a23 in Inkscape:
#11 0x00007f8ade65867b in SnapManager:
#12 0x00007f8ade64dffd in Inkscape:
#13 0x00007f8ade650ce0 in Inkscape:
from /usr/bin/
#14 0x00007f8ade653d4f in sigc::internal: