qnet - crashes when changing PointType from Constrained to Fixed
Changing a point from a constrained to a fixed point while working on a image should not crash
While working with a ground (constrained) point, qnet will crash when I change the point type to Fixed. An error dialog pops up about the serial number not being unique, I click ok, try to do something else, then it crashes.
Small data set to play with: /work/users/lweller/Isis3Tests/Qnet/MiscSegFaultsWithGround/
open ground source Shade_Mola_Radius.cub
open radius source Mola_Radius.cub
- open constrained point in editor (or add a new one and save it)
- change point type from constrained to fixed (constrained to free seems ok)
- click ok in error dialog box
this first happened with a very large messenger network, so it's not data specific.
I have no idea when this started.
#1 Updated by Lynn Weller over 4 years ago
This error does not occur under the isis3production2013-10-01 version of isis which is the version saved prior to the rings merge.
I have gone back as far as I can with isis versions including the last public release isis3.4.5 and confirmed the crash occurs there as well. I'm thinking this is a rings issue that we haven't caught due to lack of app tests for qnet and the fact that we don't used fixed as often as constrained.
#16 Updated by Moses Milazzo over 3 years ago
From testing, it appears as though qnet crashes when changing from Fixed to Constrained in exactly the same way as changing from Constrained to Fixed. Both changes appear to be calling the AddMeasure method in the ControlPoint class. Still digging to figure out why it's doing that instead of just changing the PointType.
#21 Updated by Ian Humphrey over 3 years ago
- Status changed from In Progress to Resolved
Modified the logic related to setting the point type on a ground measure. Now when switching between Fixed and Constrained types (and vice versa), the ground measure is no longer added as new measure (causing an error with serial numbers not being unique).
To test, setisis /work/projects/isis/latest/m02060/isis
We tested switching from fixed/constrained to free, free to fixed/constrained, and constrained to fixed (and vice versa) and being sure to save the point as well.