Valgrind
-
Hallo,
mein Programm liefert am Ende einen Fehler :
*** glibc detected *** ../torrey: double free or corruption (!prev): 0x000000000100fbc0 *** ======= Backtrace: ========= /lib/../lib64/libc.so.6[0x2b5b6fad321d] /lib/../lib64/libc.so.6(cfree+0x76)[0x2b5b6fad4f76] ../torrey[0x41523e] ../torrey(__gxx_personality_v0+0x373)[0x411bf3] /lib/../lib64/libc.so.6(__libc_start_main+0xf4)[0x2b5b6fa82b54] ../torrey(__gxx_personality_v0+0x129)[0x4119a9] ======= Memory map: ======== (...) 2b5b701ec000-2b5b701ed000 rwxp 2b5b701ec000 00:00 0 2b5b701ed000-2b5b701ef000 r-xp 00000000 08:02 2332648 /usr/lib64/libXau.so.6.0.0 2b5b701ef000-2b5b703ee000 ---p 00002000 08:02 2332648 /usr/lib64/libXau.so.6.0.0 2b5b703ee000-2b5b703f0000 rwxp 00001000 08:02 2332648 /usr/lib64/libXau.so.6.0.0 2b5b703f0000-2b5b703f2000 rwxp 2b5b703f0000 00:00 0 2b5b74000000-2b5b74021000 rwxp 2b5b74000000 00:00 0 2b5b74021000-2b5b78000000 ---p 2b5b74021000 00:00 0 7fff3d0ae000-7fff3d0c4000 rwxp 7fff3d0ae000 00:00 0 [stack] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vdso] [0]0:Return code = 0, signaled with Aborted
Ich habe mit Valgrind versucht den Fehler zu erkennen und bekomme soetwas :
(nur die letzten Zeilen)
==9275== 32,640 bytes in 1 blocks are still reachable in loss record 9 of 10 ==9275== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9275== by 0x52C2930: (within /lib64/libc-2.6.1.so) ==9275== by 0x52C2016: iconv_open (in /lib64/libc-2.6.1.so) ==9275== by 0x410ACD: (within /bin/tcsh) ==9275== by 0x4054BB: (within /bin/tcsh) ==9275== by 0x52C1B53: (below main) (in /lib64/libc-2.6.1.so) ==9275== ==9275== ==9275== 43,424 bytes in 580 blocks are still reachable in loss record 10 of 10 ==9275== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==9275== by 0x43A402: (within /bin/tcsh) ==9275== by 0x41B485: (within /bin/tcsh) ==9275== by 0x40B2AE: (within /bin/tcsh) ==9275== by 0x410AD9: (within /bin/tcsh) ==9275== by 0x4054BB: (within /bin/tcsh) ==9275== by 0x52C1B53: (below main) (in /lib64/libc-2.6.1.so) ==9275== ==9275== LEAK SUMMARY: ==9275== definitely lost: 1,020 bytes in 4 blocks. ==9275== indirectly lost: 4,753 bytes in 103 blocks. ==9275== possibly lost: 0 bytes in 0 blocks. ==9275== still reachable: 103,341 bytes in 601 blocks. ==9275== suppressed: 0 bytes in 0 blocks.
Leider kann ich damit nicht viel anfangen, außer das es sich um ein Leak handelt. Kann man den Fehler weiter lokalisieren/ eingrenzen?
Wäre für ein Paar Hinweise oder Erklärungen zur Ausgabe echt dankbar!
-
leider nicht, da der fehler nicht direkt in deinem programm auftritt, sondern in einer anderen lib, da der fehler am ende auftritt,
würde ich mal überrüfen welche destruktoren am ende aufgerufen werdendas mit glibc ist ziemlich sicher dein fehler,
das memleak in tcsh ist meiner meinung!!! nach schon lange da, ist ja auch kein leak, da es nur am ende auftritt
-
-
die valgrind-fehler, die du gepostet hast, haben mit dem ersten wahrscheinlich nichts zu tun. "double free or corruption" sagt dir zwei sachen: entweder hast du zwei mal den gleichen speicher freigegeben, oder du hast einen pufferüberlauf irgendwo am heap produziert, der die verwaltungsstrukturen der malloc implementierung der glibc vernichtet hat. du musst dir die anderen fehler, die valgrind dir anzeigt, ansehen. da sind bestimmte noch andere.
-
Ich habe das gleiche Programm mal auf zwei unterschiedlichen Rechnern laufen lassen:
mit dem Aufruf: valgrind --leak-check=full
1.)
==18965== Memcheck, a memory error detector. ==18965== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==18965== Using LibVEX rev 1575, a library for dynamic binary translation. ==18965== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==18965== Using valgrind-3.1.1, a dynamic binary instrumentation framework. ==18965== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==18965== For more details, rerun with: -v ==18965== ==18982== ==18982== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 5 from 2) ==18982== malloc/free: in use at exit: 0 bytes in 0 blocks. ==18982== malloc/free: 0 allocs, 0 frees, 0 bytes allocated. ==18982== For counts of detected errors, rerun with: -v ==18982== All heap blocks were freed -- no leaks are possible. ==18984== ==18984== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 5 from 2) ==18984== malloc/free: in use at exit: 0 bytes in 0 blocks. ==18984== malloc/free: 0 allocs, 0 frees, 0 bytes allocated. ==18984== For counts of detected errors, rerun with: -v ==18984== All heap blocks were freed -- no leaks are possible. ==18986== ==18986== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 5 from 2) ==18986== malloc/free: in use at exit: 0 bytes in 0 blocks. ==18986== malloc/free: 0 allocs, 0 frees, 0 bytes allocated. ==18986== For counts of detected errors, rerun with: -v ==18986== All heap blocks were freed -- no leaks are possible. *** glibc detected *** double free or corruption (!prev): 0x0000000000728b60 *** [0]0:Return code = 0, signaled with Aborted ==18965== ==18965== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 5 from 2) ==18965== malloc/free: in use at exit: 0 bytes in 0 blocks. ==18965== malloc/free: 0 allocs, 0 frees, 0 bytes allocated. ==18965== For counts of detected errors, rerun with: -v ==18965== All heap blocks were freed -- no leaks are possible.
2.)
==12182== Memcheck, a memory error detector. ==12182== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==12182== Using LibVEX rev 1732, a library for dynamic binary translation. ==12182== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==12182== Using valgrind-3.2.3, a dynamic binary instrumentation framework. ==12182== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==12182== For more details, rerun with: -v ==12182== ==12183== ==12183== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) ==12183== malloc/free: in use at exit: 107,481 bytes in 719 blocks. ==12183== malloc/free: 2,268 allocs, 1,549 frees, 226,623 bytes allocated. ==12183== For counts of detected errors, rerun with: -v ==12183== searching for pointers to 719 not-freed blocks. ==12183== checked 491,096 bytes. ==12183== ==12183== 6,595 (1,045 direct, 5,550 indirect) bytes in 5 blocks are definitely lost in loss record 6 of 11 ==12183== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==12183== by 0x43A402: (within /bin/tcsh) ==12183== by 0x440B49: (within /bin/tcsh) ==12183== by 0x4072E5: (within /bin/tcsh) ==12183== by 0x408D22: (within /bin/tcsh) ==12183== by 0x405953: (within /bin/tcsh) ==12183== by 0x52C1B53: (below main) (in /lib64/libc-2.6.1.so) ==12183== ==12183== LEAK SUMMARY: ==12183== definitely lost: 1,045 bytes in 5 blocks. ==12183== indirectly lost: 5,550 bytes in 112 blocks. ==12183== possibly lost: 0 bytes in 0 blocks. ==12183== still reachable: 100,886 bytes in 602 blocks. ==12183== suppressed: 0 bytes in 0 blocks. ==12183== Reachable blocks (those to which a pointer was found) are not shown. ==12183== To see them, rerun with: --leak-check=full --show-reachable=yes ==12190== ==12190== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) ==12190== malloc/free: in use at exit: 108,280 bytes in 722 blocks. ==12190== malloc/free: 2,321 allocs, 1,599 frees, 236,928 bytes allocated. ==12190== For counts of detected errors, rerun with: -v ==12190== searching for pointers to 722 not-freed blocks. ==12190== checked 491,112 bytes. ==12190== ==12190== 6,559 (1,045 direct, 5,514 indirect) bytes in 5 blocks are definitely lost in loss record 6 of 11 ==12190== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==12190== by 0x43A402: (within /bin/tcsh) ==12190== by 0x440B49: (within /bin/tcsh) ==12190== by 0x4072E5: (within /bin/tcsh) ==12190== by 0x408D22: (within /bin/tcsh) ==12190== by 0x405953: (within /bin/tcsh) ==12190== by 0x52C1B53: (below main) (in /lib64/libc-2.6.1.so) ==12190== ==12190== LEAK SUMMARY: ==12190== definitely lost: 1,045 bytes in 5 blocks. ==12190== indirectly lost: 5,514 bytes in 112 blocks. ==12190== possibly lost: 0 bytes in 0 blocks. ==12190== still reachable: 101,721 bytes in 605 blocks. ==12190== suppressed: 0 bytes in 0 blocks. ==12190== Reachable blocks (those to which a pointer was found) are not shown. ==12190== To see them, rerun with: --leak-check=full --show-reachable=yes ==12197== ==12197== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) ==12197== malloc/free: in use at exit: 107,349 bytes in 719 blocks. ==12197== malloc/free: 2,306 allocs, 1,587 frees, 238,853 bytes allocated. ==12197== For counts of detected errors, rerun with: -v ==12197== searching for pointers to 719 not-freed blocks. ==12197== checked 489,616 bytes. ==12197== ==12197== 6,315 (1,045 direct, 5,270 indirect) bytes in 5 blocks are definitely lost in loss record 6 of 11 ==12197== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==12197== by 0x43A402: (within /bin/tcsh) ==12197== by 0x440B49: (within /bin/tcsh) ==12197== by 0x4072E5: (within /bin/tcsh) ==12197== by 0x408D22: (within /bin/tcsh) ==12197== by 0x405953: (within /bin/tcsh) ==12197== by 0x52C1B53: (below main) (in /lib64/libc-2.6.1.so) ==12197== ==12197== LEAK SUMMARY: ==12197== definitely lost: 1,045 bytes in 5 blocks. ==12197== indirectly lost: 5,270 bytes in 112 blocks. ==12197== possibly lost: 0 bytes in 0 blocks. ==12197== still reachable: 101,034 bytes in 602 blocks. ==12197== suppressed: 0 bytes in 0 blocks. ==12197== Reachable blocks (those to which a pointer was found) are not shown. ==12197== To see them, rerun with: --leak-check=full --show-reachable=yes ==12202== ==12202== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) ==12202== malloc/free: in use at exit: 108,733 bytes in 743 blocks. ==12202== malloc/free: 2,338 allocs, 1,595 frees, 243,089 bytes allocated. ==12202== For counts of detected errors, rerun with: -v ==12202== searching for pointers to 743 not-freed blocks. ==12202== checked 490,360 bytes. ==12202== ==12202== 6,199 (1,045 direct, 5,154 indirect) bytes in 5 blocks are definitely lost in loss record 6 of 11 ==12202== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==12202== by 0x43A402: (within /bin/tcsh) ==12202== by 0x440B49: (within /bin/tcsh) ==12202== by 0x4072E5: (within /bin/tcsh) ==12202== by 0x408D22: (within /bin/tcsh) ==12202== by 0x405953: (within /bin/tcsh) ==12202== by 0x52C1B53: (below main) (in /lib64/libc-2.6.1.so) ==12202== ==12202== LEAK SUMMARY: ==12202== definitely lost: 1,045 bytes in 5 blocks. ==12202== indirectly lost: 5,154 bytes in 112 blocks. ==12202== possibly lost: 0 bytes in 0 blocks. ==12202== still reachable: 102,534 bytes in 626 blocks. ==12202== suppressed: 0 bytes in 0 blocks. ==12202== Reachable blocks (those to which a pointer was found) are not shown. ==12202== To see them, rerun with: --leak-check=full --show-reachable=yes ==12201== ==12201== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) ==12201== malloc/free: in use at exit: 107,794 bytes in 720 blocks. ==12201== malloc/free: 2,353 allocs, 1,633 frees, 244,636 bytes allocated. ==12201== For counts of detected errors, rerun with: -v ==12201== searching for pointers to 720 not-freed blocks. ==12201== checked 489,384 bytes. ==12201== ==12201== 6,199 (1,045 direct, 5,154 indirect) bytes in 5 blocks are definitely lost in loss record 6 of 11 ==12201== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==12201== by 0x43A402: (within /bin/tcsh) ==12201== by 0x440B49: (within /bin/tcsh) ==12201== by 0x4072E5: (within /bin/tcsh) ==12201== by 0x408D22: (within /bin/tcsh) ==12201== by 0x405953: (within /bin/tcsh) ==12201== by 0x52C1B53: (below main) (in /lib64/libc-2.6.1.so) ==12201== ==12201== LEAK SUMMARY: ==12201== definitely lost: 1,045 bytes in 5 blocks. ==12201== indirectly lost: 5,154 bytes in 112 blocks. ==12201== possibly lost: 0 bytes in 0 blocks. ==12201== still reachable: 101,595 bytes in 603 blocks. ==12201== suppressed: 0 bytes in 0 blocks. ==12201== Reachable blocks (those to which a pointer was found) are not shown. ==12201== To see them, rerun with: --leak-check=full --show-reachable=yes ==12205== ==12205== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) ==12205== malloc/free: in use at exit: 109,749 bytes in 747 blocks. ==12205== malloc/free: 2,395 allocs, 1,648 frees, 249,754 bytes allocated. ==12205== For counts of detected errors, rerun with: -v ==12205== searching for pointers to 747 not-freed blocks. ==12205== checked 490,600 bytes. ==12205== ==12205== 6,155 (1,045 direct, 5,110 indirect) bytes in 5 blocks are definitely lost in loss record 6 of 11 ==12205== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==12205== by 0x43A402: (within /bin/tcsh) ==12205== by 0x440B49: (within /bin/tcsh) ==12205== by 0x4072E5: (within /bin/tcsh) ==12205== by 0x408D22: (within /bin/tcsh) ==12205== by 0x405953: (within /bin/tcsh) ==12205== by 0x52C1B53: (below main) (in /lib64/libc-2.6.1.so) ==12205== ==12205== LEAK SUMMARY: ==12205== definitely lost: 1,045 bytes in 5 blocks. ==12205== indirectly lost: 5,110 bytes in 112 blocks. ==12205== possibly lost: 0 bytes in 0 blocks. ==12205== still reachable: 103,594 bytes in 630 blocks. ==12205== suppressed: 0 bytes in 0 blocks. ==12205== Reachable blocks (those to which a pointer was found) are not shown. ==12205== To see them, rerun with: --leak-check=full --show-reachable=yes ==12204== ==12204== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) ==12204== malloc/free: in use at exit: 108,878 bytes in 724 blocks. ==12204== malloc/free: 2,410 allocs, 1,686 frees, 251,253 bytes allocated. ==12204== For counts of detected errors, rerun with: -v ==12204== searching for pointers to 724 not-freed blocks. ==12204== checked 489,688 bytes. ==12204== ==12204== 6,155 (1,045 direct, 5,110 indirect) bytes in 5 blocks are definitely lost in loss record 6 of 11 ==12204== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==12204== by 0x43A402: (within /bin/tcsh) ==12204== by 0x440B49: (within /bin/tcsh) ==12204== by 0x4072E5: (within /bin/tcsh) ==12204== by 0x408D22: (within /bin/tcsh) ==12204== by 0x405953: (within /bin/tcsh) ==12204== by 0x52C1B53: (below main) (in /lib64/libc-2.6.1.so) ==12204== ==12204== LEAK SUMMARY: ==12204== definitely lost: 1,045 bytes in 5 blocks. ==12204== indirectly lost: 5,110 bytes in 112 blocks. ==12204== possibly lost: 0 bytes in 0 blocks. ==12204== still reachable: 102,723 bytes in 607 blocks. ==12204== suppressed: 0 bytes in 0 blocks. ==12204== Reachable blocks (those to which a pointer was found) are not shown. ==12204== To see them, rerun with: --leak-check=full --show-reachable=yes ==12208== ==12208== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) ==12208== malloc/free: in use at exit: 111,081 bytes in 751 blocks. ==12208== malloc/free: 2,452 allocs, 1,701 frees, 256,587 bytes allocated. ==12208== For counts of detected errors, rerun with: -v ==12208== searching for pointers to 751 not-freed blocks. ==12208== checked 491,112 bytes. ==12208== ==12208== 6,163 (1,045 direct, 5,118 indirect) bytes in 5 blocks are definitely lost in loss record 6 of 11 ==12208== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==12208== by 0x43A402: (within /bin/tcsh) ==12208== by 0x440B49: (within /bin/tcsh) ==12208== by 0x4072E5: (within /bin/tcsh) ==12208== by 0x408D22: (within /bin/tcsh) ==12208== by 0x405953: (within /bin/tcsh) ==12208== by 0x52C1B53: (below main) (in /lib64/libc-2.6.1.so) ==12208== ==12208== LEAK SUMMARY: ==12208== definitely lost: 1,045 bytes in 5 blocks. ==12208== indirectly lost: 5,118 bytes in 112 blocks. ==12208== possibly lost: 0 bytes in 0 blocks. ==12208== still reachable: 104,918 bytes in 634 blocks. ==12208== suppressed: 0 bytes in 0 blocks. ==12208== Reachable blocks (those to which a pointer was found) are not shown. ==12208== To see them, rerun with: --leak-check=full --show-reachable=yes ==12207== ==12207== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) ==12207== malloc/free: in use at exit: 110,459 bytes in 729 blocks. ==12207== malloc/free: 2,468 allocs, 1,739 frees, 258,483 bytes allocated. ==12207== For counts of detected errors, rerun with: -v ==12207== searching for pointers to 729 not-freed blocks. ==12207== checked 490,448 bytes. ==12207== ==12207== 6,163 (1,045 direct, 5,118 indirect) bytes in 5 blocks are definitely lost in loss record 6 of 11 ==12207== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==12207== by 0x43A402: (within /bin/tcsh) ==12207== by 0x440B49: (within /bin/tcsh) ==12207== by 0x4072E5: (within /bin/tcsh) ==12207== by 0x408D22: (within /bin/tcsh) ==12207== by 0x405953: (within /bin/tcsh) ==12207== by 0x52C1B53: (below main) (in /lib64/libc-2.6.1.so) ==12207== ==12207== LEAK SUMMARY: ==12207== definitely lost: 1,045 bytes in 5 blocks. ==12207== indirectly lost: 5,118 bytes in 112 blocks. ==12207== possibly lost: 0 bytes in 0 blocks. ==12207== still reachable: 104,296 bytes in 612 blocks. ==12207== suppressed: 0 bytes in 0 blocks. ==12207== Reachable blocks (those to which a pointer was found) are not shown. ==12207== To see them, rerun with: --leak-check=full --show-reachable=yes *** glibc detected *** ../torrey: double free or corruption (!prev): 0x000000000100fbc0 *** ======= Backtrace: ========= /lib/../lib64/libc.so.6[0x2ab867a7f21d] /lib/../lib64/libc.so.6(cfree+0x76)[0x2ab867a80f76] ../torrey[0x41523e] ../torrey(__gxx_personality_v0+0x373)[0x411bf3] /lib/../lib64/libc.so.6(__libc_start_main+0xf4)[0x2ab867a2eb54] ../torrey(__gxx_personality_v0+0x129)[0x4119a9] ======= Memory map: ======== 00400000-00deb000 r-xp 00000000 08:03 3630324 /home/jochen/code/TORREY/torrey 00feb000-00fed000 r-xp 009eb000 08:03 3630324 /home/jochen/code/TORREY/torrey 00fed000-00ff8000 rwxp 009ed000 08:03 3630324 /home/jochen/code/TORREY/torrey 00ff8000-0113b000 rwxp 00ff8000 00:00 0 [heap] 2ab865992000-2ab8659ae000 r-xp 00000000 08:02 2567073 /lib64/ld-2.6.1.so 2ab8659ae000-2ab8659b0000 rwxp 2ab8659ae000 00:00 0 2ab865bad000-2ab865baf000 rwxp 0001b000 08:02 2567073 /lib64/ld-2.6.1.so 2ab865baf000-2ab865cdf000 r-xp 00000000 08:02 2333306 /usr/lib64/libX11.so.6.2.0 2ab865cdf000-2ab865edf000 ---p 00130000 08:02 2333306 /usr/lib64/libX11.so.6.2.0 2ab865edf000-2ab865ee5000 rwxp 00130000 08:02 2333306 /usr/lib64/libX11.so.6.2.0 2ab865ee5000-2ab865ef9000 r-xp 00000000 08:02 2560915 /lib64/libnsl-2.6.1.so 2ab865ef9000-2ab8660f8000 ---p 00014000 08:02 2560915 /lib64/libnsl-2.6.1.so 2ab8660f8000-2ab8660fa000 rwxp 00013000 08:02 2560915 /lib64/libnsl-2.6.1.so 2ab8660fa000-2ab8660fd000 rwxp 2ab8660fa000 00:00 0 2ab8660fd000-2ab866105000 r-xp 00000000 08:02 2560934 /lib64/librt-2.6.1.so 2ab866105000-2ab866304000 ---p 00008000 08:02 2560934 /lib64/librt-2.6.1.so 2ab866304000-2ab866306000 rwxp 00007000 08:02 2560934 /lib64/librt-2.6.1.so 2ab866306000-2ab86695f000 r-xp 00000000 08:02 410420 /opt/intel/mkl/9.1.023/lib/em64t/libmkl_lapack.so 2ab86695f000-2ab866a5e000 ---p 00659000 08:02 410420 /opt/intel/mkl/9.1.023/lib/em64t/libmkl_lapack.so 2ab866a5e000-2ab866a69000 rwxp 00658000 08:02 410420 /opt/intel/mkl/9.1.023/lib/em64t/libmkl_lapack.so 2ab866a69000-2ab866ac2000 r-xp 00000000 08:02 410412 /opt/intel/mkl/9.1.023/lib/em64t/libguide.so 2ab866ac2000-2ab866bc1000 ---p 00059000 08:02 410412 /opt/intel/mkl/9.1.023/lib/em64t/libguide.so 2ab866bc1000-2ab866bc5000 rwxp 00058000 08:02 410412 /opt/intel/mkl/9.1.023/lib/em64t/libguide.so 2ab866bc5000-2ab866bcc000 rwxp 2ab866bc5000 00:00 0 2ab866bcc000-2ab866be1000 r-xp 00000000 08:02 2560930 /lib64/libpthread-2.6.1.so 2ab866be1000-2ab866de1000 ---p 00015000 08:02 2560930 /lib64/libpthread-2.6.1.so 2ab866de1000-2ab866de3000 rwxp 00015000 08:02 2560930 /lib64/libpthread-2.6.1.so 2ab866de3000-2ab866de7000 rwxp 2ab866de3000 00:00 0 2ab866de7000-2ab866de9000 r-xp 00000000 08:02 2560910 /lib64/libdl-2.6.1.so 2ab866de9000-2ab866fe9000 ---p 00002000 08:02 2560910 /lib64/libdl-2.6.1.so 2ab866fe9000-2ab866feb000 rwxp 00002000 08:02 2560910 /lib64/libdl-2.6.1.so 2ab866feb000-2ab866ff8000 r-xp 00000000 08:02 2560985 /lib64/libgcc_s.so.1 2ab866ff8000-2ab8671f7000 ---p 0000d000 08:02 2560985 /lib64/libgcc_s.so.1 2ab8671f7000-2ab8671f9000 rwxp 0000c000 08:02 2560985 /lib64/libgcc_s.so.1 2ab8671f9000-2ab8671fa000 rwxp 2ab8671f9000 00:00 0 2ab8671fa000-2ab8672b4000 r-xp 00000000 08:02 2333126 /usr/lib64/libgfortran.so.2.0.0 2ab8672b4000-2ab8674b3000 ---p 000ba000 08:02 2333126 /usr/lib64/libgfortran.so.2.0.0 2ab8674b3000-2ab8674b5000 rwxp 000b9000 08:02 2333126 /usr/lib64/libgfortran.so.2.0.0 2ab8674b5000-2ab867507000 r-xp 00000000 08:02 2560912 /lib64/libm-2.6.1.so 2ab867507000-2ab867706000 ---p 00052000 08:02 2560912 /lib64/libm-2.6.1.so 2ab867706000-2ab867708000 rwxp 00051000 08:02 2560912 /lib64/libm-2.6.1.so 2ab867708000-2ab8677f4000 r-xp 00000000 08:02 2333496 /usr/lib64/libstdc++.so.6.0.9 2ab8677f4000-2ab8679f4000 ---p 000ec000 08:02 2333496 /usr/lib64/libstdc++.so.6.0.9 2ab8679f4000-2ab8679fa000 r-xp 000ec000 08:02 2333496 /usr/lib64/libstdc++.so.6.0.9 2ab8679fa000-2ab8679fd000 rwxp 000f2000 08:02 2333496 /usr/lib64/libstdc++.so.6.0.9 2ab8679fd000-2ab867a11000 rwxp 2ab8679fd000 00:00 0 2ab867a11000-2ab867b4d000 r-xp 00000000 08:02 2560904 /lib64/libc-2.6.1.so 2ab867b4d000-2ab867d4c000 ---p 0013c000 08:02 2560904 /lib64/libc-2.6.1.so 2ab867d4c000-2ab867d4f000 r-xp 0013b000 08:02 2560904 /lib64/libc-2.6.1.so 2ab867d4f000-2ab867d51000 rwxp 0013e000 08:02 2560904 /lib64/libc-2.6.1.so 2ab867d51000-2ab867d57000 rwxp 2ab867d51000 00:00 0 2ab867d7a000-2ab867d7b000 r-xp 00000000 08:02 2332796 /usr/lib64/libxcb-xlib.so.0.0.0 2ab867d7b000-2ab867f7a000 ---p 00001000 08:02 2332796 /usr/lib64/libxcb-xlib.so.0.0.0 2ab867f7a000-2ab867f7c000 rwxp 00000000 08:02 2332796 /usr/lib64/libxcb-xlib.so.0.0.0 2ab867f7c000-2ab867f97000 r-xp 00000000 08:02 2332806 /usr/lib64/libxcb.so.1.0.0 2ab867f97000-2ab868196000 ---p 0001b000 08:02 2332806 /usr/lib64/libxcb.so.1.0.0 2ab868196000-2ab868198000 rwxp 0001a000 08:02 2332806 /usr/lib64/libxcb.so.1.0.0 2ab868198000-2ab868199000 rwxp 2ab868198000 00:00 0 2ab868199000-2ab86819b000 r-xp 00000000 08:02 2332648 /usr/lib64/libXau.so.6.0.0 2ab86819b000-2ab86839a000 ---p 00002000 08:02 2332648 /usr/lib64/libXau.so.6.0.0 2ab86839a000-2ab86839c000 rwxp 00001000 08:02 2332648 /usr/lib64/libXau.so.6.0.0 2ab86839c000-2ab86839e000 rwxp 2ab86839c000 00:00 0 2ab86c000000-2ab86c021000 rwxp 2ab86c000000 00:00 0 2ab86c021000-2ab870000000 ---p 2ab86c021000 00:00 0 7fff45102000-7fff45118000 rwxp 7fff45102000 00:00 0 [stack] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vdso] [0]0:Return code = 0, signaled with Aborted ==12182== ==12182== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) ==12182== malloc/free: in use at exit: 109,118 bytes in 708 blocks. ==12182== malloc/free: 2,476 allocs, 1,768 frees, 258,631 bytes allocated. ==12182== For counts of detected errors, rerun with: -v ==12182== searching for pointers to 708 not-freed blocks. ==12182== checked 488,000 bytes. ==12182== ==12182== 5,773 (1,020 direct, 4,753 indirect) bytes in 4 blocks are definitely lost in loss record 5 of 10 ==12182== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==12182== by 0x43A402: (within /bin/tcsh) ==12182== by 0x440B49: (within /bin/tcsh) ==12182== by 0x4072E5: (within /bin/tcsh) ==12182== by 0x408D22: (within /bin/tcsh) ==12182== by 0x405953: (within /bin/tcsh) ==12182== by 0x52C1B53: (below main) (in /lib64/libc-2.6.1.so) ==12182== ==12182== LEAK SUMMARY: ==12182== definitely lost: 1,020 bytes in 4 blocks. ==12182== indirectly lost: 4,753 bytes in 103 blocks. ==12182== possibly lost: 0 bytes in 0 blocks. ==12182== still reachable: 103,345 bytes in 601 blocks. ==12182== suppressed: 0 bytes in 0 blocks. ==12182== Reachable blocks (those to which a pointer was found) are not shown. ==12182== To see them, rerun with: --leak-check=full --show-reachable=yes