Ticket #8828 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Mantid crash when adding workspace spectra to Qti plot

Reported by: Arturs Bekasovs Owned by: Harry Jeffery
Priority: major Milestone: Release 3.3
Component: GUI Keywords:
Cc: Blocked By:
Blocking: Tester: Peter Parker

Description (last modified by Arturs Bekasovs) (diff)

To reproduce:

  1. File -> New -> New Table

  1. Fill the table with some values. (You may find Table -> Set Column Values... handy to do that quickly)
  1. Select Y column, and do Plot -> Line.
  1. Load any Mantid workspace.
  1. Drag&drop the loaded workspace from the Workspaces tree-view to the plot, selecting any spectra.

Change History

comment:1 Changed 7 years ago by Arturs Bekasovs

  • Description modified (diff)

comment:2 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

bulk move to assigned at the into of the triage step

comment:3 Changed 6 years ago by Harry Jeffery

  • Owner set to Harry Jeffery
  • Status changed from assigned to inprogress

comment:4 Changed 6 years ago by Harry Jeffery

Fix crash when adding workspace spectra to plot.

This crash was caused by checking the types of units when no units existed yet. We now adopt the new curve's units if we have none of our own, and check the unit pointers before dereferencing them.

Refs #8828

Changeset: 874da42d3d0c8ad2b8e78b7071c45fde3603f911

comment:5 Changed 6 years ago by Harry Jeffery

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

Testing: See reproduction steps above.

comment:6 Changed 6 years ago by Peter Parker

  • Status changed from verify to verifying
  • Tester set to Peter Parker

comment:7 Changed 6 years ago by Peter Parker

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/bugfix/8828_fix_crash_when_adding_spectra_to_plot'

Full changeset: f8b9004b21c0ad049842648088dd569a5790dc40

comment:8 Changed 6 years ago by Nick Draper

  • Milestone changed from Backlog to Release 3.3

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9670

Note: See TracTickets for help on using tickets.