Ticket #6353 (closed: wontfix)
Vates Simple Interface and virtual desktops on RHEL 6 can crash MantidPlot
Reported by: | Dennis Mikkelson | Owned by: | Michael Reuter |
---|---|---|---|
Priority: | major | Milestone: | Release 2.4 |
Component: | VATES | Keywords: | |
Cc: | petersonpf@… | Blocked By: | |
Blocking: | Tester: | Russell Taylor |
Description
The following steps consistently crash MantidPlot on RHEL 6 and Scientific Linux.
- Load a TOPAZ file, for example TOPAZ_6251_event.nxs
- ConvertToMD
- Bring up the Vates Simple Interface (VSI) for the MD workspace
- Choose the scatter plot icon
- Switch to a different virtual desktop
- Switch back to the virtual desktop with MantidPlot and the VSI
- At this point the VSI window is still present, but the scatter plot is empty.
- Choose the scatter plot icon again, and MantidPlot will seg fault.
The parameters used when loading and converting to MD are recorded in the script below:
Load(Filename='TOPAZ_6251_event.nxs',OutputWorkspace='TOPAZ_6251_event')
ConvertToMD(InputWorkspace='TOPAZ_6251_event',OutputWorkspace='TOPAZ_6251_MD',QDimensions='Q3D', dEAnalysisMode='Elastic',LorentzCorrection='1',MinValues='25,-25,-25',MaxValues='25,25,25', SplitInto='2,2,2',SplitThreshold='50',MaxRecursionDepth='13',MinRecursionDepth='7')
Change History
comment:3 Changed 8 years ago by Michael Reuter
- Owner set to Michael Reuter
- Cc reuterma@… removed
- Component changed from Mantid to VATES
- Status changed from new to accepted
comment:4 Changed 8 years ago by Michael Reuter
- Status changed from accepted to verify
- Resolution set to wontfix
I FINALLY found the way to keep RHEL from causing the window closing code from executing when switching virtual desktops. BTW, Ubuntu does not suffer from this problem. As the fix is different from what is being requested here, I'm closing this ticket in favor of #6355.
comment:5 Changed 8 years ago by Owen Arnold
- Status changed from verify to verifying
- Tester set to Owen Arnold
comment:6 Changed 8 years ago by Owen Arnold
- Status changed from verifying to verify
- Tester Owen Arnold deleted
comment:7 Changed 8 years ago by Russell Taylor
- Status changed from verify to verifying
- Tester set to Russell Taylor
I can reproduce this and running in gdb shows the crash to come because the pqPipelineSource pointer passed into (and then used by) pqObjectBuilder::createFilter at line 90 of SplatterPlotView.cpp is NULL.
So some checks for non-nullness of the pointer and either regeneration of the pipeline or a clean take-down of the VSI would seem to be needed. This also applies to other views (e.g. ThreeSliceView.cpp line 167).