This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/22309] mt allocator doesn't pthread_key_delete it's keys


------- Additional Comments From pcarlini at suse dot de  2005-07-05 16:55 -------
> Yes, that's the same thing apparently.

Thanks. And now we have also a compact testcase.

> I'm pretty sure a reproducer can be written even for libstdc++ not configured
> to default to the mt allocator, by including <ext/mt_allocator.h> etc.  or
> however you explicitely choose a specific allocator for some template
> instantiation.

Definitely.

> If init_priority attribute works, it could be perhaps used to make sure
> the destructor of some dummy object that calls gthread_key_delete in
> mt_allocator.cc will be run as last destructor in libstdc++.so.

Thanks for the hint. ... maybe Benjamin is willing to investigate this... ;)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bkoz at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22309


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]