Skip to content

Conversation

@cortesep
Copy link
Contributor

No description provided.

@cortesep cortesep changed the title WIP: ZDC waveform calibration [WIP] ZDC waveform calibration May 24, 2022
@cortesep cortesep changed the title [WIP] ZDC waveform calibration ZDC waveform calibration May 25, 2022
@cortesep
Copy link
Contributor Author

cortesep commented May 26, 2022

  • There is a very weird error. If one tries to load load in interpreted mode the following macro it results into an error

.L ~/alice/O2/Detectors/ZDC/macro/CreateWaveformCalibConfig.C

#0 0x00007f5e2a17960c in waitpid () from /lib64/libc.so.6
#1 0x00007f5e2a0f6f62 in do_system () from /lib64/libc.so.6
#2 0x00007f5e2ae6a16c in TUnixSystem::Exec (shellcmd=, this=0x218b570) at /home/cortese/alice/sw/SOURCES/ROOT/v6-24-06/v6-24-06/core/unix/src/TUnixSystem.cxx:2120
#3 TUnixSystem::StackTrace (this=0x218b570) at /home/cortese/alice/sw/SOURCES/ROOT/v6-24-06/v6-24-06/core/unix/src/TUnixSystem.cxx:2411
#4 0x00007f5e24fb6e58 in cling::MultiplexInterpreterCallbacks::PrintStackTrace() () from /home/cortese/alice/sw/slc7_x86-64/ROOT/v6-24-06-local4/lib/libCling.so
#5 0x00007f5e24fabb3f in cling_runtime_internal_throwIfInvalidPointer () from /home/cortese/alice/sw/slc7_x86-64/ROOT/v6-24-06-local4/lib/libCling.so
#6 0x00007f5e0e1f7dc7 in ?? ()
#7 0x00007ffdc4cd29f0 in ?? ()
#8 0x00007f5e0e1f87b8 in ?? ()
#9 0x0000000000000000 in ?? ()
Error in : Trying to access a pointer that points to an invalid memory address..
Execution of your code was aborted.
In file included from G__O2ZDCCalib dictionary payload:325:
In file included from /home/cortese/alice/sw/slc7_x86-64/O2/dev_shape-local2/include/Framework/DataProcessorSpec.h:14:
In file included from /home/cortese/alice/sw/slc7_x86-64/O2/dev_shape-local2/include/Framework/AlgorithmSpec.h:15:
In file included from /home/cortese/alice/sw/slc7_x86-64/O2/dev_shape-local2/include/Framework/ErrorContext.h:14:
In file included from /home/cortese/alice/sw/slc7_x86-64/O2/dev_shape-local2/include/Framework/InputRecord.h:15:
In file included from /home/cortese/alice/sw/slc7_x86-64/O2/dev_shape-local2/include/Framework/DataRefUtils.h:17:
In file included from /home/cortese/alice/sw/slc7_x86-64/O2/dev_shape-local2/include/Framework/DataSpecUtils.h:17:
In file included from /home/cortese/alice/sw/slc7_x86-64/O2/dev_shape-local2/include/Framework/Output.h:16:
In file included from /home/cortese/alice/sw/slc7_x86-64/O2/dev_shape-local2/include/Headers/Stack.h:14:
In file included from /home/cortese/alice/sw/slc7_x86-64/O2/dev_shape-local2/include/MemoryResources/MemoryResources.h:33:
In file included from /home/cortese/alice/sw/slc7_x86-64/boost/v1.75.0-local4/include/boost/container/pmr/polymorphic_allocator.hpp:21:
In file included from /home/cortese/alice/sw/slc7_x86-64/boost/v1.75.0-local4/include/boost/container/detail/dispatch_uses_allocator.hpp:22:
In file included from /home/cortese/alice/sw/slc7_x86-64/boost/v1.75.0-local4/include/boost/container/uses_allocator.hpp:14:
/home/cortese/alice/sw/slc7_x86-64/boost/v1.75.0-local4/include/boost/container/uses_allocator_fwd.hpp:56:77: warning: invalid memory pointer passed to a callee:
static allocator_arg_t allocator_arg = BOOST_CONTAINER_DOC1ST(unspecified, *std_allocator_arg_holder<>::dummy);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cortese/alice/sw/slc7_x86-64/boost/v1.75.0-local4/include/boost/container/detail/workaround.hpp:71:46: note: expanded from macro 'BOOST_CONTAINER_DOC1ST'
#define BOOST_CONTAINER_DOC1ST(TYPE1, TYPE2) TYPE2

  • However if one retries to load the macro within the same root session it is loaded correctly and works as expected.

@cortesep cortesep closed this May 27, 2022
@cortesep
Copy link
Contributor Author

Close pull request and open from rebased branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant