grand-mother / gtot

GRAND to Trees C++ code
1 stars 0 forks source link

crash break in segmentation violation #4

Open AnneTimmermans opened 8 months ago

AnneTimmermans commented 8 months ago
(/sps/grand/software/conda/grandlib_2304) cca011:/pbs/home/a/atimmerm/GRAND/soft/grand/gtot/cmake-build-release(0)>gtot -f2 /pbs/home/a/atimmerm/GRAND/data/YMDGRANDfiles/2024/03/04/GatA_20240302_2247_003000_UD_test.dat
Added /pbs/home/a/atimmerm/GRAND/data/YMDGRANDfiles/2024/03/04/GatA_20240302_2247_003000_UD_test.dat

*** Analysing /pbs/home/a/atimmerm/GRAND/data/YMDGRANDfiles/2024/03/04/GatA_20240302_2247_003000_UD_test.dat
Storing output in /pbs/home/a/atimmerm/GRAND/data/YMDGRANDfiles/2024/03/04/GatA_20240302_2247_003000_UD_test_dat.root
The header length is 36 bytes 

 *** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007fb0f41c360c in waitpid () from /lib64/libc.so.6
#1  0x00007fb0f4140f62 in do_system () from /lib64/libc.so.6
#2  0x00007fb0f642dd6d in TUnixSystem::StackTrace() () from /sps/grand/software/conda/grandlib_2304/lib/libCore.so.6.26
#3  0x00007fb0f642b077 in TUnixSystem::DispatchSignals(ESignals) () from /sps/grand/software/conda/grandlib_2304/lib/libCore.so.6.26
#4  <signal handler called>
#5  0x000056270bdced7e in short* std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m<unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#6  0x000056270bdced52 in short* std::__copy_move_a2<false, unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#7  0x000056270bdcec8d in short* std::__copy_move_a1<false, unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#8  0x000056270bdceaaa in short* std::__copy_move_a<false, unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#9  0x000056270bdce8f9 in short* std::copy<unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#10 0x000056270bdce4f7 in short* std::__uninitialized_copy<true>::__uninit_copy<unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#11 0x000056270bdcddf7 in short* std::uninitialized_copy<unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#12 0x000056270bdcd44a in short* std::__uninitialized_copy_a<unsigned short*, short*, short>(unsigned short*, unsigned short*, short*, std::allocator<short>&) ()
#13 0x000056270bdcc591 in void std::vector<short, std::allocator<short> >::_M_range_initialize<unsigned short*>(unsigned short*, unsigned short*, std::forward_iterator_tag) ()
#14 0x000056270bdcadf7 in std::vector<short, std::allocator<short> >::vector<unsigned short*, void>(unsigned short*, unsigned short*, std::allocator<short> const&) ()
#15 0x000056270bdc909a in void __gnu_cxx::new_allocator<std::vector<short, std::allocator<short> > >::construct<std::vector<short, std::allocator<short> >, unsigned short*, unsigned short*>(std::vector<short, std::allocator<short> >*, unsigned short*&&, unsigned short*&&) ()
#16 0x000056270bdc6835 in void std::allocator_traits<std::allocator<std::vector<short, std::allocator<short> > > >::construct<std::vector<short, std::allocator<short> >, unsigned short*, unsigned short*>(std::allocator<std::vector<short, std::allocator<short> > >&, std::vector<short, std::allocator<short> >*, unsigned short*&&, unsigned short*&&) ()
#17 0x000056270bdc6944 in void std::vector<std::vector<short, std::allocator<short> >, std::allocator<std::vector<short, std::allocator<short> > > >::_M_realloc_insert<unsigned short*, unsigned short*>(__gnu_cxx::__normal_iterator<std::vector<short, std::allocator<short> >*, std::vector<std::vector<short, std::allocator<short> >, std::allocator<std::vector<short, std::allocator<short> > > > >, unsigned short*&&, unsigned short*&&) ()
#18 0x000056270bdc4a0e in std::vector<short, std::allocator<short> >& std::vector<std::vector<short, std::allocator<short> >, std::allocator<std::vector<short, std::allocator<short> > > >::emplace_back<unsigned short*, unsigned short*>(unsigned short*&&, unsigned short*&&) ()
#19 0x000056270bdbf131 in TADC::SetValuesFromPointers(unsigned short*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
#20 0x000056270bdb6516 in main ()
===========================================================

The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum https://root.cern/forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at https://root.cern/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  0x000056270bdced7e in short* std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m<unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#6  0x000056270bdced52 in short* std::__copy_move_a2<false, unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#7  0x000056270bdcec8d in short* std::__copy_move_a1<false, unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#8  0x000056270bdceaaa in short* std::__copy_move_a<false, unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#9  0x000056270bdce8f9 in short* std::copy<unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#10 0x000056270bdce4f7 in short* std::__uninitialized_copy<true>::__uninit_copy<unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#11 0x000056270bdcddf7 in short* std::uninitialized_copy<unsigned short*, short*>(unsigned short*, unsigned short*, short*) ()
#12 0x000056270bdcd44a in short* std::__uninitialized_copy_a<unsigned short*, short*, short>(unsigned short*, unsigned short*, short*, std::allocator<short>&) ()
#13 0x000056270bdcc591 in void std::vector<short, std::allocator<short> >::_M_range_initialize<unsigned short*>(unsigned short*, unsigned short*, std::forward_iterator_tag) ()
#14 0x000056270bdcadf7 in std::vector<short, std::allocator<short> >::vector<unsigned short*, void>(unsigned short*, unsigned short*, std::allocator<short> const&) ()
#15 0x000056270bdc909a in void __gnu_cxx::new_allocator<std::vector<short, std::allocator<short> > >::construct<std::vector<short, std::allocator<short> >, unsigned short*, unsigned short*>(std::vector<short, std::allocator<short> >*, unsigned short*&&, unsigned short*&&) ()
#16 0x000056270bdc6835 in void std::allocator_traits<std::allocator<std::vector<short, std::allocator<short> > > >::construct<std::vector<short, std::allocator<short> >, unsigned short*, unsigned short*>(std::allocator<std::vector<short, std::allocator<short> > >&, std::vector<short, std::allocator<short> >*, unsigned short*&&, unsigned short*&&) ()
#17 0x000056270bdc6944 in void std::vector<std::vector<short, std::allocator<short> >, std::allocator<std::vector<short, std::allocator<short> > > >::_M_realloc_insert<unsigned short*, unsigned short*>(__gnu_cxx::__normal_iterator<std::vector<short, std::allocator<short> >*, std::vector<std::vector<short, std::allocator<short> >, std::allocator<std::vector<short, std::allocator<short> > > > >, unsigned short*&&, unsigned short*&&) ()
#18 0x000056270bdc4a0e in std::vector<short, std::allocator<short> >& std::vector<std::vector<short, std::allocator<short> >, std::allocator<std::vector<short, std::allocator<short> > > >::emplace_back<unsigned short*, unsigned short*>(unsigned short*&&, unsigned short*&&) ()
#19 0x000056270bdbf131 in TADC::SetValuesFromPointers(unsigned short*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
#20 0x000056270bdb6516 in main ()
===========================================================