Ticket #3756 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Segfaults/freezes in VatesSimpleGUI with non-3D MDWorkspaces

Reported by: Janik Zikovsky Owned by: Michael Reuter
Priority: major Milestone: Release 2.0
Component: VATES Keywords:
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description

I've had some odd behavior looking at 2D MDWorkspaces... I created a 2D workspace with this code:

CreateMDWorkspace(Dimensions='4',Extents='-5,5,-5,5,-5,5,-5,5',Names='Q_sample_x,Q_sample_y,Q__sample_z,t',Units='A,A,A,sec',SplitInto='5',SplitThreshold='2000',MaxRecursionDepth='3',
		MinRecursionDepth='1',	OutputWorkspace='MD_4D')
CreateMDWorkspace(Dimensions='3',Extents='-5,5,-5,5,-5,5,',Names='x,y,z',Units='A,A,A',SplitInto='5',SplitThreshold='2000',MaxRecursionDepth='3',
		MinRecursionDepth='1',	OutputWorkspace='MD_3D')
CreateMDWorkspace(Dimensions='2',Extents='-5,5,-5,5',Names='x,y',Units='A, m',SplitInto='5',SplitThreshold='2000',MaxRecursionDepth='3',
		MinRecursionDepth='1',	OutputWorkspace='MD_2D')

... and opened it into Vates simple view (within MantidPlot). I have some situations where when I would go to Multislice, or when I would close the view and then reopen it would freeze my desktop and I had to switch to a console to kill MantidPlot.

I also got a couple of segfaults when trying e.g. the ThreeSlice button with these workspaces. Maybe because they have no data??

Change History

comment:1 Changed 9 years ago by Owen Arnold

Should we read the dimensionality of the data coming in to the Vates Simple GUI and gracefully exit if the user is trying to use it without having 3D-4D data before any other processing?

Other option is to allow the visualisation/rebinning of nD data, which should work, but disable multislice and three slice view, which are 3D+ only tools. Simple view should work with whatever we want. We probably ought to be able to use the simple gui with < 3D data so I suggest this option.

comment:2 Changed 9 years ago by Michael Reuter

  • Status changed from new to accepted

comment:3 Changed 9 years ago by Michael Reuter

Refs #3756. Only enable simple interface for 3 and 4 dimensional data.

With the advent of the Slice and Line viewers, the simple interface is being restricted to only handling 3D and 4D data.

Changeset: e222a4953d1fcd0027a87e9fcd054f5c866edc85

comment:4 Changed 9 years ago by Michael Reuter

  • Component changed from Mantid to VATES

comment:5 Changed 9 years ago by Michael Reuter

Refs #3756. Only enable simple interface for 3 and 4 dimensional data.

With the advent of the Slice and Line viewers, the simple interface is being restricted to only handling 3D and 4D data.

Changeset: e222a4953d1fcd0027a87e9fcd054f5c866edc85

comment:6 Changed 9 years ago by Michael Reuter

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

To test, use the above examples. Only the 4D and 3D workspaces should open with the simple interface. Please note, no other operations can be done other than opening since the workspaces contain no data.

comment:7 Changed 9 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:8 Changed 9 years ago by Owen Arnold

  • Status changed from verifying to verify
  • Tester Owen Arnold deleted

comment:9 Changed 9 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

Didn't think i'd have time to test this, but looks like I will.

comment:10 Changed 9 years ago by Owen Arnold

  • Status changed from verifying to closed

It's not possible to visualise 2D workspaces like this any more.

comment:11 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4603

Note: See TracTickets for help on using tickets.