Ok.
Thanks
Il 07/09/23 16:42, Floyd, Paul ha scritto:
On 07/09/2023 15:52, Domenico Panella wrote:
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.
Hi
There's not a lot to see in your log.
==17348== Warning: invalid file descriptor 1024 in syscall close()
Your exe is probably trying to ensure all file descriptors are closed.
You should probably use getrlimit() to query the upper limit rather
than assume anything. Exes under Valgrind have a slighly lower limit
because Valgrind uses some file descriptors itself (e.g., its log file).
==17342== in use at exit: 31,808 bytes in 474 blocks
A bit of memory that you might be able to free. If you are concerned,
do what the ouput says and add --leak-check=full --show-leak-kinds=all
A+
Paul
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users