Hello guys,
I have a problem related to the RooFFTConvPdf class when I use it through a personal shared library (in this shared library I have a class with a RooFFTConvPdf object as argument). Basically, I am able to compile and build my library without any kind of error or warning. However, when I try to load it through the root shell by using gSystem->Load(“libNAMELIB.so”) I get the error
cling::DynamicLibraryManager::loadLibrary(): dir/lib/libNAMELIB.so: undefined symbol: _ZTI13RooFFTConvPdf
and when I try to run a c++ code, this code is executed correctly with the following error at the end of the program:
*** glibc detected *** NAMEC++EXECUTABLE: munmap_chunk(): invalid pointer: 0x00000000038d49f0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x75f4e)[0x7fc79e6dcf4e]
/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.10-x86_64-slc6-gcc48-opt/lib/libRooFitCore.so(_ZN9RooArgSet7cleanupEv+0x29)[0x7fc7a16f18a9]
/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.10-x86_64-slc6-gcc48-opt/lib/libRooFitCore.so(+0x39b1cf)[0x7fc7a18451cf]
/lib64/libc.so.6(__cxa_finalize+0x9d)[0x7fc79e69cebd]
/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.10-x86_64-slc6-gcc48-opt/lib/libRooFitCore.so(+0x1be946)[0x7fc7a1668946]
======= Memory map: ========
00400000-00401000 r-xp 00000000 00:13 1357011600 dir/lib/libNAMELIB.so
00601000-00602000 rw-p 00001000 00:13 1357011600 dir/lib/libNAMELIB.so
02240000-04575000 rw-p 00000000 00:00 0 [heap]
7fc7918a1000-7fc79195e000 r-xp 00000000 00:19 176269074 /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.10-x86_64-slc6-gcc48-opt/lib/libMinuit2.so
7fc79195e000-7fc791b5e000 ---p 000bd000 00:19 176269074 /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.10-x86_64-slc6-gcc48-opt/lib/libMinuit2.so
7fc791b5e000-7fc791b62000 rw-p 000bd000 00:19 176269074 /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.10-x86_64-slc6-gcc48-opt/lib/libMinuit2.so
7fc791b62000-7fc791b64000 rw-p 00000000 00:00 0
7fc791b64000-7fc791b84000 r-xp 00000000 fc:01 837322 /lib64/ld-2.12.so
7fc791b84000-7fc791d83000 ---p 00020000 fc:01 837322 /lib64/ld-2.12.so
7fc791d83000-7fc791d84000 r--p 0001f000 fc:01 837322 /lib64/ld-2.12.so
7fc791d84000-7fc791d85000 rw-p 00020000 fc:01 837322 /lib64/ld-2.12.so
7fc791d85000-7fc791d86000 rw-p 00000000 00:00 0
7fc791d86000-7fc791d98000 r-xp 00000000 00:00 0
7fc791e08000-7fc791e32000 r-xp 00000000 00:00 0
7fc791e32000-7fc791e9a000 rw-p 00000000 00:00 0
7fc791f80000-7fc7927b3000 rw-p 00000000 00:00 0
7fc7927b3000-7fc7989cc000 r--p 00000000 00:19 176268068 /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.10-x86_64-slc6-gcc48-opt/etc/allDict.cxx.pch
7fc7989cc000-7fc7989d2000 r-xp 00000000 00:19 175726341 /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc484_x86_64_slc6/slc6/x86_64-slc6-gcc48-opt/lib64/libatomic.so.1.0.0
7fc7989d2000-7fc798bd1000 ---p 00006000 00:19 175726341 /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc484_x86_64_slc6/slc6/x86_64-slc6-gcc48-opt/lib64/libatomic.so.1.0.0
7fc798bd1000-7fc798bd2000 rw-p 00005000 00:19 175726341 /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc484_x86_64_slc6/slc6/x86_64-slc6-gcc48-opt/lib64/libatomic.so.1.0.0
7fc798bd2000-7fc798bd3000 rw-p 00000000 00:00 0
7fc798bd3000-7fc798bda000 r-xp 00000000 fc:01 808513 /lib64/librt-2.12.so
7fc798bda000-7fc798dd9000 ---p 00007000 fc:01 808513 /lib64/librt-2.12.so
7fc798dd9000-7fc798dda000 r--p 00006000 fc:01 808513 /lib64/librt-2.12.so
7fc798dda000-7fc798ddb000 rw-p 00007000 fc:01 808513 /lib64/librt-2.12.so
7fc798ddb000-7fc798df8000 r-xp 00000000 fc:01 826013 /lib64/libtinfo.so.5.7
7fc798df8000-7fc798ff7000 ---p 0001d000 fc:01 826013 /lib64/libtinfo.so.5.7
7fc798ff7000-7fc798ffb000 rw-p 0001c000 fc:01 826013 /lib64/libtinfo.so.5.7
7fc798ffb000-7fc798ffc000 rw-p 00000000 00:00 0
7fc798ffc000-7fc79acd2000 r-xp 00000000 00:19 176269098 /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.10-x86_64-slc6-gcc48-opt/lib/libCling.so
7fc79acd2000-7fc79aed1000 ---p 01cd6000 00:19 176269098 /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.10-x86_64-slc6-gcc48-opt/lib/libCling.so
7fc79aed1000-7fc79b014000 rw-p 01cd5000 00:19 176269098 /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.10-x86_64-slc6-gcc48-opt/lib/libCling.so
7fc79b014000-7fc79b021000 rw-p 00000000 00:00 0
7fc79b021000-7fc79b826000 r--s 00000000 fc:02 132544 /var/lib/sss/mc/passwd
7fc79b826000-7fc79b82e000 r-xp 00000000 fc:01 786486 /lib64/libnss_sss.so.2
7fc79b82e000-7fc79ba2d000 ---p 00008000 fc:01 786486 /lib64/libnss_sss.so.2
7fc79ba2d000-7fc79ba2e000 rw-p 00007000 fc:01 786486 /lib64/libnss_sss.so.2
7fc79ba2e000-7fc79ba3a000 r-xp 00000000 fc:01 786465 /lib64/libnss_files-2.12.so
7fc79ba3a000-7fc79bc3a000 ---p 0000c000 fc:01 786465 /lib64/libnss_files-2.12.so
7fc79bc3a000-7fc79bc3b000 r--p 0000c000 fc:01 786465 /lib64/libnss_files-2.12.so
7fc79bc3b000-7fc79bc3c000 rw-p 0000d000 fc:01 786465 /lib64/libnss_files-2.12.so
7fc79bc3c000-7fc79bc59000 r-xp 00000000 fc:01 826032 /lib64/libselinux.so.1
7fc79bc59000-7fc79be58000 ---p 0001d000 fc:01 826032 /lib64/libselinux.so.1
7fc79be58000-7fc79be59000 r--p 0001c000 fc:01 826032 /lib64/libselinux.so.1
7fc79be59000-7fc79be5a000 rw-p 0001d000 fc:01 826032 /lib64/libselinux.so.1
7fc79be5a000-7fc79be5b000 rw-p 00000000 00:00 0
7fc79be5b000-7fc79be71000 r-xp 00000000 fc:01 786676 /lib64/libresolv-2.12.so
7fc79be71000-7fc79c071000 ---p 00016000 fc:01 786676 /lib64/libresolv-2.12.so
7fc79c071000-7fc79c072000 r--p 00016000 fc:01 786676 /lib64/libresolv-2.12.so
7fc79c072000-7fc79c073000 rw-p 00017000 fc:01 786676 /lib64/libresolv-2.12.so
7fc79c073000-7fc79c075000 rw-p 00000000 00:00 0
7fc79c075000-7fc79c077000 r-xp 00000000 fc:01 791878 /lib64/libkeyutils.so.1.3Aborted (core dumped)
Does anyone know what can cause this issue? Thank you very much in advance.