[Bug 273] Unexplained crash in generated binary

Iain Buclaw ibuclaw at gdcproject.org
Sun Oct 1 21:19:16 UTC 2017


On 1 October 2017 at 10:17, Sebastien Alaiwan via D.gnu
<d.gnu at puremagic.com> wrote:
> On Saturday, 30 September 2017 at 08:08:29 UTC, Iain Buclaw wrote:
>>
>> --- Comment #4 from Iain Buclaw <ibuclaw at gdcproject.org> ---
>> If there's a specific configuration that defeats the GC's ability to
>> determine live objects from unreferenced, I'd like to know about it.
>
>
> This one is blocking us (luckily, only on one project).
> Any idea for a workaround?
>

Yes, the safe workaround is to have a pointer in the Derived class
(see update in bugzilla thread).


> We can't downgrade to gdc-6 because
> https://bugzilla.gdcproject.org/show_bug.cgi?id=250 (fixed on master, not
> backported to gdc-6).
>
> Thanks!
>
> (PS: You're talking about Ubuntu, please note that the testcase comes from
> Debian)
>

They come from the same build source tree. Apply mostly the same
patches, and configure options.

It seems however that it is not Debian specific.  Found the cause, and
pushing a fix right now. :-)

Regards
Iain.


More information about the D.gnu mailing list