seg fault in clustering step with message level at DEBUG

Project: 

EUTelescope Core Components

The clustering step of the datura-noDUT example crashes with a seg fault if the message level is set to DEBUG; this likely affects other analyzes as well.

last lines of output and backtrace:

[ DEBUG1 "Clustering"] x coord: 614
[ DEBUG1 "Clustering"] y coord: 312
[ DEBUG1 "Clustering"] signal: 1
[ DEBUG1 "Clustering"] --------------------------------------------------
[ DEBUG1 "Clustering"] --> Found pixel *2*
[ DEBUG1 "Clustering"] --------------------------------------------------
[ DEBUG1 "Clustering"] Type: kEUTelSimpleSparsePixel (1)
[ DEBUG1 "Clustering"] Elements: 3
[ DEBUG1 "Clustering"] x coord: 614
[ DEBUG1 "Clustering"] y coord: 312
[ DEBUG1 "Clustering"] signal: 1
[ DEBUG1 "Clustering"] --------------------------------------------------
[ DEBUG1 "Clustering"] --> Pixel *2* status is bad
[ DEBUG1 "Clustering"] --> First pixel with Y = 313 is

Program received signal SIGSEGV, Segmentation fault.
0x00002aaab0971b2f in eutelescope::operator<< (os=..., pixel=...)
at /data/user/hperrey/testbeam/analysis/working_dir/ilcsoft/v01-17-01/Eutelescope/HEAD/./include/EUTelBaseSparsePixel.h:98
98 friend std::ostream& operator<< (std::ostream& os, const EUTelBaseSparsePixel& pixel) { pixel.print(os); return os; }
(gdb) bt
#0 0x00002aaab0971b2f in eutelescope::operator<< (os=..., pixel=...)
at /data/user/hperrey/testbeam/analysis/working_dir/ilcsoft/v01-17-01/Eutelescope/HEAD/./include/EUTelBaseSparsePixel.h:98
#1 0x00002aaab09d5ebf in eutelescope::EUTelSparseData2Impl<eutelescope::EUTelSimpleSparsePixel>::findNeighborPixels (
this=0xa27e70, minSignal=0)
at /data/user/hperrey/testbeam/analysis/working_dir/ilcsoft/v01-17-01/Eutelescope/HEAD/./include/EUTelSparseData2Impl.tcc:272
#2 0x00002aaab09b964c in eutelescope::EUTelClusteringProcessor::sparseClustering2 (this=0x948e30, evt=0x9fe7a0,
pulseCollection=0xbd3cf0)
at /data/user/hperrey/testbeam/analysis/working_dir/ilcsoft/v01-17-01/Eutelescope/HEAD/src/EUTelClusteringProcessor.cc:2424
#3 0x00002aaab09c0637 in eutelescope::EUTelClusteringProcessor::processEvent (this=0x948e30, event=0x9fe7a0)
at /data/user/hperrey/testbeam/analysis/working_dir/ilcsoft/v01-17-01/Eutelescope/HEAD/src/EUTelClusteringProcessor.cc:790
#4 0x00002aaaac16d442 in marlin::ProcessorMgr::processEvent (this=0x8aa650, evt=0x9fe7a0)
at /data/user/hperrey/testbeam/analysis/working_dir/ilcsoft/v01-17-01/Marlin/v01-05/source/src/ProcessorMgr.cc:420
#5 0x00002aaaaab7f3ed in SIO::SIOReader::readStream (this=0x94f7c0, maxRecord=100000)
at /data/user/hperrey/testbeam/analysis/working_dir/ilcsoft/v01-17-01/lcio/v02-04/src/cpp/src/SIO/SIOReader.cc:710
#6 0x000000000040922e in main (argc=<value optimized out>, argv=0x7fffffffd268)
at /data/user/hperrey/testbeam/analysis/working_dir/ilcsoft/v01-17-01/Marlin/v01-05/source/src/Marlin.cc:474
(gdb)

 

 

 

Status: 

Active

Priority: 

Normal

Category: 

Bug report

Component: 

Processor code

Version: 

development version