|Oct 11, 2009, 05:43 PM||#1|
Valgrind/memory leak question.
I'm trying to figure out a possible memory leak in my C program. I get the following message from valgrind:
16,020 bytes in 1 blocks are still reachable in loss record 1 of 1
at 0x4A04B32: calloc (vg_replace_malloc.c:279)
by 0x38932D57BF: monstartup (in /lib64/libc-2.5.so)
by 0x400B4B: __gmon_start__ (in "my app".o)
by 0x400B6D: (within "my app".o)
definitely lost: 0 bytes in 0 blocks.
possibly lost: 0 bytes in 0 blocks.
still reachable: 16,020 bytes in 1 blocks.
suppressed: 0 bytes in 0 blocks.
This doesn't seem to happen with any of "my" memory allocation (none of which are of 16020 bytes). Is this leak "my fault" - is there anything I can do about it? It happens quite randomly - I can try to do the excact same operation several times, and it's a 50-50 chance I'll get this error or "No leaks possible".
Any help would be very much appreciated!
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Strange memory problems or memory leak in OS???||OldGuyTom||OS X 10.8 Mountain Lion||12||Oct 11, 2013 01:47 PM|
|Memory Leak||RagingGoat||iPhone/iPad Programming||16||Aug 2, 2013 09:29 PM|
|iPhone: Help with Memory Leak||Stixx31||Jailbreaks and iOS Hacks||9||May 3, 2013 02:56 AM|
|Memory leak||spilakalb||iPhone/iPad Programming||5||Oct 4, 2012 07:15 AM|
|What's a memory leak||3bs||Alternatives to iOS and iOS Devices||10||Sep 16, 2012 05:23 PM|
All times are GMT -5. The time now is 08:39 PM.