Page MenuHomePhabricator

Crash in PlanarFigureInteractor if the figure is not correctly initialized
Closed, WontfixPublic

Description

It is currently easily possible to create an invalid PlanarFigure by creating one without having an image loaded. I once had another case, but that's not really reproducable.

However, if the placing of the figure fails, the Statemachine still switches to the 'placed' state.

-> Should be fixed because it's simply wrong!

If the figure is uninitialized and you move the mouse, ::EvaluateFeatures is called on the Figure. This causes CreatePolyLine() to be called. This method tries to access certain control-points of the figure without checking if they actually exists.

-> Should be fixed because it's reckless!

Event Timeline

What is the status of this bug? Is it still present in the 2012.09 release? Since march there have been a lot of changes to the measurement bundle. Can you check that markus?

Nothing has been done here so far, so the errors are still there.

kislinsk added a subscriber: kislinsk.
This task was automatically closed because it wasn't updated at least since July 2016 (over 2 years). Please re-open this task if you think that it is still relevant. This most probably means that you will resolve it.