Skip to content
Advertisement

valgrind on raspberry Pi 2 invalid read by libtasn1

I’m currently trying to find a memory leak with valgrind on my Raspberry pi 2 Model b.

My project is using the following compiler flags

JavaScript

For debugging purposes i have removed all the code in my main function so it looks like:

JavaScript

System uname -a: Linux debuggingpi 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l GNU/Linux

valgrind version: valgrind-3.11.0

The output valgrind gives me: valgrind ./application_name

JavaScript

Can some one tell me what i’m doing wrong?

Advertisement

Answer

Apply this patch for libtasn1: http://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=commitdiff;h=f979435823a02f842c41d49cd41cc81f25b5d677

Advertisement