Package: valgrind
Version: 1:3.12.0~svn20160714-1+b1
Severity: normal
Dear Maintainer,
I discovered that in latest version available in testing, Valgrind's Callgrind
started to output a lot of annoying warnings which practically hides out
the important information.
Does not happen in e.g. memcheck or DRD.
Consider the following:
-------------------8<------------------
$ cat main.cpp
#include <vector>
#include <iostream>
int main()
{
std::size_t total = 0;
std::vector<char*> v;
for (std::size_t i = 0; i < 10000; ++i)
{
v.push_back(new char[i]);
total += i;
if (i % 1000 == 0)
std::cout << "Allocated: " << total << std::endl;
}
for (auto e: v)
{
delete[] e;
}
}
$ cat Makefile
all:
g++ -O2 -Wall main.cpp -o main.e
$ valgrind --tool=callgrind ./main.e
==32597== Callgrind, a call-graph generating cache profiler
==32597== Copyright (C) 2002-2015, and GNU GPL'd, by Josef Weidendorfer et al.
==32597== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info
==32597== Command: ./main.e
==32597==
==32597== For interactive control, run 'callgrind_control -h'.
Allocated: 0
Allocated: 500500
Allocated: 2001000
Allocated: 4501500
Allocated: 8002000
==32597== brk segment overflow in thread #1: can't grow to 0x4a3a000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
Allocated: 12502500
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
Allocated: 18003000
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
Allocated: 24503500
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
Allocated: 32004000
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3b000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
Allocated: 40504500
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597== brk segment overflow in thread #1: can't grow to 0x4a3c000
==32597== (see section Limitations in user manual)
==32597==
==32597== Events : Ir
==32597== Collected : 6519616
==32597==
==32597== I refs: 6,519,616
------------------->8------------------
-- System Information:
Debian Release: 8.0
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages valgrind depends on:
ii libc6 2.23-1
ii libc6-dbg 2.23-1
Versions of packages valgrind recommends:
ii gdb 7.7.1+dfsg-5
ii valgrind-dbg 1:3.12.0~svn20160714-1+b1
Versions of packages valgrind suggests:
pn alleyoop <none>
ii kcachegrind 4:4.14.0-1
pn valgrind-mpi <none>
pn valkyrie <none>
-- debconf information excluded