Michael Matz distilled this simple testcase from KDE arts: #include <string> #include <list> using namespace std; static list<string> modulePath; int main() { modulePath.push_back("hallo"); return 0; }
The attached valgrind output clearly shows that ~__pool is still not ok, unfortunately. -- Summary: Critical ~__pool troubles Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: critical Priority: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pcarlini at suse dot de CC: gcc-bugs at gcc dot gnu dot org,matz at suse dot de GCC build triplet: x86-linux GCC host triplet: x86-linux GCC target triplet: x86-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17937