Re: problem with LEAKS and the stack trace
Re: problem with LEAKS and the stack trace
- Subject: Re: problem with LEAKS and the stack trace
- From: Greg Guerin <email@hidden>
- Date: Sat, 23 May 2009 15:27:10 -0700
Nathan Smyth wrote:
Process 21182: 3526 nodes malloced for 2602 KB
Process 21182: 25 leaks for 448 total leaked bytes.
Leak: 0x701170 size=32 string '/tmp/.s.PGSQL.5432.lock'
Leak: 0x71d610 size=32 string 'investigation_ended'
Leak: 0x71d960 size=32 string 'under_investigation'
....
The issue is that I can't get to the stack trace to find out where
these occur!
Don't panic!
Some of them you might be able to find from the displayed value. For
example, the two strings 'investigation_ended' and
'under_investigation' you may be findable using a global search of
the source in your project. They don't seem like built-at-runtime
strings, so the text should show up verbatim in the source, but I'm
just guessing. You might have to search for the individual words
"investigation", "ended", and/or "under" near one another.
The '/tmp/.s.PGSQL.5432.lock' string looks like a file pathname built
at runtime. You might be able to figure it out by breaking it down
and applying some google-fu. For example, when I enter the
distinctive parts of the string as google search terms, it seems
likely to be a postgresql lock file. This suggests looking at your
uses of postgresql or locks.
Google search terms I used:
PGSQL lock file
I'm not sure what to make of "448 total leaked bytes". That doesn't
seem like "a LOT" to me, but I can't tell if the 448 bytes are the
entire problem, or if they're just a small representative example of
what really does add up to "a lot".
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden