[m-rev.] for review: revert HBLKSIZE increase on linux

Peter Wang novalazy at gmail.com
Thu Apr 28 16:45:56 AEST 2011


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).
The abort is triggered by this line in MR_process_environment_options:

    MR_GC_free(prog_env_option_name);

My patch doesn't touch anything so early in the runtime initialisation.
It bootchecks in all non-.par grades that I've tested.
It also bootchecks in .par grades, if I revert the HBLKSIZE change.

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