Ticket #6039 (closed: fixed)
Linux LoadSQW Segfault
Reported by: | Owen Arnold | Owned by: | Roman Tolchenov |
---|---|---|---|
Priority: | blocker | Milestone: | Release 2.3 |
Component: | Mantid | Keywords: | |
Cc: | nick.draper@… | Blocked By: | |
Blocking: | Tester: | Alex Buts |
Description
User has reported a Seg fault while trying to load an SQW file into mantid:
"Loading certain kinds of SQW file from Horace. I’ve uploaded onto Babylon5 (
olympic\Babylon5\Public\Russell Ewings\VATES) a Matlab script and the output from it where I take the SQW file that I created earlier from the output of Tobyfit (an SPE file, which you already have), and take a very narrow cut from it so that the output has only a very small number of detector pixels. I then use Horace to save this object as a new SQW file. My aim was then to read this back into Mantid and compare to a similar cut from the VATES-generated simulation. However I reliably get a segmentation violation when I try to load this particular SQW file. I suspect it is something to do with the way the SQW file was generated, i.e. not in the normal way. Perhaps you will be able to tell what the problem is by looking at the file?"
Change History
comment:2 Changed 8 years ago by Roman Tolchenov
Re #6039. LoadSQW throws an exception if it cannot read a file.
Changeset: 2930d35f4f43a028ea05707970032082a60f08aa
comment:3 Changed 8 years ago by Roman Tolchenov
- Status changed from accepted to verify
- Resolution set to fixed
A proper fix will be done in #6053.
comment:4 Changed 8 years ago by Alex Buts
- Status changed from verify to verifying
- Tester set to Alex Buts
comment:5 Changed 8 years ago by Alex Buts
- Status changed from verifying to closed
refuses to take sqw with less then 4 dimensions. Prints clear error message. Fine until ticket #6053 is implemented.
comment:6 Changed 8 years ago by Roman Tolchenov
Re #6039. LoadSQW throws an exception if it cannot read a file.
Changeset: 2930d35f4f43a028ea05707970032082a60f08aa
comment:7 Changed 8 years ago by Roman Tolchenov
Re #6039. LoadSQW throws an exception if it cannot read a file.
Changeset: 2930d35f4f43a028ea05707970032082a60f08aa