Tags » Valgrind

Valgrind - Suppressing CUDA/ZMQ/IPP/OpenMP Errors

Valgrind is great, but it doesn’t recognize some calls like CUDA’s. This means that Valgrind frequently reports these as leaks, even when they are legitimate calls. 389 more words

GPU

Valgrind - Dealing with IPP / AVX Related False Positives

Update: Valgrind 3.11 doesn’t show the AVX errors mentioned below. So if you have the option, upgrading it to 3.11 is probably the better option.  370 more words

C++

Valgrind - Speech of the Flame (Review)

This is the second album from this Italian Death Metal band.

This is USDM-style destruction, influenced by the Florida scene from back in the day. This 90s fixation serves them well and Speech of the Flame offers up 44 minutes of solid Death Metal. 205 more words

Metal

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

Kernel

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);
MPC1Socket.connect(“tcp://localhost:8001);
If (MPC1Socket != NULL) MPC1Socket.close();
If (context != NULL) context.close(); 150 more words
C++

(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