Ticket #4701 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

OneCurvePlot Crashes

Reported by: Owen Arnold Owned by: Owen Arnold
Priority: critical Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Russell Taylor

Description

Try this:

  • Load MAR11001.raw
  • Show Instrument
  • Pick tab
  • Hover over instrument and 'Store Curve'
  • Hover over miniplot and 'Remove curve' selecing the previously stored curve. Boom! mantid crashes.

Tried on Win64 debug mode.

Change History

comment:1 Changed 9 years ago by Owen Arnold

Iterator is invalid after call to erase. Call delete on iterator value then call QMap::erase.

comment:2 Changed 9 years ago by Owen Arnold

refs #4701. Fixes miniplot crash.

Changeset: a806c4af0ff0ef1e550a0c51b42a0b8182c8ef60

comment:3 Changed 9 years ago by Owen Arnold

Tester: Try the sequence listed above in the description.

comment:4 Changed 9 years ago by Owen Arnold

  • Status changed from new to accepted

comment:5 Changed 9 years ago by Owen Arnold

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:6 Changed 9 years ago by Russell Taylor

  • Status changed from verify to verifying
  • Tester set to Russell Taylor

comment:7 Changed 9 years ago by Russell Taylor

  • Status changed from verifying to closed

Tested on 3 platforms (including windows debug) and no crash. Can see from the code change that the obvious problem has been fixed.

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5548

Note: See TracTickets for help on using tickets.