Tags » Valgrind

Memory leaks and Valgrind

What is a memory leak?

A process leaks memory when it dynamically allocates memory at run time and forgets about the allocation, never using that memory again. 836 more words


ZMQ - Invalid free() / delete / delete[] / realloc() / __libc_freeres error in Valgrind

Below is some simple code with ZMQ.

zmq:context_t context(1);
zmq::socket_t MPC1Socket(context, ZMQ_DEALER);
MPC1Socket.setsockopt(ZMQ_IDENTITY,”test”, 5);
If (MPC1Socket != NULL) MPC1Socket.close();
If (context != NULL) context.close(); 150 more words

(Ubuntu) Using Valgrind to Find Memory Leaks

Valgrind is a memory debugging tool available to Linux based machines. It runs your programs and keeps track of memory usage from calls such as malloc or free. 132 more words

Windows & Linux

The value of valgrind

This weekend I got quite a lot done on liboca, mainly working on the network stack, and the basic implementation of OCP.1, which is the TCP/IP-based protocol for OCA (There is room in the OCA standard for other transports). 540 more words

In Valgrind 33 Advanced Debugging and Profiling for GnuLinux Applications

Copyright (c) 2013 Morgan DCriminal and terrorist profiling ought to be incorporated in mainstream counter- terrorism techniques. Since crime and terrorism has evolved to become a global pandemic cum catastrophe, criminal and terrorist profiling has proven to be a pivotal towards identifying potential threats and countering them where possible. 232 more words

Installing Valgrind on OSX Yosemite

If you are unable to install Valgrind on OSX Yosemite using brew or from source, and have tried everything else, try this.  You may just be missing the VEX dependency because the official svn server is unreachable. 129 more words


Adding Valgrind to build ecosystem

In order to improve cost of software quality of our VoIP recorder product, I will introduce Valgrind, http://www.valgrind.org to our build ecosystem. Up to now, we set up code repository Git to trigger Jenkins ( 256 more words