Ticket #2002 (closed: fixed)
ConvertUnits crashes mantid
Reported by: | Peter Peterson | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | major | Milestone: | Iteration 26 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Michael Whitty |
Description
If ConvertUnits is run on a workspace that doesn't have an instrument mantidplot crashes. Check that the instrument returned actually has a source object before de-referencing it. This is similar to the changes made in AlignDetectors with #1947.
Change History
comment:1 Changed 10 years ago by Nick Draper
- Owner set to Russell Taylor
- Status changed from new to assigned
comment:3 Changed 10 years ago by Russell Taylor
(In [7953]) Remove a memory leak in ConvertUnits for EventWorkspaces. Re #1973. Was supposed to fix crash if no instrument (Re #2002), but changes to geometry in connection with #2010 mean that the fix that worked yesterday doesn't work today. This is also leading up to a refactor to remove duplicated code - Re #1833.
comment:6 Changed 10 years ago by Russell Taylor
- Status changed from accepted to verify
- Resolution set to fixed
comment:7 Changed 10 years ago by Michael Whitty
- Status changed from verify to verifying
- Tester set to Michael Whitty
Note: See
TracTickets for help on using
tickets.