Ticket #4992 (closed: worksforme)

Opened 9 years ago

Last modified 5 years ago

Pick view crashes Mantid on restricted TOF range

Reported by: Mathieu Doucet Owned by: Karl Palmen
Priority: major Milestone: Release 2.1
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Mathieu Doucet

Description

The pick tab of the instrument view makes MantidPlot crash when a TOF range has been selected through the Render tab beforehand.

Do this:

  • Load an event workspace using LoadEventNexus
  • Pop up the Instrument View.
  • Change the TOF range using the slider at the bottom of the Render tab of the instrument view.
  • After selecting a TOF range, click the Pick tab.
  • Hover the mouse cursor over the detector. That will cause a std::bad_alloc exception.

Change History

comment:1 Changed 9 years ago by Mathieu Doucet

  • Status changed from new to assigned
  • Owner set to Anyone

comment:2 Changed 9 years ago by Karl Palmen

  • Owner changed from Anyone to Karl Palmen

comment:3 Changed 9 years ago by Karl Palmen

I've been able to reproduce this bug with a WISH Nexus file.

comment:4 Changed 9 years ago by Karl Palmen

I don't find it necessary to change the TOF range for it to crash. Just moving the cursor to the instrument in pick view will cause it to crash. I get "Vector iterator + offset out of range". See #5064.

comment:5 Changed 8 years ago by Karl Palmen

  • Status changed from assigned to accepted

comment:6 Changed 8 years ago by Karl Palmen

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

The problem does not occur in a recent build.

comment:7 Changed 8 years ago by Mathieu Doucet

  • Status changed from verify to verifying
  • Tester set to Mathieu Doucet

Everything is OK again.

comment:8 Changed 8 years ago by Mathieu Doucet

  • Status changed from verifying to closed

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5838

Note: See TracTickets for help on using tickets.