Ticket #10895 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

Running ConvertToMD on a MARI nxspe file results in a segfault

Reported by: Ian Bush Owned by: Alex Buts
Priority: major Milestone: Release 3.4
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Nick Draper

Description

To reproduce:

  1. Convert MARI file, such as MAR11001.raw to NXSPE, e.g. using MariReduction.py in Mantid/scripts/test.
  2. Try to use ConvertMD, e.g. using example shown here http://docs.mantidproject.org/nightly/algorithms/ConvertToMD-v1.html#usage-examples
  3. This results in a segfault. By doing - gdb python - then running the script shows the segfault occurs at:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4be208c in Mantid::Kernel::Matrix<double>::lubksb(int const*, double*) () from /opt/Mantid/lib/libMantidKernel.so

Change History

comment:1 Changed 6 years ago by Alex Buts

  • Status changed from new to assigned
  • Milestone changed from Backlog to Release 3.4

comment:2 Changed 6 years ago by Alex Buts

  • Status changed from assigned to verify
  • Resolution set to worksforme

Can not reproduce this bug. May be this is system dependent bug?

Tried on windows 7

The script below works completely fine both with QDimensions='|Q|' and with QDimensions='Q3D' (and CopyToMD though its unclear what it means)

# Load Operation (disabled in test code)
ws=Load(Filename='MAR11001.nxspe',OutputWorkspace='MAR11001')
# Simulates Load of the workspace above #################
#redWS = CreateSimulationWorkspace(Instrument='MAR',BinParams=[-10,1,10],UnitX='DeltaE',OutputWorkspace='MAR11001')
AddSampleLog(ws,LogName='Ei',LogText='12.',LogType='Number');
# Do fine rebinning, which accounts for poligon intersections
# copy to new MD workspace
ws=ConvertToMD(InputWorkspace=ws,OutputWorkspace='MD3',QDimensions='|Q|',MinValues='-10,-10,-10,-2',MaxValues='10,10,10,10',SplitInto='50',MaxRecursionDepth=1)

comment:3 Changed 6 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:4 Changed 6 years ago by Nick Draper

  • Status changed from verifying to closed

comment:5 Changed 5 years ago by Nick Draper

  • Resolution changed from worksforme to fixed

Somehow these slipped through without a resolution. Set to Fixed.

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11734

Note: See TracTickets for help on using tickets.