SaveNexusProcessed segmentation fault #1508
Labels
High Priority
An issue or pull request that if not addressed is severe enough to postponse a release.
Milestone
Original Reporter: Russell Taylor
From Laurent:
def wish_createvan(van,empty,panel):
data_dir="/home/lcc/Desktop/"
van_filename=data_dir+"WISH00000"+str(van)+".raw"
empty_filename=data_dir+"WISH00000"+str(empty)+".raw"
if (panel==1):
min=6
max=19461
elif (panel==2):
min=19462
max=38917
elif( panel==3):
min=38918
max=58373
elif (panel==4):
min=58374
max=77829
elif (panel==5):
min=77830
max=97285
out_van="van"+str(van)
out_empty="empty"+str(empty)
LoadRaw(Filename=van_filename,OutputWorkspace=out_van,spectrummin=str(min),spectrummax=str(max))
LoadRaw(Filename=empty_filename,OutputWorkspace=out_empty,spectrummin=str(min),spectrummax=str(max))
NormaliseByCurrent(out_van,out_van)
NormaliseByCurrent(out_empty,out_empty)
Minus(out_van,out_empty,out_van)
ConvertUnits(out_van,out_van,"Wavelength")
CylinderAbsorption(InputWorkspace=out_van,OutputWorkspace="T",
CylinderSampleHeight="4.0",CylinderSampleRadius="0.4",AttenuationXSection="5.1",
ScatteringXSection="5.08",SampleNumberDensity="0.072",
NumberOfSlices="1",NumberOfAnnuli="1",NumberOfWavelengthPoints="10",ExpMethod="Normal")
Divide(out_van,"T",out_van)
ConvertUnits(out_van,out_van,"TOF")
AlignDetectors(out_van,out_van,data_dir+"wish_full.cal")
focus_van="Vanfoc"+str(van)+"-"+str(panel)
DiffractionFocussing(out_van,focus_van,data_dir+"wish_full.cal")
StripPeaks(focus_van,focus_van)
SmoothData(focus_van,focus_van,"50")
SaveNexusProcessed(InputWorkspace=focus_van,FileName=data_dir+"Vanacorrected"+str(van)+"-"+str(panel)+".nxs")
wish_createvan(202,203,4)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x41744950 (LWP 31198)]
0x00007fc678bbad2c in Mantid::Geometry::ParameterMap::asString ()
from /home/lcc/workspace/MantidGeometry/Release/libMantidGeometry.so
Current language: auto; currently asm
(gdb) backtrace
http://trac.mantidproject.org/mantid/ticket/0 0x00007fc678bbad2c in Mantid::Geometry::ParameterMap::asString ()
from /home/lcc/workspace/MantidGeometry/Release/libMantidGeometry.so
http://trac.mantidproject.org/mantid/ticket/1 0x00007fc67866183e in Mantid::NeXus::NexusFileIO::writeNexusParameterMap ()
from /home/lcc/workspace/MantidNexus/Release/libMantidNexus.so
http://trac.mantidproject.org/mantid/ticket/2 0x00007fc678670a5c in Mantid::NeXus::SaveNexusProcessed::exec ()
from /home/lcc/workspace/MantidNexus/Release/libMantidNexus.so
http://trac.mantidproject.org/mantid/ticket/3 0x00007fc677f8c635 in Mantid::API::Algorithm::execute ()
from /home/lcc/workspace/MantidAPI/Release/libMantidAPI.so
http://trac.mantidproject.org/mantid/ticket/4 0x00007fc677f88991 in Mantid::API::Algorithm::executeAsyncImpl ()
from /home/lcc/workspace/MantidAPI/Release/libMantidAPI.so
http://trac.mantidproject.org/mantid/ticket/5 0x00007fc679523396 in Poco::ActiveRunnable
<bool, int, Mantid::API::Algorithm>
::run () from libMantidPythonAPI.sohttp://trac.mantidproject.org/mantid/ticket/6 0x00007fc67732f0d0 in Poco::PooledThread::run ()
from /usr/lib/libPocoFoundation.so.5
http://trac.mantidproject.org/mantid/ticket/7 0x00007fc67732a93e in Poco::ThreadImpl::entry ()
from /usr/lib/libPocoFoundation.so.5
http://trac.mantidproject.org/mantid/ticket/8 0x00007fc67505f3ea in start_thread () from /lib/libpthread.so.0
http://trac.mantidproject.org/mantid/ticket/9 0x00007fc672304cbd in clone () from /lib/libc.so.6
http://trac.mantidproject.org/mantid/ticket/10 0x0000000000000000 in ?? ()
The text was updated successfully, but these errors were encountered: