Ticket #5907 (closed: wontfix)

Opened 8 years ago

Last modified 5 years ago

SegFault through nx

Reported by: Peter Peterson Owned by: Peter Peterson
Priority: major Milestone: Release 2.4
Component: Mantid Keywords:
Cc: mikkelsond@… Blocked By:
Blocking: Tester: Vickie Lynch

Description

This has happened for both Dennis Mikkelson and Art Schultz, but Pete Peterson and Stuart Campbell have everything work fine. To reproduce run the python script below from a terminal in a nx session

import sys
sys.path.append("/opt/mantidnightly/bin")
#sys.path.append("/opt/Mantid/bin")

from MantidFramework import mtd
mtd.initialise()
from mantidsimple import *

file_name = "/SNS/TOPAZ/IPTS-4822/0/3857/NeXus/TOPAZ_3857_event.nxs"

LoadEventNexus( Filename=file_name, OutputWorkspace='TOPAZ_events', 
                FilterByTofMin='500', FilterByTofMax='16000' )

ConvertToDiffractionMDWorkspace( InputWorkspace='TOPAZ_events', OutputWorkspace='TOPAZ_MDEW',
                                 LorentzCorrection='1', OutputDimensions='Q (lab frame)',
                                 SplitInto='2,2,2', SplitThreshold='50',MaxRecursionDepth='12')

sys.exit()

If you (in the terminal) ssh back to the same machine and run it, the script works.

Change History

comment:1 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

Moved to milestone 2.4

comment:2 Changed 8 years ago by Peter Peterson

  • Status changed from new to assigned
  • Owner set to Peter Peterson

comment:3 Changed 8 years ago by Peter Peterson

The segfault happens randomly during ConvertToDiffractionMDWorkspace, but happens everytime.

Changing the ConvertToDiffractionMD to (the parameters might not be all 'correct' for real use)

ConvertToMD( InputWorkspace='TOPAZ_events', OutputWorkspace='TOPAZ_MDEW',
             LorentzCorrection=True, QDimensions='Q3D',
             dEAnalysisMode='Elastic', QConversionScales='Q in A^-1',
             SplitInto='2,2,2', SplitThreshold='50',MaxRecursionDepth='12',
             MinValues='-15,-15,-15', MaxValues='15,15,15')

does not crash, but does hang roughly 25% of the time. Since ConvertToMD is what people should use in the long term, the effort should be spent making sure that the results of that are correct.

comment:4 Changed 8 years ago by Peter Peterson

  • Status changed from assigned to accepted

comment:5 Changed 8 years ago by Peter Peterson

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

Since ConvertToDiffractionMDWorkspace is meant to be replaced by ConvertToMD this issue will not be worked on directly. Instead, people should move to using ConvertToMD.

comment:6 Changed 8 years ago by Vickie Lynch

  • Status changed from verify to verifying
  • Tester set to Vickie Lynch

comment:7 Changed 8 years ago by Vickie Lynch

  • Status changed from verifying to closed

This has been fixed with ticket #6385

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6753

Note: See TracTickets for help on using tickets.