Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: Evan on March 14, 2026, 03:18:53 pm
-
I'm testing my C99 code, that seems to run as intended and I'm using valgrind-3.22.0. on Linux Mint 22.3 and Code::Blocks Build: 2024-03-31
command: valgrind --leak-check=full --track-origins=yes --xml=yes
-------------- Application output --------------
I hope that means no memory leaks and my System Monitor is not showing any leaks/peaks.
Cachegrind however gives a message: brk segment overflow in thread #1: can't grow to 0x4856000
valgrind --version
valgrind-3.22.0
valgrind --tool=cachegrind "/home/C/Test/bin/Debug/Test"
==33537== Cachegrind, a high-precision tracing profiler
==33537== Copyright (C) 2002-2017, and GNU GPL'd, by Nicholas Nethercote et al.
==33537== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
==33537== Command: /home/C/Test/bin/Debug/Kalechen
==33537==
==33537== brk segment overflow in thread #1: can't grow to 0x4856000
==33537== (see section Limitations in user manual)
==33537== NOTE: further instances of this message will not be shown
==33537==
==33537== I refs: 5,078,382,897
Any help is appreciated?