Ticket #4697 (closed: worksforme)

Opened 9 years ago

Last modified 5 years ago

NormaliseToMonitors segmentation fault on bad input

Reported by: Ronald Fowler Owned by: Russell Taylor
Priority: major Milestone: Release 3.0
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Mathieu Doucet

Description (last modified by Russell Taylor) (diff)

The following sequence of commands in the GUI cause a segmentation fault on RHEL5 and Win32:

  1. Load a data file, e.g. MAR11001.raw
  1. Execute NormaliseToMonitor
    • set the input W/S as MAR11001
    • set output W/S as e.g. test
    • set Monitor W/S as MAR11001 (this is not valid, but a user could do it)
    • Run the algorithm - error "MonitorWorkspace must contain only 1 spectrum" is given.
  2. Execute NormaliseToMonitor again
    • keep input and output as before but set MonitorWorkspace to the empty value
    • Run the algorithm - MantidPlot exits with a segmentation fault.

Change History

comment:1 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.1 to Release 2.2

Moved at end of release 2.1

comment:2 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.2 to Release 2.3

Moved at the end of release 2.2

comment:3 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

Moved to milestone 2.4

comment:4 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.4 to Release 2.5

Moved at the code freeze for release 2.4

comment:5 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.5 to Release 2.6

Moved to r2.6 at the end of r2.5

comment:6 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:7 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.6 to Backlog

Moved to backlog at the code freeze for R2.6

comment:8 Changed 7 years ago by Russell Taylor

  • Status changed from new to verify
  • Owner changed from Anyone to Russell Taylor
  • Resolution set to worksforme
  • Description modified (diff)
  • Milestone changed from Backlog to Release 3.0

NormaliseToMonitor has been extensively changed since this ticket was written, mainly under #4400. I can't get this to crash, and actually step 2 doesn't fail any more.

comment:9 Changed 7 years ago by Mathieu Doucet

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

comment:10 Changed 7 years ago by Mathieu Doucet

  • Status changed from verifying to closed

comment:11 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5544

Note: See TracTickets for help on using tickets.