Strange C++ crashes on program exit (possible libc bug)

Francois Tigeot ftigeot at wolfpond.org
Tue Mar 1 04:52:25 PST 2011


On Tue, Mar 01, 2011 at 08:01:23AM +0100, Francois Tigeot wrote:
> On Mon, Feb 28, 2011 at 09:50:59PM +0100, Francois Tigeot wrote:
> > 
> > The crash seems to occur in some internal cleanup function of the C library.
> 
> This bug reports documents a similar issue on MacOS X; it was fixed in
> OpenOffice with a special purpose routine:
> http://openoffice.org/bugzilla/show_bug.cgi?id=92388

I'm beginning to believe these crashes are due to a shortcoming in our
libc implementation.

Similar issues with C++ dynamic shared objects were fixed in revisions 1.11
and 1.12 of FreeBSD atexit.c back in august 2010:

http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/stdlib/atexit.c?f=u&only_with_tag=MAIN&logsort=date

-- 
Francois Tigeot





More information about the Kernel mailing list