Home » PANDA » PandaRoot » Bugs, Fixes, Releases » SttHitCorrector giving segmentation violation
SttHitCorrector giving segmentation violation [message #23030] |
Fri, 05 October 2018 11:22 |
JennyTaylor
Messages: 13 Registered: October 2016
|
occasional visitor |
From: *physics.uu.se
|
|
Hi everyone!
When running the SttCellTrackFinder and using the SttHitCorrector, a segmentation violation occurs when reading in the reconstruction root file (into e.g. a macro) which was created when running for a larger (<20) number of events. The problem seems to be connected to FairTimeStamp objects which read too few bytes, there are objects of this type which is basically non existent and reading 2 bytes. I have run tests with different versions of PandaRoot, FairRoot and FairSoft to be sure it is not an issue with the versions. The FairTimeStamp objects and objects derived from this class, e.g. FairHits read too few bytes also when running the SttCellTrackFinder without the SttHitCorrector extension. The data in the Root file is accessible in both cases and look reasonable but when including the extension, at some point an event can not be read in by e.g. a macro. Below I include the error messages from after trying to read the events from the ROOT file after having used the SttHitCorrector. If someone have an idea what the problem might arise from I would be happy to hear about it!
Best,
Jenny
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007f036e5f307a in __GI___waitpid (pid=28573, stat_loc=stat_loc
entry=0x7fff11be0e80, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x00007f036e56bfbb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
#2 0x00007f036f15c4d4 in TUnixSystem::StackTrace() () from /panda/buildFairSoft_mar17/lib/root/libCore.so.6.08
#3 0x00007f036f15eddc in TUnixSystem::DispatchSignals(ESignals) () from /panda/buildFairSoft_mar17/lib/root/libCore.so.6.08
#4 <signal handler called>
#5 0x00007f0358ea5108 in ROOT::delete_FairMultiLinkedData (p=0x878a700) at /panda/buildFairRoot-17.03/base/G__BaseDict.cxx:5174
#6 0x00007f036f110451 in TClass::Destructor(void*, bool) () from /panda/buildFairSoft_mar17/lib/root/libCore.so.6.08
#7 0x00007f0369c9f3f6 in TBufferFile::ReadFastArray(void**, TClass const*, int, bool, TMemberStreamer*, TClass const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#8 0x00007f0369e24958 in int TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#9 0x00007f0369d19db3 in TStreamerInfoActions::GenericReadAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#10 0x00007f0369c9d6d5 in TBufferFile::ApplySequence(TStreamerInfoActions::TActionSequence const&, void*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#11 0x00007f0369c9e382 in TBufferFile::ReadClassBuffer(TClass const*, void*, TClass const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#12 0x00007f036f1418d0 in TStreamerBase::ReadBuffer(TBuffer&, char*) () from /panda/buildFairSoft_mar17/lib/root/libCore.so.6.08
#13 0x00007f0369e24dd7 in int TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#14 0x00007f0369d19db3 in TStreamerInfoActions::GenericReadAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#15 0x00007f0369c9d6d5 in TBufferFile::ApplySequence(TStreamerInfoActions::TActionSequence const&, void*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#16 0x00007f0369c9e382 in TBufferFile::ReadClassBuffer(TClass const*, void*, TClass const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#17 0x00007f036f1418d0 in TStreamerBase::ReadBuffer(TBuffer&, char*) () from /panda/buildFairSoft_mar17/lib/root/libCore.so.6.08
#18 0x00007f0369e24dd7 in int TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#19 0x00007f0369d19db3 in TStreamerInfoActions::GenericReadAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#20 0x00007f0369c9d6d5 in TBufferFile::ApplySequence(TStreamerInfoActions::TActionSequence const&, void*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#21 0x00007f0369c9e382 in TBufferFile::ReadClassBuffer(TClass const*, void*, TClass const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#22 0x00007f0369c9f394 in TBufferFile::ReadFastArray(void**, TClass const*, int, bool, TMemberStreamer*, TClass const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#23 0x00007f0369e17bcb in int TStreamerInfo::ReadBuffer<TVirtualCollectionProxy>(TBuffer&, TVirtualCollectionProxy const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#24 0x00007f0369dacdc1 in TStreamerInfo::ReadBufferSTL(TBuffer&, TVirtualCollectionProxy*, int, int, bool) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#25 0x00007f0369e257e8 in int TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#26 0x00007f0369d3d1b1 in TStreamerInfoActions::VectorPtrLooper::GenericRead(TBuffer&, void*, void const*, TStreamerInfoActions::TConfiguration const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#27 0x00007f0369c9d7e8 in TBufferFile::ApplySequenceVecPtr(TStreamerInfoActions::TActionSequence const&, void*, void*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#28 0x00007f0356e23429 in TBranchElement::ReadLeavesClonesMember(TBuffer&) () from /panda/buildFairSoft_mar17/lib/root/libTree.so.6.08
#29 0x00007f0356e16b26 in TBranch::GetEntry(long long, int) () from /panda/buildFairSoft_mar17/lib/root/libTree.so.6.08
#30 0x00007f0356e2e320 in TBranchElement::GetEntry(long long, int) () from /panda/buildFairSoft_mar17/lib/root/libTree.so.6.08
#31 0x00007f0356e2e2c5 in TBranchElement::GetEntry(long long, int) () from /panda/buildFairSoft_mar17/lib/root/libTree.so.6.08
#32 0x00007f0356e6f207 in TTree::GetEntry(long long, int) () from /panda/buildFairSoft_mar17/lib/root/libTree.so.6.08
#33 0x00007f0358e7556a in FairFileSource::ReadEvent (this=0x6aaa270, i=0) at /panda/FairRoot-17.03/base/source/FairFileSource.cxx:332
#34 0x00007f0358e2f1fe in FairRootManager::ReadEvent (this=0x6a80c30, i=0) at /panda/FairRoot-17.03/base/steer/FairRootManager.cxx:566
#35 0x00007f036f717344 in ?? ()
#36 0x000000000000002a in ?? ()
#37 0x00007f036c93d930 in ?? () from /opt/pbis/lib/libuuid.so.0
#38 0x0000000000000f60 in ?? ()
#39 0x00007fff11be4560 in ?? ()
#40 0x00007fff11be4580 in ?? ()
#41 0x00007fff11be4660 in ?? ()
#42 0x00007f036f792000 in ?? ()
#43 0x0000000000000044 in ?? ()
#44 0x00007f036f792044 in ?? ()
#45 0x0000000000000858 in ?? ()
#46 0x00007f036f793000 in ?? ()
#47 0x000000000000006c in ?? ()
#48 0x00007f036f716000 in ?? ()
#49 0x0000000000002303 in ?? ()
#50 0x00007f036f793070 in ?? ()
#51 0x0000000000000f59 in ?? ()
#52 0x00007f036f718310 in ?? ()
#53 0x0000000000000cd2 in ?? ()
#54 0x00007f036f715000 in ?? ()
#55 0x0000000000000280 in ?? ()
#56 0x00007f036f715280 in ?? ()
#57 0x00000000000008fa in ?? ()
#58 0x00007fff11be4798 in ?? ()
#59 0x00007f036f6de4e3 in _dl_signal_cerror (errcode=297686304, objname=0x7fff11be59f0 "", occation=0x7f036f793000 "UH\211\345H\203\354 \270
\r\004\001\211\301\270\001", errstring=0x7fff11be5440 "pT\276\021\377\177") at dl-error.c:155
#60 0x00007f036f6d92d1 in _dl_lookup_symbol_x (undef_name=<error reading variable: Cannot access memory at address 0x7ffeffffff5b>, undef_map=<optimized out>, ref=0x15, symbol_scope=<error reading variable: Cannot access memory at address 0x7ffeffffff33>, version=<optimized out>, type_class=<error reading variable: Cannot access memory at address 0x7ffeffffff47>, flags=<error reading variable: Cannot access memory at address 0x7fff00000013>, skip_map=<error reading variable: Cannot access memory at address 0x7fff0000001b>) at dl-lookup.c:871
===========================================================
The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum.
Only if you are really convinced it is a bug in ROOT then please submit a
report at http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5 0x00007f0358ea5108 in ROOT::delete_FairMultiLinkedData (p=0x878a700) at /panda/buildFairRoot-17.03/base/G__BaseDict.cxx:5174
#6 0x00007f036f110451 in TClass::Destructor(void*, bool) () from /panda/buildFairSoft_mar17/lib/root/libCore.so.6.08
#7 0x00007f0369c9f3f6 in TBufferFile::ReadFastArray(void**, TClass const*, int, bool, TMemberStreamer*, TClass const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#8 0x00007f0369e24958 in int TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#9 0x00007f0369d19db3 in TStreamerInfoActions::GenericReadAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#10 0x00007f0369c9d6d5 in TBufferFile::ApplySequence(TStreamerInfoActions::TActionSequence const&, void*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#11 0x00007f0369c9e382 in TBufferFile::ReadClassBuffer(TClass const*, void*, TClass const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#12 0x00007f036f1418d0 in TStreamerBase::ReadBuffer(TBuffer&, char*) () from /panda/buildFairSoft_mar17/lib/root/libCore.so.6.08
#13 0x00007f0369e24dd7 in int TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#14 0x00007f0369d19db3 in TStreamerInfoActions::GenericReadAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#15 0x00007f0369c9d6d5 in TBufferFile::ApplySequence(TStreamerInfoActions::TActionSequence const&, void*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#16 0x00007f0369c9e382 in TBufferFile::ReadClassBuffer(TClass const*, void*, TClass const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#17 0x00007f036f1418d0 in TStreamerBase::ReadBuffer(TBuffer&, char*) () from /panda/buildFairSoft_mar17/lib/root/libCore.so.6.08
#18 0x00007f0369e24dd7 in int TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#19 0x00007f0369d19db3 in TStreamerInfoActions::GenericReadAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#20 0x00007f0369c9d6d5 in TBufferFile::ApplySequence(TStreamerInfoActions::TActionSequence const&, void*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#21 0x00007f0369c9e382 in TBufferFile::ReadClassBuffer(TClass const*, void*, TClass const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#22 0x00007f0369c9f394 in TBufferFile::ReadFastArray(void**, TClass const*, int, bool, TMemberStreamer*, TClass const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#23 0x00007f0369e17bcb in int TStreamerInfo::ReadBuffer<TVirtualCollectionProxy>(TBuffer&, TVirtualCollectionProxy const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#24 0x00007f0369dacdc1 in TStreamerInfo::ReadBufferSTL(TBuffer&, TVirtualCollectionProxy*, int, int, bool) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#25 0x00007f0369e257e8 in int TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#26 0x00007f0369d3d1b1 in TStreamerInfoActions::VectorPtrLooper::GenericRead(TBuffer&, void*, void const*, TStreamerInfoActions::TConfiguration const*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#27 0x00007f0369c9d7e8 in TBufferFile::ApplySequenceVecPtr(TStreamerInfoActions::TActionSequence const&, void*, void*) () from /panda/buildFairSoft_mar17/lib/root/libRIO.so.6.08
#28 0x00007f0356e23429 in TBranchElement::ReadLeavesClonesMember(TBuffer&) () from /panda/buildFairSoft_mar17/lib/root/libTree.so.6.08
#29 0x00007f0356e16b26 in TBranch::GetEntry(long long, int) () from /panda/buildFairSoft_mar17/lib/root/libTree.so.6.08
#30 0x00007f0356e2e320 in TBranchElement::GetEntry(long long, int) () from /panda/buildFairSoft_mar17/lib/root/libTree.so.6.08
#31 0x00007f0356e2e2c5 in TBranchElement::GetEntry(long long, int) () from /panda/buildFairSoft_mar17/lib/root/libTree.so.6.08
#32 0x00007f0356e6f207 in TTree::GetEntry(long long, int) () from /panda/buildFairSoft_mar17/lib/root/libTree.so.6.08
#33 0x00007f0358e7556a in FairFileSource::ReadEvent (this=0x6aaa270, i=0) at /panda/FairRoot-17.03/base/source/FairFileSource.cxx:332
#34 0x00007f0358e2f1fe in FairRootManager::ReadEvent (this=0x6a80c30, i=0) at /panda/FairRoot-17.03/base/steer/FairRootManager.cxx:566
#35 0x00007f036f717344 in ?? ()
#36 0x000000000000002a in ?? ()
#37 0x00007f036c93d930 in ?? () from /opt/pbis/lib/libuuid.so.0
#38 0x0000000000000f60 in ?? ()
#39 0x00007fff11be4560 in ?? ()
#40 0x00007fff11be4580 in ?? ()
#41 0x00007fff11be4660 in ?? ()
#42 0x00007f036f792000 in ?? ()
#43 0x0000000000000044 in ?? ()
#44 0x00007f036f792044 in ?? ()
#45 0x0000000000000858 in ?? ()
#46 0x00007f036f793000 in ?? ()
#47 0x000000000000006c in ?? ()
#48 0x00007f036f716000 in ?? ()
#49 0x0000000000002303 in ?? ()
#50 0x00007f036f793070 in ?? ()
#51 0x0000000000000f59 in ?? ()
#52 0x00007f036f718310 in ?? ()
#53 0x0000000000000cd2 in ?? ()
#54 0x00007f036f715000 in ?? ()
#55 0x0000000000000280 in ?? ()
#56 0x00007f036f715280 in ?? ()
#57 0x00000000000008fa in ?? ()
#58 0x00007fff11be4798 in ?? ()
#59 0x00007f036f6de4e3 in _dl_signal_cerror (errcode=297686304, objname=0x7fff11be59f0 "", occation=0x7f036f793000 "UH211345H203354 270
r004001211301270001", errstring=0x7fff11be5440 "pT276021377177") at dl-error.c:155
#60 0x00007f036f6d92d1 in _dl_lookup_symbol_x (undef_name=<error reading variable: Cannot access memory at address 0x7ffeffffff5b>, undef_map=<optimized out>, ref=0x15, symbol_scope=<error reading variable: Cannot access memory at address 0x7ffeffffff33>, version=<optimized out>, type_class=<error reading variable: Cannot access memory at address 0x7ffeffffff47>, flags=<error reading variable: Cannot access memory at address 0x7fff00000013>, skip_map=<error reading variable: Cannot access memory at address 0x7fff0000001b>) at dl-lookup.c:871
===========================================================
|
|
|
Goto Forum:
Current Time: Sat Aug 24 21:18:25 CEST 2024
Total time taken to generate the page: 0.00718 seconds
|