#431 Crach on "Draw Elipse with axis in the x/y direction by 4 points on elipse"

master branch
closed-fixed
nobody
None
6
2014-07-13
2013-10-08
No

When using snap to grid and using the tool "Draw Elipse with axis in the x/y direction by 4 points on elipse" LC craches with the following output:

RS_DEBUG::setLevel(3)
RS_DEBUG: Critical
RS_DEBUG: Errors
RS_DEBUG: Warnings
Check failed in file /usr/include/boost/numeric/ublas/functional.hpp at line 1370:
i < size_i
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'boost::numeric::ublas::bad_index'
what(): bad index
Avbrutt (SIGABRT)

Discussion

  • Dongxu Li

    Dongxu Li - 2013-10-14

    I can not reproduce this one.

    can you get more detailed steps to reproduce this bug:

    example:

    0, snap to grid only
    1, "Draw Elipse with axis in the x/y direction by 4 points on elipse"
    2, snap to first point (0, 0);
    3, snap to second point (10, 0);
    4, snap to third point (10,10);
    5, snap to the 4th point (-10, -10).

    results:

    LC crashes with error:

     
  • Kjetil Koksvik

    Kjetil Koksvik - 2013-10-30

    Seams like there is a spesial case when using first point in origo.(Does not crash)
    example:

    0, snap to grid only
    1, "Draw Elipse with axis in the x/y direction by 4 points on elipse"
    2, snap to first point (100, 100);
    3, snap to second point (100, 110);
    4, snap to third point (110,110); crashes here, not always imediate
    5, snap to the 4th point (110, 100).

    results:

    LC crashes with error:
    RS_DEBUG::setLevel(3)
    RS_DEBUG: Critical
    RS_DEBUG: Errors
    RS_DEBUG: Warnings
    Check failed in file /usr/include/boost/numeric/ublas/functional.hpp at line 1370:
    i < size_i
    Qt has caught an exception thrown from an event handler. Throwing
    exceptions from an event handler is not supported in Qt. You must
    reimplement QApplication::notify() and catch all exceptions there.

    terminate called after throwing an instance of 'boost::numeric::ublas::bad_index'
    what(): bad index
    Avbrutt (SIGABRT)

     
  • Dongxu Li

    Dongxu Li - 2013-11-25

    fixed in master branch, commit 6cd4c69

     
  • Dongxu Li

    Dongxu Li - 2013-11-25
    • status: open --> open-fixed
     
  • Dongxu Li

    Dongxu Li - 2014-07-13
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks