Using Valgrind in CLion with static library in project

I would like to run my c program with Valgrind. However, I am using the Gurobi c interface (static library). 

When trying to run my program with valgrind in CLion, i get the following assertion:

valgrind: m_debuginfo/debuginfo.c:452 (void discard_or_archive_DebugInfo(DebugInfo *)): Assertion 'is_DebugInfo_active(di)' failed.

 

Is there any way to work around this? 

0
3 comments

Hello! What OS and what Valgrind version do you use? Maybe you're facing https://bugs.kde.org/show_bug.cgi?id=393146? Is it possible to try workaround from it?

0

I am using OS High Sierra, and am using the gurobi optimizer c static library in my code

0

How have you installed Valgrind? Have you installed it via Homebrew?

What Valgrind version do you use? 

Have you tried the workaround from https://bugs.kde.org/show_bug.cgi?id=393146?

0

Please sign in to leave a comment.