Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110145 - electric fence says there's a memory leak in libstdc++-v3-3.3.6 when using ios::unitbuf
Summary: electric fence says there's a memory leak in libstdc++-v3-3.3.6 when using io...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Aaron Walker (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-22 07:45 UTC by Yuri Karaban
Modified: 2005-12-12 07:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Karaban 2005-10-22 07:45:00 UTC
-----------[cut]------------------
#include <iostream>

using namespace std;

int
main ()
{
  cout.setf(ios::unitbuf);
  cout << "Hello World" << endl;
}
----------[cut]---------------------------

If to link this simple program with -lefence (Electric Fence).
Electric fence reporting that there is a memory leak:

Electric Fence: ptr=0xb7c47ff8 size=8 alloced from UNKNOWN (use #include
"efence.h")(0) not freed
ElectricFence Aborting: 
Electric Fence: EF_delFrame(): Found non free'd pointers.

Illegal instruction

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2005-12-12 07:50:18 UTC
Upstream doesn't care about 3.3 anymore, so we'll have a hard time fixing this
probably.