Hi,
I attached a valgrind log for my program.
I'd want an help to read it to understand if any error are there or not.
I don't think so but a confirm is much better.
Thanks
==17327== Memcheck, a memory error detector
==17327== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==17327== Using Valgrind-3.21.0 and LibVEX; rerun with -h for copyright info
==17327== Command: upkg-repodb -fsa *.upkg
==17327== Parent PID: 5236
==17327==
==17329== Warning: invalid file descriptor 1024 in syscall close()
==17329== Warning: invalid file descriptor 1025 in syscall close()
==17329== Warning: invalid file descriptor 1026 in syscall close()
==17329== Warning: invalid file descriptor 1027 in syscall close()
==17329== Use --log-fd=<number> to select an alternative log fd.
==17329== Warning: invalid file descriptor 1028 in syscall close()
==17329== Warning: invalid file descriptor 1029 in syscall close()
==17328==
==17328== HEAP SUMMARY:
==17328== in use at exit: 11,375 bytes in 351 blocks
==17328== total heap usage: 1,212 allocs, 861 frees, 3,732,286 bytes allocated
==17328==
==17328== LEAK SUMMARY:
==17328== definitely lost: 0 bytes in 0 blocks
==17328== indirectly lost: 0 bytes in 0 blocks
==17328== possibly lost: 0 bytes in 0 blocks
==17328== still reachable: 11,375 bytes in 351 blocks
==17328== suppressed: 0 bytes in 0 blocks
==17328== Reachable blocks (those to which a pointer was found) are not shown.
==17328== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17328==
==17328== For lists of detected and suppressed errors, rerun with: -s
==17328== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17331== Warning: invalid file descriptor 1024 in syscall close()
==17331== Warning: invalid file descriptor 1025 in syscall close()
==17331== Warning: invalid file descriptor 1026 in syscall close()
==17331== Warning: invalid file descriptor 1027 in syscall close()
==17331== Use --log-fd=<number> to select an alternative log fd.
==17331== Warning: invalid file descriptor 1028 in syscall close()
==17331== Warning: invalid file descriptor 1029 in syscall close()
==17330==
==17330== HEAP SUMMARY:
==17330== in use at exit: 11,615 bytes in 362 blocks
==17330== total heap usage: 1,223 allocs, 861 frees, 3,732,526 bytes allocated
==17330==
==17330== LEAK SUMMARY:
==17330== definitely lost: 0 bytes in 0 blocks
==17330== indirectly lost: 0 bytes in 0 blocks
==17330== possibly lost: 0 bytes in 0 blocks
==17330== still reachable: 11,615 bytes in 362 blocks
==17330== suppressed: 0 bytes in 0 blocks
==17330== Reachable blocks (those to which a pointer was found) are not shown.
==17330== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17330==
==17330== For lists of detected and suppressed errors, rerun with: -s
==17330== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17333== Warning: invalid file descriptor 1024 in syscall close()
==17333== Warning: invalid file descriptor 1025 in syscall close()
==17333== Warning: invalid file descriptor 1026 in syscall close()
==17333== Warning: invalid file descriptor 1027 in syscall close()
==17333== Use --log-fd=<number> to select an alternative log fd.
==17333== Warning: invalid file descriptor 1028 in syscall close()
==17333== Warning: invalid file descriptor 1029 in syscall close()
==17332==
==17332== HEAP SUMMARY:
==17332== in use at exit: 11,644 bytes in 364 blocks
==17332== total heap usage: 1,225 allocs, 861 frees, 3,732,555 bytes allocated
==17332==
==17332== LEAK SUMMARY:
==17332== definitely lost: 0 bytes in 0 blocks
==17332== indirectly lost: 0 bytes in 0 blocks
==17332== possibly lost: 0 bytes in 0 blocks
==17332== still reachable: 11,644 bytes in 364 blocks
==17332== suppressed: 0 bytes in 0 blocks
==17332== Reachable blocks (those to which a pointer was found) are not shown.
==17332== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17332==
==17332== For lists of detected and suppressed errors, rerun with: -s
==17332== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17335== Warning: invalid file descriptor 1024 in syscall close()
==17335== Warning: invalid file descriptor 1025 in syscall close()
==17335== Warning: invalid file descriptor 1026 in syscall close()
==17335== Warning: invalid file descriptor 1027 in syscall close()
==17335== Use --log-fd=<number> to select an alternative log fd.
==17335== Warning: invalid file descriptor 1028 in syscall close()
==17335== Warning: invalid file descriptor 1029 in syscall close()
==17334==
==17334== HEAP SUMMARY:
==17334== in use at exit: 11,713 bytes in 367 blocks
==17334== total heap usage: 1,228 allocs, 861 frees, 3,732,624 bytes allocated
==17334==
==17334== LEAK SUMMARY:
==17334== definitely lost: 0 bytes in 0 blocks
==17334== indirectly lost: 0 bytes in 0 blocks
==17334== possibly lost: 0 bytes in 0 blocks
==17334== still reachable: 11,713 bytes in 367 blocks
==17334== suppressed: 0 bytes in 0 blocks
==17334== Reachable blocks (those to which a pointer was found) are not shown.
==17334== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17334==
==17334== For lists of detected and suppressed errors, rerun with: -s
==17334== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17337== Warning: invalid file descriptor 1024 in syscall close()
==17337== Warning: invalid file descriptor 1025 in syscall close()
==17337== Warning: invalid file descriptor 1026 in syscall close()
==17337== Warning: invalid file descriptor 1027 in syscall close()
==17337== Use --log-fd=<number> to select an alternative log fd.
==17337== Warning: invalid file descriptor 1028 in syscall close()
==17337== Warning: invalid file descriptor 1029 in syscall close()
==17336==
==17336== HEAP SUMMARY:
==17336== in use at exit: 11,783 bytes in 370 blocks
==17336== total heap usage: 1,231 allocs, 861 frees, 3,732,694 bytes allocated
==17336==
==17336== LEAK SUMMARY:
==17336== definitely lost: 0 bytes in 0 blocks
==17336== indirectly lost: 0 bytes in 0 blocks
==17336== possibly lost: 0 bytes in 0 blocks
==17336== still reachable: 11,783 bytes in 370 blocks
==17336== suppressed: 0 bytes in 0 blocks
==17336== Reachable blocks (those to which a pointer was found) are not shown.
==17336== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17336==
==17336== For lists of detected and suppressed errors, rerun with: -s
==17336== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17339== Warning: invalid file descriptor 1024 in syscall close()
==17339== Warning: invalid file descriptor 1025 in syscall close()
==17339== Warning: invalid file descriptor 1026 in syscall close()
==17339== Warning: invalid file descriptor 1027 in syscall close()
==17339== Use --log-fd=<number> to select an alternative log fd.
==17339== Warning: invalid file descriptor 1028 in syscall close()
==17339== Warning: invalid file descriptor 1029 in syscall close()
==17338==
==17338== HEAP SUMMARY:
==17338== in use at exit: 13,348 bytes in 423 blocks
==17338== total heap usage: 1,284 allocs, 861 frees, 3,734,259 bytes allocated
==17338==
==17338== LEAK SUMMARY:
==17338== definitely lost: 0 bytes in 0 blocks
==17338== indirectly lost: 0 bytes in 0 blocks
==17338== possibly lost: 0 bytes in 0 blocks
==17338== still reachable: 13,348 bytes in 423 blocks
==17338== suppressed: 0 bytes in 0 blocks
==17338== Reachable blocks (those to which a pointer was found) are not shown.
==17338== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17338==
==17338== For lists of detected and suppressed errors, rerun with: -s
==17338== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17341== Warning: invalid file descriptor 1024 in syscall close()
==17341== Warning: invalid file descriptor 1025 in syscall close()
==17341== Warning: invalid file descriptor 1026 in syscall close()
==17341== Warning: invalid file descriptor 1027 in syscall close()
==17341== Use --log-fd=<number> to select an alternative log fd.
==17341== Warning: invalid file descriptor 1028 in syscall close()
==17341== Warning: invalid file descriptor 1029 in syscall close()
==17340==
==17340== HEAP SUMMARY:
==17340== in use at exit: 24,147 bytes in 476 blocks
==17340== total heap usage: 1,341 allocs, 865 frees, 3,745,097 bytes allocated
==17340==
==17340== LEAK SUMMARY:
==17340== definitely lost: 0 bytes in 0 blocks
==17340== indirectly lost: 0 bytes in 0 blocks
==17340== possibly lost: 0 bytes in 0 blocks
==17340== still reachable: 24,147 bytes in 476 blocks
==17340== suppressed: 0 bytes in 0 blocks
==17340== Reachable blocks (those to which a pointer was found) are not shown.
==17340== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17340==
==17340== For lists of detected and suppressed errors, rerun with: -s
==17340== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17343== Warning: invalid file descriptor 1024 in syscall close()
==17343== Warning: invalid file descriptor 1025 in syscall close()
==17343== Warning: invalid file descriptor 1026 in syscall close()
==17343== Warning: invalid file descriptor 1027 in syscall close()
==17343== Use --log-fd=<number> to select an alternative log fd.
==17343== Warning: invalid file descriptor 1028 in syscall close()
==17343== Warning: invalid file descriptor 1029 in syscall close()
==17342==
==17342== HEAP SUMMARY:
==17342== in use at exit: 31,808 bytes in 474 blocks
==17342== total heap usage: 1,422 allocs, 948 frees, 3,762,499 bytes allocated
==17342==
==17342== LEAK SUMMARY:
==17342== definitely lost: 0 bytes in 0 blocks
==17342== indirectly lost: 0 bytes in 0 blocks
==17342== possibly lost: 0 bytes in 0 blocks
==17342== still reachable: 31,808 bytes in 474 blocks
==17342== suppressed: 0 bytes in 0 blocks
==17342== Reachable blocks (those to which a pointer was found) are not shown.
==17342== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17342==
==17342== For lists of detected and suppressed errors, rerun with: -s
==17342== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17346== Warning: invalid file descriptor 1024 in syscall close()
==17346== Warning: invalid file descriptor 1025 in syscall close()
==17346== Warning: invalid file descriptor 1026 in syscall close()
==17346== Warning: invalid file descriptor 1027 in syscall close()
==17346== Use --log-fd=<number> to select an alternative log fd.
==17346== Warning: invalid file descriptor 1028 in syscall close()
==17346== Warning: invalid file descriptor 1029 in syscall close()
==17345==
==17345== HEAP SUMMARY:
==17345== in use at exit: 31,846 bytes in 470 blocks
==17345== total heap usage: 1,489 allocs, 1,019 frees, 3,770,781 bytes allocated
==17345==
==17345== LEAK SUMMARY:
==17345== definitely lost: 0 bytes in 0 blocks
==17345== indirectly lost: 0 bytes in 0 blocks
==17345== possibly lost: 0 bytes in 0 blocks
==17345== still reachable: 31,846 bytes in 470 blocks
==17345== suppressed: 0 bytes in 0 blocks
==17345== Reachable blocks (those to which a pointer was found) are not shown.
==17345== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17345==
==17345== For lists of detected and suppressed errors, rerun with: -s
==17345== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17348== Warning: invalid file descriptor 1024 in syscall close()
==17348== Warning: invalid file descriptor 1025 in syscall close()
==17348== Warning: invalid file descriptor 1026 in syscall close()
==17348== Warning: invalid file descriptor 1027 in syscall close()
==17348== Use --log-fd=<number> to select an alternative log fd.
==17348== Warning: invalid file descriptor 1028 in syscall close()
==17348== Warning: invalid file descriptor 1029 in syscall close()
==17347==
==17347== HEAP SUMMARY:
==17347== in use at exit: 22,018 bytes in 624 blocks
==17347== total heap usage: 2,165 allocs, 1,541 frees, 6,765,585 bytes allocated
==17347==
==17347== LEAK SUMMARY:
==17347== definitely lost: 0 bytes in 0 blocks
==17347== indirectly lost: 0 bytes in 0 blocks
==17347== possibly lost: 0 bytes in 0 blocks
==17347== still reachable: 22,018 bytes in 624 blocks
==17347== suppressed: 0 bytes in 0 blocks
==17347== Reachable blocks (those to which a pointer was found) are not shown.
==17347== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17347==
==17347== For lists of detected and suppressed errors, rerun with: -s
==17347== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17350== Warning: invalid file descriptor 1024 in syscall close()
==17350== Warning: invalid file descriptor 1025 in syscall close()
==17350== Warning: invalid file descriptor 1026 in syscall close()
==17350== Warning: invalid file descriptor 1027 in syscall close()
==17350== Use --log-fd=<number> to select an alternative log fd.
==17350== Warning: invalid file descriptor 1028 in syscall close()
==17350== Warning: invalid file descriptor 1029 in syscall close()
==17349==
==17349== HEAP SUMMARY:
==17349== in use at exit: 30,513 bytes in 675 blocks
==17349== total heap usage: 2,220 allocs, 1,545 frees, 6,774,119 bytes allocated
==17349==
==17349== LEAK SUMMARY:
==17349== definitely lost: 0 bytes in 0 blocks
==17349== indirectly lost: 0 bytes in 0 blocks
==17349== possibly lost: 0 bytes in 0 blocks
==17349== still reachable: 30,513 bytes in 675 blocks
==17349== suppressed: 0 bytes in 0 blocks
==17349== Reachable blocks (those to which a pointer was found) are not shown.
==17349== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17349==
==17349== For lists of detected and suppressed errors, rerun with: -s
==17349== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17352== Warning: invalid file descriptor 1024 in syscall close()
==17352== Warning: invalid file descriptor 1025 in syscall close()
==17352== Warning: invalid file descriptor 1026 in syscall close()
==17352== Warning: invalid file descriptor 1027 in syscall close()
==17352== Use --log-fd=<number> to select an alternative log fd.
==17352== Warning: invalid file descriptor 1028 in syscall close()
==17352== Warning: invalid file descriptor 1029 in syscall close()
==17351==
==17351== HEAP SUMMARY:
==17351== in use at exit: 38,175 bytes in 673 blocks
==17351== total heap usage: 2,301 allocs, 1,628 frees, 6,791,523 bytes allocated
==17351==
==17351== LEAK SUMMARY:
==17351== definitely lost: 0 bytes in 0 blocks
==17351== indirectly lost: 0 bytes in 0 blocks
==17351== possibly lost: 0 bytes in 0 blocks
==17351== still reachable: 38,175 bytes in 673 blocks
==17351== suppressed: 0 bytes in 0 blocks
==17351== Reachable blocks (those to which a pointer was found) are not shown.
==17351== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17351==
==17351== For lists of detected and suppressed errors, rerun with: -s
==17351== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17356== Warning: invalid file descriptor 1024 in syscall close()
==17356== Warning: invalid file descriptor 1025 in syscall close()
==17356== Warning: invalid file descriptor 1026 in syscall close()
==17356== Warning: invalid file descriptor 1027 in syscall close()
==17356== Use --log-fd=<number> to select an alternative log fd.
==17356== Warning: invalid file descriptor 1028 in syscall close()
==17356== Warning: invalid file descriptor 1029 in syscall close()
==17355==
==17355== HEAP SUMMARY:
==17355== in use at exit: 38,213 bytes in 669 blocks
==17355== total heap usage: 2,368 allocs, 1,699 frees, 6,799,805 bytes allocated
==17355==
==17355== LEAK SUMMARY:
==17355== definitely lost: 0 bytes in 0 blocks
==17355== indirectly lost: 0 bytes in 0 blocks
==17355== possibly lost: 0 bytes in 0 blocks
==17355== still reachable: 38,213 bytes in 669 blocks
==17355== suppressed: 0 bytes in 0 blocks
==17355== Reachable blocks (those to which a pointer was found) are not shown.
==17355== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17355==
==17355== For lists of detected and suppressed errors, rerun with: -s
==17355== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==17327==
==17327== HEAP SUMMARY:
==17327== in use at exit: 3,167 bytes in 35 blocks
==17327== total heap usage: 3,200 allocs, 3,165 frees, 8,914,673 bytes allocated
==17327==
==17327== LEAK SUMMARY:
==17327== definitely lost: 0 bytes in 0 blocks
==17327== indirectly lost: 0 bytes in 0 blocks
==17327== possibly lost: 0 bytes in 0 blocks
==17327== still reachable: 3,167 bytes in 35 blocks
==17327== suppressed: 0 bytes in 0 blocks
==17327== Reachable blocks (those to which a pointer was found) are not shown.
==17327== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17327==
==17327== For lists of detected and suppressed errors, rerun with: -s
==17327== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users