Ticket #3691 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

InstrumentView crash when unwrapping

Reported by: Russell Taylor Owned by: Roman Tolchenov
Priority: major Milestone: Release 2.0
Component: MantidPlot Keywords:
Cc: Blocked By:
Blocking: Tester: Michael Reuter

Description

The following lead to MantidPlot crashing at present. I know this is not a real instrument, but it still shouldn't be possible to bring the whole thing down in this way.

  • Run LoadEmptyInstrument on IDFs_for_UNIT_TESTING/INDIRECT_Definition.xml
  • Show the instrument
  • Attempt to switch the rendering to one of the unwrapped views (X or Y - Z appears OK)
  • Kaboom!

Stack trace:

std::_Bit_reference::operator=() at stl_bvector.h:84 0x9eab71	
UnwrappedSurface::findAndCorrectUGap() at UnwrappedSurface.cpp:496 0x9e9caf	
UnwrappedSurface::init() at UnwrappedSurface.cpp:93 0x9e70de	
UnwrappedCylinder::UnwrappedCylinder() at UnwrappedCylinder.cpp:8 0x9e5341	
InstrumentWindow::setSurfaceType() at InstrumentWindow.cpp:229 0x9c3403	

Change History

comment:1 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 30 to Iteration 31

Bulk move of tickets to iteration 31 at the iteration 30 code freeze

comment:2 Changed 9 years ago by Roman Tolchenov

  • Status changed from new to accepted

comment:3 Changed 9 years ago by Roman Tolchenov

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

In [15153]:

Unwrapped views don't like it when detectors are in XY, XZ or YZ planes. fixes #3691

comment:4 Changed 9 years ago by Michael Reuter

  • Status changed from verify to verifying
  • Tester set to Michael Reuter

comment:5 Changed 9 years ago by Michael Reuter

  • Status changed from verifying to closed

OK, the program doesn't crash anymore when trying to create the views.

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4538

Note: See TracTickets for help on using tickets.