Ticket #9024 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Mantid crashes when workspace with data displayed is overloaded

Reported by: Karl Palmen Owned by: Dan Nixon
Priority: major Milestone: Release 3.3
Component: Framework Keywords:
Cc: arturs.bekasovs@… Blocked By:
Blocking: Tester: Roman Tolchenov

Description

If I run

LoadMuonNexus("emu00006473.nxs", AutoGroup=True, OutputWorkspace="emu_no_groups")

then display the data in the workspace, leave the data displayed and run

LoadMuonNexus("emu00031895.nxs", AutoGroup=True, OutputWorkspace="emu_no_groups")

Mantid crashes on Windows 7 at least.

The two Nexus files are found in the AutoTestData folder and the systemtest data folders respectively.

Change History

comment:1 Changed 7 years ago by Nick Draper

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

The only crashes with the colour fill plot, the 1D plot is fine.

This is a situation where you are replacing a Workspace2D with a group workspace, and it therefore rare.

comment:2 Changed 6 years ago by Dan Nixon

  • Owner changed from Anyone to Dan Nixon
  • Status changed from assigned to inprogress

comment:3 Changed 6 years ago by Dan Nixon

Check new workspace for MantidMatrix is not a group workspace

Refs #9024

Changeset: 1391a9bfe9cce47e0f89e425fb557a664e013278

comment:4 Changed 6 years ago by Dan Nixon

Added check to ensure that cast to MatrixWorkspace does not return null.

If null is returned then close the matrix window and issue a warning to the log.

Following the original steps now causes the window to be closed when executing the second LoadMuonNexus, after which both workspaces appear in a group and can be opened and viewed normally.

comment:5 Changed 6 years ago by Dan Nixon

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

comment:6 Changed 6 years ago by Peter Parker

  • Milestone changed from Backlog to Release 3.3

comment:7 Changed 6 years ago by Roman Tolchenov

  • Status changed from verify to verifying
  • Tester set to Roman Tolchenov

comment:8 Changed 6 years ago by Roman Tolchenov

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/bugfix/9024_fix_crash_when_grouping_displayed_matrix'

Full changeset: a28b08b3b75b3f2ccdd3c54cc7b59cd430b0fc80

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9867

Note: See TracTickets for help on using tickets.