[mercury-users] Re: segfault in hlc.gc when optimise-constructor-last-call is enabled

Michael Day mikeday at yeslogic.com
Mon Mar 7 11:51:01 AEDT 2011


Hi Julien,

> As a workaround try disabling the removal of excess assignment
> unifications, e.g. compile with --no-excess-assign.  Doing so avoids
> the problem, at least for the test case.

This fixes this particular problem, which is good. However, it does lead 
to new segfaults elsewhere, apparently caused by stack overflows that 
are normally avoided by the constructor-last-call optimisation.

Is there any chance that this bug could be fixed some time in the next 
month or so?

Best regards,

Michael

-- 
Print XML with Prince!
http://www.princexml.com
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list