https://bugs.kde.org/show_bug.cgi?id=474443
Bug ID: 474443 Summary: run valgrind with --leak-check=full and --show-leak-kinds=all or without the 2 leak options enfluence error summary. Classification: Developer tools Product: valgrind Version: 3.21.0 Platform: Archlinux OS: Linux Status: REPORTED Severity: critical Priority: NOR Component: memcheck Assignee: jsew...@acm.org Reporter: j...@gwxeda.com Target Milestone: --- SUMMARY My program used malloc/calloc/realloc of system call and run on amd64 machine of CetOS7.9.2009, which compiles and links to be either a dynamic lib and envoked from a binary or a binary. For the output dynamic library: when I ran valgrind, flagd "Valgrind-3.21.0-d97fed7c3e-20230428 and LibVEX" as "valgrind --tool=memcheck -v --trace-children=yes --track-origins=yes --log-file=val.log --error-limit=no <my running scripts, which called a binary and link to my dynamic lib>", I got the valgrind report with ERROR SUMMARY with 6 errors from 4 contexts there are 4 contexts detail call stacks in the log file; but if I ran "valgrind --tool=memcheck -v --trace-children=yes --track-origins=yes --log-file=val.log --error-limit=no --leak-check=full and --show-leak-kinds=all <my running scripts>", I got the valgrind report with ERROR SUMMARY with 378 errors from 376 contexts but again there are only 4 contexts detail call stacks in the log file! For the output binary: I ran like above ways, for some test cases I even got 0 ERROR SYMMARY without "--leak-check=full and --show-leak-kinds=all" but I got number(>0) ERROR SYMMARY with "--leak-check=full and --show-leak-kinds=all" but without any details about the error context. And for other many test cases, no above issue. STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.