Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SaveNexusProcessed segmentation fault #1508

Closed
mantid-builder opened this issue Jun 17, 2009 · 1 comment
Closed

SaveNexusProcessed segmentation fault #1508

mantid-builder opened this issue Jun 17, 2009 · 1 comment
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Milestone

Comments

@mantid-builder
Copy link
Collaborator

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.so
http://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 ?? ()

@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 660

@mantid-builder mantid-builder added the High Priority An issue or pull request that if not addressed is severe enough to postponse a release. label Jun 3, 2015
@mantid-builder mantid-builder added this to the Iteration 19 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Projects
None yet
Development

No branches or pull requests

1 participant