#234 sodipodi freezes with 100% CPU during normal operation

open
General (130)
5
2004-05-31
2004-05-31
No

sodipodi version: 0.34

When I load the attached file and attempt to do pretty
much anything, sooner or later sodipodi seems to enter
an infinite loop.

Try, for example, zooming in to the maximum
magnification and moving the circle of numbers around.

Please let me know if this problem has been fixed in
the CVS !

If there's a CVS version that's relatively stable, or
if the state of the repository on a certain date is
relatively stable and the problem is fixed, please let
me know.

My email address is:
nix <at> go-nix <dot> ca

Discussion

  • Gabriel Schulhof

    Problematic SVG file

     
  • Nobody/Anonymous

    Logged In: NO

    Inkscape works fine on this file.

     
  • Gabriel Schulhof

    Logged In: YES
    user_id=859366

    More information: The infinite loop only seems to occur in
    a design where a path contains overlapping nodes.

     
  • matthieu

    matthieu - 2004-12-23

    Logged In: YES
    user_id=1182431

    I have reproduced several time your bug on my computer. I
    have noticed the same function is called several time with
    the same arguments (when sodipodi is doing is infinite loop).

    Find below the stack dump (I have a bug with gdb too so I
    don't have the full stack...)

    I am using sodipodi 0.34

    /src/libnr/nr-svp-uncross.c:942:26728:beg:0x40000000002023f0
    (gdb) backtrace
    #0 nr_svl_slice_compare (l=0x60000000001dea80,
    r=0x600000000041b640) at nr-svp-uncross.c:942
    #1 0x40000000001feca0 in nr_svl_uncross_full
    (svl=0x60000000001dc570, flats=0x60000000001dea80,
    windrule=0) at nr-svp-uncross.c:114
    #2 0x400000000020a760 in nr_bpath_stroke
    (path=0x60000000004c42d0, transform=0x0, width=-892.9375,
    cap=4997880, join=4997888, miterlimit=58.0625, flatness=16)
    at nr-stroke.c:362
    #3 0x40000000001a2640 in nr_arena_shape_update
    (item=0x60000000004594b0, area=0x60000fffffffb158,
    gc=0x60000fffffffb190, state=4560264, reset=4560104) at
    nr-arena-shape.c:339
    #4 0x400000000019a090 in nr_arena_item_invoke_update
    (item=0x60000000004594b0,
    area=0x0, gc=0x60000fffffffb1c8, state=510, reset=510) at
    nr-arena-item.c:224
    #5 0x400000000019f310 in nr_arena_group_update
    (item=0x6000000000458610, area=0x0, gc=0x60000fffffffb1f0,
    state=510, reset=510) at nr-arena-group.c:190
    #6 0x400000000019a090 in nr_arena_item_invoke_update
    (item=0x6000000000458610,
    area=0x0, gc=0x60000fffffffb228, state=510, reset=510) at
    nr-arena-item.c:224
    #7 0x400000000019f310 in nr_arena_group_update
    (item=0x6000000000444960, area=0x0, gc=0x60000fffffffb250,
    state=510, reset=510) at nr-arena-group.c:190
    #8 0x400000000019a090 in nr_arena_item_invoke_update
    (item=0x6000000000444960,
    area=0x0, gc=0x6000000000444918, state=510, reset=510) at
    nr-arena-item.c:224
    #9 0x40000000001a7f80 in sp_canvas_arena_update
    (item=0x6000000000444890, ctm=0x60000fffffffb2e8, flags=2)
    at canvas-arena.c:165
    #10 0x40000000001abad0 in sp_canvas_item_invoke_update
    (item=0x6000000000444890, ctm=0x60000fffffffb2e0, flags=2)
    at sp-canvas.c:238
    #11 0x40000000001ae5b0 in sp_canvas_group_update
    (item=0x60000000004458f0, ctm=0x60000fffffffb330, flags=2)
    at sp-canvas.c:756
    #12 0x40000000001abad0 in sp_canvas_item_invoke_update
    (item=0x60000000004458f0, ctm=0x60000fffffffb330, flags=2)
    at sp-canvas.c:238
    #13 0x40000000001ae5b0 in sp_canvas_group_update
    (item=0x600000000043f9d0, ctm=0x60000fffffffb3b0, flags=1)
    at sp-canvas.c:756
    #14 0x40000000001abad0 in sp_canvas_item_invoke_update
    (item=0x600000000043f9d0, ctm=0x60000fffffffb3b0, flags=1)
    at sp-canvas.c:238
    #15 0x40000000001b2cc0 in do_update
    (canvas=0x600000000043efa0) at sp-canvas.c:1838
    #16 0x40000000001b2d70 in idle_handler
    (data=0x600000000043efa0) at sp-canvas.c:1869
    #17 0x20000000009a6f90 in g_idle_dispatch () from
    /usr/lib/libglib-2.0.so.0
    #18 0x200000000099f010 in g_main_depth () from
    /usr/lib/libglib-2.0.so.0
    #19 0x0000000000000000 in ?? ()

     

Log in to post a comment.