Subject: Re: OpenOffice package broken with i386 -current ?
To: David Brownlee <abs@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: current-users
Date: 10/01/2002 17:30:56
> > > do you set MALLOC_OPTIONS or /etc/malloc.conf on your system?
> > > The build doesn't work with malloc options J.
> >
> > That ought to be indicative of a bug somewhere...
> > Probably assuming that malloc() is returning zero filled memory
> > (quite likely while the programs memory footprint is increasing).
> 
> 	My guess is it is double free()ing things. Also fun.

Yes. I did some analyzation there, and some of the OF libs
do pthread_join() on detached threads, which is a no-no
and leads to the mentioned double-free. I didn't hunt this further
at the time; I expect that 1.0.1 fixes this (it's quite severe bug).

Jaromir 
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-