LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Due What this mem leak occurring (https://www.linuxquestions.org/questions/linux-software-2/due-what-this-mem-leak-occurring-750024/)

kbarani 08-25-2009 01:01 AM

Due What this mem leak occurring
 
Hi all,
In my c++ application , in the fedora-core2 operating system, i am try to find the memory leak using the valgrind , the valgrind report as follows , please give an idea, due what factor the following memory leak occurring.

==16260== 8752 bytes in 5 blocks are possibly lost in loss record 78 of 81
==16260== at 0x1B904BF7: operator new(unsigned) (vg_replace_malloc.c:133)
==16260== by 0x180B5A: std::__default_alloc_template<true, 0>::_S_chunk_alloc(unsigned, int&) (in /usr/lib/libstdc++.so.5.0.5)
==16260== by 0x180A6C: std::__default_alloc_template<true, 0>::_S_refill(unsigned) (in /usr/lib/libstdc++.so.5.0.5)
==16260== by 0x180767: std::__default_alloc_template<true, 0>::allocate(unsigned) (in /usr/lib/libstdc++.so.5.0.5)


Thanks,
K Barani

TB0ne 08-25-2009 08:56 AM

Quote:

Originally Posted by kbarani (Post 3656363)
Hi all,
In my c++ application , in the fedora-core2 operating system, i am try to find the memory leak using the valgrind , the valgrind report as follows , please give an idea, due what factor the following memory leak occurring.

==16260== 8752 bytes in 5 blocks are possibly lost in loss record 78 of 81
==16260== at 0x1B904BF7: operator new(unsigned) (vg_replace_malloc.c:133)
==16260== by 0x180B5A: std::__default_alloc_template<true, 0>::_S_chunk_alloc(unsigned, int&) (in /usr/lib/libstdc++.so.5.0.5)
==16260== by 0x180A6C: std::__default_alloc_template<true, 0>::_S_refill(unsigned) (in /usr/lib/libstdc++.so.5.0.5)
==16260== by 0x180767: std::__default_alloc_template<true, 0>::allocate(unsigned) (in /usr/lib/libstdc++.so.5.0.5)


Thanks,
K Barani

Don't post the same question multiple times.

pixellany 08-25-2009 10:52 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 09:30 PM.