Ticket #4460 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Mantid crashes by invalid input of ConvertToEventWorkspace

Reported by: Wenduo Zhou Owned by: Janik Zikovsky
Priority: blocker Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Wenduo Zhou

Description

Mantid crashes when running ConvertToEventWorkspace() on a Workspace2D with point data (i.e., X vector is of same length of Y vector).

Procedure to reproduce the problem: CreateWorkspace(..., DataX="0,1,2,3,4,5", DataY="0,1,4,9,16,25", ...) ConvertToEventWorkspace(..., GenerateMultipleEvents=false,...) then Mantid crashes.

Change History

comment:1 Changed 9 years ago by Janik Zikovsky

  • Owner set to Janik Zikovsky
  • Status changed from new to accepted

comment:2 Changed 9 years ago by Nick Draper

sounds like a histogram validator, or a call to ConvertToHistogram is in order.

comment:3 Changed 9 years ago by Janik Zikovsky

Refs #4460 ConvertToEventWorkspace fails gracefully if given pointdata

Changeset: efc1d38ccc217c2417fdc89644b0e722e31843fa

comment:4 Changed 9 years ago by Janik Zikovsky

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

comment:5 Changed 9 years ago by Wenduo Zhou

  • Status changed from verify to verifying
  • Tester set to Wenduo Zhou

comment:6 Changed 9 years ago by Wenduo Zhou

  • Status changed from verifying to closed

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5307

Note: See TracTickets for help on using tickets.