Ticket #512 (closed: fixed)
Bug in FindPeaks/TableWorkspace
Reported by: | Russell Taylor | Owned by: | Roman Tolchenov |
---|---|---|---|
Priority: | major | Milestone: | Iteration 17 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
FindPeaks crashes at the point where it first tries to insert a peak into the TableWorkspace for the results (line 398). The actual crash happens at line 78 of TableRow.h. The curious thing about this is that StripPeaks runs fine, even though the first thing that does is call FindPeaks as a subalgorithm.
Here's the output of gdb:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x42557950 (LWP 15791)] 0x00007f119773fc62 in shared_ptr (this=0x42556480) at /usr/include/boost/shared_ptr.hpp:148 148 { Current language: auto; currently c++ (gdb) bt #0 0x00007f119773fc62 in shared_ptr (this=0x42556480) at /usr/include/boost/shared_ptr.hpp:148 #1 0x00007f11977420db in Mantid::DataObjects::TableRow::operator<< <int> (this=0x425566b0, t=@0x4255669c)
at DataObjects/inc/MantidDataObjects/TableRow.h:78
#2 0x00007f119773c1aa in Mantid::Algorithms::FindPeaks::fitPeak (this=0x1b23710, input=@0x42556ab0, spectrum=1,
i0=3222, i4=3222) at Algorithms/src/FindPeaks.cpp:398
#3 0x00007f119773e21f in Mantid::Algorithms::FindPeaks::exec (this=0x1b23710) at Algorithms/src/FindPeaks.cpp:207 #4 0x00007f11abdbf52e in Mantid::API::Algorithm::execute (this=0x1b23710) at API/src/Algorithm.cpp:124 #5 0x00007f11abdbdc75 in Mantid::API::Algorithm::executeAsyncImpl (this=0x1b23710) at API/src/Algorithm.cpp:449 #6 0x00007f11abdc2015 in Poco::ActiveRunnable<bool, int, Mantid::API::Algorithm>::run (this=0x1b23910)
at /usr/include/Poco/ActiveRunnable.h:85
#7 0x00007f11aaf470d0 in Poco::PooledThread::run () from /usr/lib/libPocoFoundation.so.5 #8 0x00007f11aaf4293e in Poco::ThreadImpl::entry () from /usr/lib/libPocoFoundation.so.5 #9 0x00007f11aa6d13ea in start_thread () from /lib/libpthread.so.0 #10 0x00007f11a78c6c6d in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () (gdb) f 1 #1 0x00007f11977420db in Mantid::DataObjects::TableRow::operator<< <int> (this=0x425566b0, t=@0x4255669c)
at DataObjects/inc/MantidDataObjects/TableRow.h:78
78 TableColumn_ptr<T> c = m_columns[m_col];