Ticket #1214 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Crash: ConvertingUnits with instrument display open

Reported by: Nick Draper Owned by: Martyn Gigg
Priority: critical Milestone: Iteration 23
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

Crash when instrument view is plotted and runningConvertUnits from tof to d-spacing.

Program received signal SIGSEGV, Segmentation fault.
0x00000000007d7050 in Instrument3DWidget::integrateSingleSpectra(boost::shared_ptr<Mantid::API::MatrixWorkspace>, int) ()

To reproduce:

  1. Load GEM
  2. Show the instrument window
  3. ConvertUnits to dspacing in the same workspace
  4. Bang!

Change History

comment:1 Changed 10 years ago by Martyn Gigg

(In [4342]) Fix for instrument view crash when a replaced workspace contained infinities within bin values. It was confusing the std accumulate algorithm by having a begin after the end. Also a small fix for a non-existant renameWorkspace slot warning. Re #1214

comment:2 Changed 10 years ago by Martyn Gigg

(In [4343]) Fix for windows build. Exchange use of isinf for std::numeric_limits test. Re #1214

comment:3 Changed 10 years ago by Martyn Gigg

(In [4344]) Accidentally broke renaming from right-click menu. Re #1214

comment:4 Changed 10 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:5 Changed 10 years ago by Martyn Gigg

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

comment:6 Changed 10 years ago by Russell Taylor

  • Status changed from testing to closed

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2061

Note: See TracTickets for help on using tickets.