[m-rev.] for review: revert HBLKSIZE increase on linux
Julien Fischer
juliensf at csse.unimelb.edu.au
Thu Apr 28 18:07:13 AEST 2011
On Thu, 28 Apr 2011, Peter Wang 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).
> 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.
Perhaps it's related to displacing pointers by an extra word with
memory attribution enabled?
Julien.
--------------------------------------------------------------------------
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