[m-rev.] for review: revert HBLKSIZE increase on linux
Peter Wang
novalazy at gmail.com
Thu Apr 28 17:04:18 AEST 2011
On 2011-04-28, Peter Wang <novalazy at gmail.com> wrote:
> On 2011-04-28, Paul Bone <pbone at csse.unimelb.edu.au> wrote:
> > On Wed, Apr 27, 2011 at 02:21:09PM +1000, Peter Wang wrote:
> > > For review by Paul. This might be required on the release branch as well.
> > >
> > > Branches: main
> > >
> > > Revert custom increase to HBLKSIZE in parallel grades on Linux.
> > > It was already reverted on other systems due to problems with it not working.
> > >
> > > In asm_fast.par.gc and hlc.par.gc grades on 64-bit Linux, I am getting
> > > aborts when GC_free is called:
> > >
> > > Duplicate large block deallocation of 0x7f2769f10000
> >
> > Can you show that this error is due to this configuration change?
>
> It's very strange. I've only seen it with my memory attribution patch
> applied, in asm_fast.par.gc and hlc.par.gc grades (note: no profiling).
I can also reproduce it like this:
./configure --enable-gc-munmap
cd boehm_gc
mmake -j4 GRADE=asm_fast.par.gc GC_GRADE=par_gc
gcc t1.c libpar_gc.a -lpthread
% ./a.out
Duplicate large block deallocation of 0x7ff8e6e80000
Duplicate large block deallocation
zsh: abort ./a.out
The program t1.c is simply:
#include "gc.h"
int main(void)
{
GC_init();
GC_free(GC_malloc(1));
return 0;
}
Peter
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list