Я делаю программу для экзамена.
Если я использую статические библиотеки, мне удастся скомпилировать мою программу, и она работает.
Я использую библиотеку ROOT (cern) для управления данными и построения гистограммы.
Здесь есть вывод memcheck с Valgrind http://pastebin.com/KwMBvFG7 (мои файлы находятся в / home / riccardo / Desktop / braggPlot_v05: просто поищите их в pastebin, чтобы увидеть ошибки, связанные с моими кодами.
Когда я делаю динамическую библиотеку, я делю свои исходные коды на разные пакеты и компилирую их с помощью этого скрипта bash
#!/bin/sh
export ANALYSIS_PATH=`/bin/pwd`
export CORSOCXX_PATH=${ANALYSIS_PATH}
export CORSOCXX_UTIL=${CORSOCXX_PATH}
cd `dirname $0`
#####################################################################
echo "I'm in "pwd
export LIB_NAME=AnalysisFramework
cd ${ANALYSIS_PATH}/${LIB_NAME}
rm -f ${ANALYSIS_PATH}/lib${LIB_NAME}.so
echo "compile " ${LIB_NAME}
c++ -fPIC -shared -I. -I ${CORSOCXX_UTIL} -I ${ANALYSIS_PATH} \
-o ${ANALYSIS_PATH}/lib${LIB_NAME}.so *.cc
export LIB_NAME=AnalysisUtilities
cd ${ANALYSIS_PATH}/${LIB_NAME}
rm -f ${ANALYSIS_PATH}/lib${LIB_NAME}.so
echo "compile " ${LIB_NAME}
c++ -fPIC -shared -I. -I ${CORSOCXX_UTIL} -I ${ANALYSIS_PATH} \
-o ${ANALYSIS_PATH}/lib${LIB_NAME}.so *.cc
export LIB_NAME=AnalysisObjects
cd ${ANALYSIS_PATH}/${LIB_NAME}
rm -f ${ANALYSIS_PATH}/lib${LIB_NAME}.so
echo "compile " ${LIB_NAME}
c++ -fPIC -shared -I. -I ${CORSOCXX_UTIL} -I ${ANALYSIS_PATH} -I ../AnalysisFramework -I ../AnalysisUtilities \
-o ${ANALYSIS_PATH}/lib${LIB_NAME}.so *.cc
#####################################################################
cd ${ANALYSIS_PATH}/AnalysisPlugins
export LIB_NAME=EventDump
rm -f ${ANALYSIS_PATH}/lib${LIB_NAME}.so
echo "compile " ${LIB_NAME}
c++ -std=c++0x -fPIC -shared -I. -I ${CORSOCXX_UTIL} -I ${ANALYSIS_PATH} -I ../AnalysisFramework/ -I ../AnalysisUtilities -I ../AnalysisObjects \
-o ${ANALYSIS_PATH}/lib${LIB_NAME}.so *.cc -L ${ANALYSIS_PATH} \
-lAnalysisFramework -lAnalysisObjects -lAnalysisUtilities `root-config --cflags` \
`root-config --libs`
export LIB_NAME=BGCalc
rm -f ${ANALYSIS_PATH}/lib${LIB_NAME}.so
echo "compile " ${LIB_NAME}
c++ -std=c++0x -fPIC -shared -I. -I ${CORSOCXX_UTIL} -I ${ANALYSIS_PATH} -I ../AnalysisFramework/ -I ../AnalysisUtilities -I ../AnalysisObjects \
-o ${ANALYSIS_PATH}/lib${LIB_NAME}.so *.cc -L ${ANALYSIS_PATH} \
-lAnalysisFramework -lAnalysisObjects -lAnalysisUtilities `root-config --libs` `root-config --cflags`
export LIB_NAME=EnergyDist
rm -f ${ANALYSIS_PATH}/lib${LIB_NAME}.so
echo "compile " ${LIB_NAME}
c++ -std=c++0x -fPIC -shared -I. -I ${CORSOCXX_UTIL} -I ${ANALYSIS_PATH} -I ../AnalysisFramework/ -I ../AnalysisUtilities -I ../AnalysisObjects \
-o ${ANALYSIS_PATH}/lib${LIB_NAME}.so *.cc -L ${ANALYSIS_PATH} \
-lAnalysisFramework -lAnalysisObjects -lAnalysisUtilities `root-config --cflags` \
`root-config --libs`
#####################################################################
cd ${ANALYSIS_PATH}
export EXE_NAME=runDump
rm -f ${EXE_NAME}
echo "compile " ${EXE_NAME}
c++ -Wall -fPIC -I. -I ${ANALYSIS_PATH} -I ${CORSOCXX_UTIL} \
-o ${EXE_NAME} dum.cc -L ${ANALYSIS_PATH} -Wl,--no-as-needed \
-lAnalysisFramework -lAnalysisObjects -lAnalysisUtilities \
-lEventDump
export EXE_NAME=runStat
rm -f ${EXE_NAME}
echo "compile " ${EXE_NAME}
c++ -Wall -fPIC -I. -I ${ANALYSIS_PATH} -I ${CORSOCXX_UTIL} \
-o ${EXE_NAME} dum.cc -L ${ANALYSIS_PATH} -Wl,--no-as-needed \
-lAnalysisFramework -lAnalysisObjects -lAnalysisUtilities \
-lBGCalc
export EXE_NAME=runHist
rm -f ${EXE_NAME}
echo "compile " ${EXE_NAME}
c++ -Wall -fPIC -I. -I ${ANALYSIS_PATH} -I ${CORSOCXX_UTIL} \
-o ${EXE_NAME} dum.cc -L ${ANALYSIS_PATH} -Wl,--no-as-needed \
-lAnalysisFramework -lAnalysisObjects -lAnalysisUtilities \
-lEnergyDist \
`root-config --libs`
export EXE_NAME=runAll
rm -f ${EXE_NAME}
echo "compile " ${EXE_NAME}
c++ -Wall -fPIC -I. -I ${ANALYSIS_PATH} -I ${CORSOCXX_UTIL} \
-o ${EXE_NAME} dum.cc -L ${ANALYSIS_PATH} -Wl,--no-as-needed \
-lAnalysisFramework -lAnalysisObjects -lAnalysisUtilities \
-lEventDump -lEnergyDist -lBGCalc \
`root-config --libs` `root-config --cflags`
Если я запускаю «runStat, runDump, runHist», все идет хорошо. Если я запускаю «runAll» (который «включает» runStat, runDump, runHist), я получаю двойная свобода или коррупция. Я отменил все операторы «delete» из моих кодов, чтобы увидеть, в чем проблема … Я не знаю абсолютно, что делает.
Здесь есть вывод memcheck с Valgrind http://pastebin.com/ZzSR9rYR (что я не знаю, как это интерпретировать).
Это Backtrace и карта памяти, которую я получаю в конце runAll.
*** glibc detected *** ./runAll: double free or corruption (fasttop): 0x0000000002434fd0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7fb7ff283b96]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSsD1Ev+0x23)[0x7fb7ffd92c13]
/lib/x86_64-linux-gnu/libc.so.6(__cxa_finalize+0x9d)[0x7fb7ff240d1d]
/home/riccardo/Desktop/bg06/libEnergyDist.so(+0xaf36)[0x7fb8047f2f36]
======= Memory map: ========
00400000-00401000 r-xp 00000000 08:01 6687853 /home/riccardo/Desktop/bg06/runAll
00600000-00601000 r--p 00000000 08:01 6687853 /home/riccardo/Desktop/bg06/runAll
00601000-00602000 rw-p 00001000 08:01 6687853 /home/riccardo/Desktop/bg06/runAll
0215f000-027b1000 rw-p 00000000 00:00 0 [heap]
7fb7fdedc000-7fb7fdee8000 r-xp 00000000 08:01 5767369 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7fb7fdee8000-7fb7fe0e7000 ---p 0000c000 08:01 5767369 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7fb7fe0e7000-7fb7fe0e8000 r--p 0000b000 08:01 5767369 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7fb7fe0e8000-7fb7fe0e9000 rw-p 0000c000 08:01 5767369 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7fb7fe0e9000-7fb7fe0f3000 r-xp 00000000 08:01 5767373 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
7fb7fe0f3000-7fb7fe2f3000 ---p 0000a000 08:01 5767373 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
7fb7fe2f3000-7fb7fe2f4000 r--p 0000a000 08:01 5767373 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
7fb7fe2f4000-7fb7fe2f5000 rw-p 0000b000 08:01 5767373 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
7fb7fe2f5000-7fb7fe30c000 r-xp 00000000 08:01 5767385 /lib/x86_64-linux-gnu/libnsl-2.15.so
7fb7fe30c000-7fb7fe50b000 ---p 00017000 08:01 5767385 /lib/x86_64-linux-gnu/libnsl-2.15.so
7fb7fe50b000-7fb7fe50c000 r--p 00016000 08:01 5767385 /lib/x86_64-linux-gnu/libnsl-2.15.so
7fb7fe50c000-7fb7fe50d000 rw-p 00017000 08:01 5767385 /lib/x86_64-linux-gnu/libnsl-2.15.so
7fb7fe50d000-7fb7fe50f000 rw-p 00000000 00:00 0
7fb7fe50f000-7fb7fe517000 r-xp 00000000 08:01 5767367 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
7fb7fe517000-7fb7fe716000 ---p 00008000 08:01 5767367 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
7fb7fe716000-7fb7fe717000 r--p 00007000 08:01 5767367 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
7fb7fe717000-7fb7fe718000 rw-p 00008000 08:01 5767367 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
7fb7fe718000-7fb7fe7ae000 r-xp 00000000 08:01 793927 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.0
7fb7fe7ae000-7fb7fe9ad000 ---p 00096000 08:01 793927 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.0
7fb7fe9ad000-7fb7fe9b3000 r--p 00095000 08:01 793927 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.0
7fb7fe9b3000-7fb7fe9b4000 rw-p 0009b000 08:01 793927 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.0
7fb7fe9b4000-7fb7fea08000 r-xp 00000000 08:01 5767364 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7fb7fea08000-7fb7fec08000 ---p 00054000 08:01 5767364 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7fb7fec08000-7fb7fec0b000 r--p 00054000 08:01 5767364 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7fb7fec0b000-7fb7fec11000 rw-p 00057000 08:01 5767364 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7fb7fec11000-7fb7fec12000 rw-p 00000000 00:00 0
7fb7fec12000-7fb7fedc3000 r-xp 00000000 08:01 5767365 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fb7fedc3000-7fb7fefc3000 ---p 001b1000 08:01 5767365 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fb7fefc3000-7fb7fefde000 r--p 001b1000 08:01 5767365 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fb7fefde000-7fb7fefe9000 rw-p 001cc000 08:01 5767365 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fb7fefe9000-7fb7fefee000 rw-p 00000000 00:00 0
7fb7fefee000-7fb7ff004000 r-xp 00000000 08:01 5770915 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fb7ff004000-7fb7ff203000 ---p 00016000 08:01 5770915 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fb7ff203000-7fb7ff204000 r--p 00015000 08:01 5770915 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fb7ff204000-7fb7ff205000 rw-p 00016000 08:01 5770915 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fb7ff205000-7fb7ff3ba000 r-xp 00000000 08:01 5767299 /lib/x86_64-linux-gnu/libc-2.15.so
7fb7ff3ba000-7fb7ff5ba000 ---p 001b5000 08:01 5767299 /lib/x86_64-linux-gnu/libc-2.15.so
7fb7ff5ba000-7fb7ff5be000 r--p 001b5000 08:01 5767299 /lib/x86_64-linux-gnu/libc-2.15.so
7fb7ff5be000-7fb7ff5c0000 rw-p 001b9000 08:01 5767299 /lib/x86_64-linux-gnu/libc-2.15.so
7fb7ff5c0000-7fb7ff5c5000 rw-p 00000000 00:00 0
7fb7ff5c5000-7fb7ff5dd000 r-xp 00000000 08:01 5767374 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fb7ff5dd000-7fb7ff7dc000 ---p 00018000 08:01 5767374 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fb7ff7dc000-7fb7ff7dd000 r--p 00017000 08:01 5767374 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fb7ff7dd000-7fb7ff7de000 rw-p 00018000 08:01 5767374 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fb7ff7de000-7fb7ff7e2000 rw-p 00000000 00:00 0
7fb7ff7e2000-7fb7ff7f7000 r-xp 00000000 08:01 5770825 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fb7ff7f7000-7fb7ff9f6000 ---p 00015000 08:01 5770825 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fb7ff9f6000-7fb7ff9f7000 r--p 00014000 08:01 5770825 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fb7ff9f7000-7fb7ff9f8000 rw-p 00015000 08:01 5770825 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fb7ff9f8000-7fb7ffaf3000 r-xp 00000000 08:01 5767376 /lib/x86_64-linux-gnu/libm-2.15.so
7fb7ffaf3000-7fb7ffcf2000 ---p 000fb000 08:01 5767376 /lib/x86_64-linux-gnu/libm-2.15.so
7fb7ffcf2000-7fb7ffcf3000 r--p 000fa000 08:01 5767376 /lib/x86_64-linux-gnu/libm-2.15.so
7fb7ffcf3000-7fb7ffcf4000 rw-p 000fb000 08:01 5767376 /lib/x86_64-linux-gnu/libm-2.15.so
7fb7ffcf4000-7fb7ffdd6000 r-xp 00000000 08:01 794267 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fb7ffdd6000-7fb7fffd5000 ---p 000e2000 08:01 794267 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fb7fffd5000-7fb7fffdd000 r--p 000e1000 08:01 794267 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fb7fffdd000-7fb7fffdf000 rw-p 000e9000 08:01 794267 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fb7fffdf000-7fb7ffff4000 rw-p 00000000 00:00 0
7fb7ffff4000-7fb7ffff6000 r-xp 00000000 08:01 5767380 /lib/x86_64-linux-gnu/libdl-2.15.so
7fb7ffff6000-7fb8001f6000 ---p 00002000 08:01 5767380 /lib/x86_64-linux-gnu/libdl-2.15.so
7fb8001f6000-7fb8001f7000 r--p 00002000 08:01 5767380 /lib/x86_64-linux-gnu/libdl-2.15.so
7fb8001f7000-7fb8001f8000 rw-p 00003000 08:01 5767380 /lib/x86_64-linux-gnu/libdl-2.15.so
7fb8001f8000-7fb800246000 r-xp 00000000 08:01 3148014 /home/riccardo/Downloads/root/lib/libThread.so
7fb800246000-7fb800445000 ---p 0004e000 08:01 3148014 /home/riccardo/Downloads/root/lib/libThread.so
7fb800445000-7fb800449000 r--p 0004d000 08:01 3148014 /home/riccardo/Downloads/root/lib/libThread.so
7fb800449000-7fb80044b000 rw-p 00051000 08:01 3148014 /home/riccardo/Downloads/root/lib/libThread.so
7fb80044b000-7fb80044c000 rw-p 00000000 00:00 0
7fb80044c000-7fb800678000 r-xp 00000000 08:01 3148031 /home/riccardo/Downloads/root/lib/libMathCore.so
7fb800678000-7fb800878000 ---p 0022c000 08:01 3148031 /home/riccardo/Downloads/root/lib/libMathCore.so
7fb800878000-7fb800881000 r--p 0022c000 08:01 3148031 /home/riccardo/Downloads/root/lib/libMathCore.so
7fb800881000-7fb800885000 rw-p 00235000 08:01 3148031 /home/riccardo/Downloads/root/lib/libMathCore.so
7fb800885000-7fb80088c000 rw-p 00000000 00:00 0
7fb80088c000-7fb800925000 r-xp 00000000 08:01 3154752 /home/riccardo/Downloads/root/lib/libPhysics.so
7fb800925000-7fb800b25000 ---p 00099000 08:01 3154752 /home/riccardo/Downloads/root/lib/libPhysics.so
7fb800b25000-7fb800b28000 r--p 00099000 08:01 3154752 /home/riccardo/Downloads/root/lib/libPhysics.so
7fb800b28000-7fb800b2a000 rw-p 0009c000 08:01 3154752 /home/riccardo/Downloads/root/lib/libPhysics.so
7fb800b2a000-7fb800b2b000 rw-p 00000000 00:00 0
7fb800b2b000-7fb800d72000 r-xp 00000000 08:01 3148210 /home/riccardo/Downloads/root/lib/libMatrix.so
7fb800d72000-7fb800f71000 ---p 00247000 08:01 3148210 /home/riccardo/Downloads/root/lib/libMatrix.so
7fb800f71000-7fb800f7a000 r--p 00246000 08:01 3148210 /home/riccardo/Downloads/root/lib/libMatrix.so
7fb800f7a000-7fb800f80000 rw-p 0024f000 08:01 3148210 /home/riccardo/Downloads/root/lib/libMatrix.so
7fb800f80000-7fb800f84000 rw-p 00000000 00:00 0
7fb800f84000-7fb800ff9000 r-xp 00000000 08:01 3154753 /home/riccardo/Downloads/root/lib/libPostscript.so
7fb800ff9000-7fb8011f9000 ---p 00075000 08:01 3154753 /home/riccardo/Downloads/root/lib/libPostscript.so
7fb8011f9000-7fb801200000 r--p 00075000 08:01 3154753 /home/riccardo/Downloads/root/lib/libPostscript.so
7fb801200000-7fb801201000 rw-p 0007c000 08:01 3154753 /home/riccardo/Downloads/root/lib/libPostscript.so
7fb801201000-7fb801202000 rw-p 00000000 00:00 0
7fb801202000-7fb801233000 r-xp 00000000 08:01 3154755 /home/riccardo/Downloads/root/lib/libRint.so
7fb801233000-7fb801433000 ---p 00031000 08:01 3154755 /home/riccardo/Downloads/root/lib/libRint.so
7fb801433000-7fb801435000 r--p 00031000 08:01 3154755 /home/riccardo/Downloads/root/lib/libRint.so
7fb801435000-7fb801436000 rw-p 00033000 08:01 3154755 /home/riccardo/Downloads/root/lib/libRint.so
7fb801436000-7fb801437000 rw-p 00000000 00:00 0
7fb801437000-7fb80165c000 r-xp 00000000 08:01 3148322 /home/riccardo/Downloads/root/lib/libTree.so
7fb80165c000-7fb80185c000 ---p 00225000 08:01 3148322 /home/riccardo/Downloads/root/lib/libTree.so
7fb80185c000-7fb80186b000 r--p 00225000 08:01 3148322 /home/riccardo/Downloads/root/lib/libTree.so
7fb80186b000-7fb801870000 rw-p 00234000 08:01 3148322 /home/riccardo/Downloads/root/lib/libTree.so
7fb801870000-7fb801875000 rw-p 00000000 00:00 0
7fb801875000-7fb80195d000 r-xp 00000000 08:01 3148333 /home/riccardo/Downloads/root/lib/libGpad.so
7fb80195d000-7fb801b5d000 ---p 000e8000 08:01 3148333 /home/riccardo/Downloads/root/lib/libGpad.so
7fb801b5d000-7fb801b66000 r--p 000e8000 08:01 3148333 /home/riccardo/Downloads/root/lib/libGpad.so
7fb801b66000-7fb801b69000 rw-p 000f1000 08:01 3148333 /home/riccardo/Downloads/root/lib/libGpad.so
7fb801b69000-7fb801b6b000 rw-p 00000000 00:00 0
7fb801b6b000-7fb801c81000 r-xp 00000000 08:01 3148445 /home/riccardo/Downloads/root/lib/libGraf3d.so
7fb801c81000-7fb801e81000 ---p 00116000 08:01 3148445 /home/riccardo/Downloads/root/lib/libGraf3d.so
7fb801e81000-7fb801e8b000 r--p 00116000 08:01 3148445 /home/riccardo/Downloads/root/lib/libGraf3d.so
7fb801e8b000-7fb801e8e000 rw-p 00120000 08:01 3148445 /home/riccardo/Downloads/root/lib/libGraf3d.so
7fb801e8e000-7fb801e92000 rw-p 00000000 00:00 0
7fb801e92000-7fb80207c000 r-xp 00000000 08:01 3148328 /home/riccardo/Downloads/root/lib/libGraf.so
7fb80207c000-7fb80227c000 ---p 001ea000 08:01 3148328 /home/riccardo/Downloads/root/lib/libGraf.so
7fb80227c000-7fb802289000 r--p 001ea000 08:01 3148328 /home/riccardo/Downloads/root/lib/libGraf.so
7fb802289000-7fb80228f000 rw-p 001f7000 08:01 3148328 /home/riccardo/Downloads/root/lib/libGraf.so
7fb80228f000-7fb80229d000 rw-p 00000000 00:00 0
7fb80229d000-7fb802792000 r-xp 00000000 08:01 3148215 /home/riccardo/Downloads/root/lib/libHist.so
7fb802792000-7fb802991000 ---p 004f5000 08:01 3148215 /home/riccardo/Downloads/root/lib/libHist.so
7fb802991000-7fb8029b9000 r--p 004f4000 08:01 3148215 /home/riccardo/Downloads/root/lib/libHist.so
7fb8029b9000-7fb8029c0000 rw-p 0051c000 08:01 3148215 /home/riccardo/Downloads/root/lib/libHist.so
7fb8029c0000-7fb8029c9000 rw-p 00000000 00:00 0
7fb8029c9000-7fb802b29000 r-xp 00000000 08:01 3148182 /home/riccardo/Downloads/root/lib/libNet.so
7fb802b29000-7fb802d29000 ---p 00160000 08:01 3148182 /home/riccardo/Downloads/root/lib/libNet.so
7fb802d29000-7fb802d35000 r--p 00160000 08:01 3148182 /home/riccardo/Downloads/root/lib/libNet.so
7fb802d35000-7fb802d39000 rw-p 0016c000 08:01 3148182 /home/riccardo/Downloads/root/lib/libNet.so
7fb802d39000-7fb802d40000 rw-p 00000000 00:00 0
7fb802d40000-7fb80305e000 r-xp 00000000 08:01 3148027 /home/riccardo/Downloads/root/lib/libRIO.so
7fb80305e000-7fb80325e000 ---p 0031e000 08:01 3148027 /home/riccardo/Downloads/root/lib/libRIO.so
7fb80325e000-7fb803269000 r--p 0031e000 08:01 3148027 /home/riccardo/Downloads/root/lib/libRIO.so
7fb803269000-7fb80326d000 rw-p 00329000 08:01 3148027 /home/riccardo/Downloads/root/lib/libRIO.so
7fb80326d000-7fb803270000 rw-p 00000000 00:00 0
7fb803270000-7fb8034b8000 r-xp 00000000 08:01 3154716 /home/riccardo/Downloads/root/lib/libCint.so
7fb8034b8000-7fb8036b7000 ---p 00248000 08:01 3154716 /home/riccardo/Downloads/root/lib/libCint.so
7fb8036b7000-7fb8036ba000 r--p 00247000 08:01 3154716 /home/riccardo/Downloads/root/lib/libCint.so
7fb8036ba000-7fb8036bf000 rw-p 0024a000 08:01 3154716 /home/riccardo/Downloads/root/lib/libCint.so
7fb8036bf000-7fb803bf7000 rw-p 00000000 00:00 0 Aborted
Задача ещё не решена.