When running my program with valgrind / callgrind I get the following message a lot:
==21734== brk segment overflow in thread #1: can't grow to 0x4a39000
(with different addresses)
Note that it is not preceded by a stack overflow message.
I can't find any documentation on this message and I have no idea what is overflowing exactly.
Can anybody help me figure out what the problem is? Is this a problem of valgrind, or of my program?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…