Can I make valgrind ignore glibc libraries?

Posted by Jack on Stack Overflow See other posts from Stack Overflow or by Jack
Published on 2010-05-24T10:13:51Z Indexed on 2010/05/24 20:41 UTC
Read the original article Hit count: 236

Filed under:
|
|
|

Is it possible to tell valgrind to ignore some set of libraries? Specifically glibc libraries..

Actual Problem: I have some code that runs fine in normal execution. No leaks etc.

When I try to run it through valgrind, I get core dumps and program restarts/stops.

Core usually points to glibc functions (usually fseek, mutex etc). I understand that there might be some issue with incompatible glibc / valgrind version.

I tried various valgrind releases and glibc versions but no luck. Any suggestions?

© Stack Overflow or respective owner

Related posts about c

    Related posts about linux