LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 08-25-2009, 02:01 AM   #1
kbarani
Member
 
Registered: Dec 2008
Posts: 41

Rep: Reputation: 15
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
 
Old 08-25-2009, 09:56 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,315

Rep: Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017
Quote:
Originally Posted by kbarani View Post
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.
 
Old 08-25-2009, 11:52 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
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.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I detect where network problems are occurring? MikeyCarter Linux - Software 5 12-04-2008 02:58 PM
Mem-leak in X?? MasterOfTheWind Linux - Software 2 04-03-2006 03:21 PM
dpkg errors due to bad mem: how to recover? bruno buys Debian 0 08-26-2005 07:39 PM
<string> mem leak help BorisMcHack Programming 3 04-13-2005 02:11 AM
SuSE Pro - Mem leak? mikedeatworld Linux - Software 6 10-26-2004 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration