|
From: Kartik K. <nxw...@gm...> - 2011-06-22 11:32:50
|
Hi all, I've been struggling to get Valgrind to work with Mac OS 10.6.7 Snow Leopard but I think I managed it in the end by following the instructions on this webpage: https://trac.macports.org/ticket/28572. When I run Valgrind now it seems to be picking up leaks that I introduce into my program, so it passes that litmus test. In addition though, there's a suppressed error as well. I'm guessing that the suppression error is due to the patch I used to get Valgrind running on Snow Leopard, but I want to make sure. When I run valgrind with the "-v" option, it spits out the following at the end: --12237-- used_suppression: 1 libSystem-keymgr-leak-at-exit I've tried to google what this libSystem actually is but can't really figure it out. Is this an insignificant error that I can ignore? Or is it something that I should pay attention to? How do I resolve that this error occurs in the first place? I'm bit of a novice using Valgrind so please bear with me if my questions seem elementary. I hope someone can help me out. Thanks in advance! Kartik |
|
From: Nicholas N. <n.n...@gm...> - 2011-06-25 21:18:28
|
On Wed, Jun 22, 2011 at 9:32 PM, Kartik Kumar <nxw...@gm...> wrote: > When I run valgrind with the "-v" option, it spits out the following at the > end: > --12237-- used_suppression: 1 libSystem-keymgr-leak-at-exit > I've tried to google what this libSystem actually is but can't really figure > it out. > Is this an insignificant error that I can ignore? Or is it something that I > should pay attention to? It's a leak in the Mac OS X libraries which you can't control. That's why it's suppressed. You can ignore it. All the systems Valgrind runs on has some basic suppressions for library errors like this. It's from the darwin10.supp file Nick |