Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usign tefield2.copy_contents(tefield) segfaults #81

Open
mjtueros opened this issue Feb 26, 2024 · 1 comment
Open

usign tefield2.copy_contents(tefield) segfaults #81

mjtueros opened this issue Feb 26, 2024 · 1 comment
Assignees

Comments

@mjtueros
Copy link
Contributor

mjtueros commented Feb 26, 2024

I was trying to use copy_contents to duplicate the contents of the tree so i dont need to fill everytihng in convert_efield2efield.py.
located https://github.com/grand-mother/grand/tree/master/scripts (will push it soon, you have to uncomment at the end the copy_contents() line)

to run:
./convert_efield2efield.py --verbose debug --target_duration_us 4.96 --target_sampling_rate_mhz 500 --seed=1234 ../sim2root/Common/sim_Xiaodushan_20221026_180000_RUN0_CD_DC2Alpha_0000/

it segfaults with

IncrementalExecutor::executeFunction: symbol 'ZN9__gnu_cxx13new_allocatorISt6vectorIfSaIfEEE9constructIS3_JS1_IdSaIdEEEEEvPT_DpOT0' unresolved while linking symbol '__cf_97'!
You are probably missing the definition of void __gnu_cxx::new_allocator<std::vector<float, std::allocator > >::construct<std::vector<float, std::allocator >, std::vector<double, std::allocator > >(std::vector<float, std::allocator >, std::vector<double, std::allocator >&&)
Maybe you need to load the corresponding shared library?
Fatal in TBufferFile::AutoExpand: Request to expand to a negative size, likely due to an integer overflow: 0x8de82690 for a max of 0x7ffffffe.
aborting
Generating stack trace...
0x00007ff06675e2c8 in TBufferFile::WriteFastArray(float const
, int) + 0x68 from /opt/root/lib/libRIO.so
0x00007ff0667e4d65 in TGenCollectionStreamer::WritePrimitives(int, TBuffer&) + 0x265 from /opt/root/lib/libRIO.so
0x00007ff0667e86ad in TGenCollectionStreamer::Streamer(TBuffer&) + 0x1ed from /opt/root/lib/libRIO.so
0x00007ff0667b54d8 in TCollectionStreamer::Streamer(TBuffer&, void*, int, TClass*) + 0x58 from /opt/root/lib/libRIO.so
0x00007ff0667bad95 in TEmulatedCollectionProxy::WriteItems(int, TBuffer&) + 0x1d5 from /opt/root/lib/libRIO.so
0x00007ff0667bb227 in TEmulatedCollectionProxy::Streamer(TBuffer&) + 0xf7 from /opt/root/lib/libRIO.so
0x00007ff0667b54d8 in TCollectionStreamer::Streamer(TBuffer&, void*, int, TClass*) + 0x58 from /opt/root/lib/libRIO.so
0x00007ff0667bad95 in TEmulatedCollectionProxy::WriteItems(int, TBuffer&) + 0x1d5 from /opt/root/lib/libRIO.so
0x00007ff0667bb227 in TEmulatedCollectionProxy::Streamer(TBuffer&) + 0xf7 from /opt/root/lib/libRIO.so
0x00007ff0667b54d8 in TCollectionStreamer::Streamer(TBuffer&, void*, int, TClass*) + 0x58 from /opt/root/lib/libRIO.so
0x00007ff06675f45b in TBufferFile::WriteFastArray(void*, TClass const*, int, TMemberStreamer*) + 0xbb from /opt/root/lib/libRIO.so
0x00007ff0669dba33 in int TStreamerInfo::WriteBufferAux<char**>(TBuffer&, char** const&, TStreamerInfo::TCompInfo* const*, int, int, int, int, int) at TStreamerInfoWriteBuffer.cxx:? from /opt/root/lib/libRIO.so
0x00007ff066839914 in TStreamerInfoActions::GenericWriteAction(TBuffer&, void*, TStreamerInfoActions::TConfiguration const*) + 0x54 from /opt/root/lib/libRIO.so
0x00007ff06675eeb5 in TBufferFile::ApplySequence(TStreamerInfoActions::TActionSequence const&, void*) at TBufferFile.cxx:? from /opt/root/lib/libRIO.so
0x00007ff0512faaaa in from /opt/root/lib/libTree.so.6.26
0x00007ff051307e0b in TBranchElement::FillImpl(ROOT::Internal::TBranchIMTHelper*) + 0x3fb from /opt/root/lib/libTree.so.6.26
0x00007ff051377f76 in TTree::Fill() + 0x166 from /opt/root/lib/libTree.so.6.26
0x00007ff0852c7024 in
0x00007ff067068697 in from /opt/root/lib/libcppyy_backend3_8.so.6.26
0x00007ff067069956 in Cppyy::CallI(long, void*, unsigned long, void*) + 0x36 from /opt/root/lib/libcppyy_backend3_8.so.6.26
0x00007ff0670f7843 in from /opt/root/lib/libcppyy3_8.so
0x00007ff0670e59a6 in CPyCppyy::CPPMethod::ExecuteFast(void*, long, CPyCppyy::CallContext*) + 0x36 from /opt/root/lib/libcppyy3_8.so
0x00007ff0670e5e40 in CPyCppyy::CPPMethod::ExecuteProtected(void*, long, CPyCppyy::CallContext*) + 0x110 from /opt/root/lib/libcppyy3_8.so
0x00007ff0670e373b in CPyCppyy::CPPMethod::Execute(void*, long, CPyCppyy::CallContext*) + 0x2b from /opt/root/lib/libcppyy3_8.so
0x00007ff0670e4730 in CPyCppyy::CPPMethod::Call(CPyCppyy::CPPInstance*&, _object*, _object*, CPyCppyy::CallContext*) + 0xb0 from /opt/root/lib/libcppyy3_8.so
0x00007ff0670e8e19 in from /opt/root/lib/libcppyy3_8.so
0x00000000005f3e1e in _PyObject_MakeTpCall + 0x29e from python3
0x0000000000570674 in _PyEval_EvalFrameDefault + 0x5cf4 from python3
0x00000000005f6836 in _PyFunction_Vectorcall + 0x1b6 from python3
0x000000000056b1da in _PyEval_EvalFrameDefault + 0x85a from python3
0x000000000056939a in _PyEval_EvalCodeWithName + 0x26a from python3
0x000000000068d047 in PyEval_EvalCode + 0x27 from python3
0x000000000067e351 in from python3
0x000000000067e3cf in from python3
0x000000000067e471 in from python3
0x000000000067e817 in PyRun_SimpleFileExFlags + 0x197 from python3
0x00000000006b6fe2 in Py_RunMain + 0x212 from python3
0x00000000006b736d in Py_BytesMain + 0x2d from python3
0x00007ff0bf6540b3 in __libc_start_main + 0xf3 from /lib/x86_64-linux-gnu/libc.so.6
0x00000000005fa5ce in _start + 0x2e from python3

@mjtueros
Copy link
Contributor Author

mjtueros commented Apr 3, 2024

to update on the situation, i tried again today and continues to be the case. no presure, just info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants