WIP: Removing problematic lines that prevented the code from executing
The changes fix some issues with AnalysisTop code in master. But I must admit, I have no idea what these macros were supposed to do or of they are needed. But when the lines are not commented out, the code compiles but it gets stuck in the main and doesnt even reach the first line in main().
Maybe @akraszna can help me understand what is happening here?
Also, during run time we get really worrying errors:
/cvmfs/sft.cern.ch/lcg/releases/gcc/8.3.0-cebb0/x86_64-centos7/include/c++/8.3.0/bits/shared_ptr_base.h:155:6: runtime error: member call on address 0x000000e08cc0 which does not point to an object of type '_Sp_counted_base'
0x000000e08cc0: note: object has invalid vptr
00 00 00 00 e0 c9 a0 54 5e 7f 00 00 00 00 00 00 01 00 00 00 38 c7 a0 54 5e 7f 00 00 e8 8c e0 00
^~~~~~~~~~~~~~~~~~~~~~~
invalid vptr
/cvmfs/sft.cern.ch/lcg/releases/gcc/8.3.0-cebb0/x86_64-centos7/include/c++/8.3.0/bits/shared_ptr_base.h:171:10: runtime error: member call on address 0x000000e08cc0 which does not point to an object of type '_Sp_counted_base'
0x000000e08cc0: note: object has invalid vptr
00 00 00 00 e0 c9 a0 54 5e 7f 00 00 00 00 00 00 00 00 00 00 08 78 a5 54 5e 7f 00 00 e8 8c e0 00
^~~~~~~~~~~~~~~~~~~~~~~
invalid vptr
But this is beyond my c++ knowledge.
cc @omajersk @bmondal @krumnack
Tomas
Edited by Tomas Dado