Richard Webb wrote:
Don Wrote:

If D2 -- I haven't been able to get D2 DLLs to work at all. They just crash during the initialization (something to do with initialising the thread-locals, I think, but I haven't been able to track it down completely).

Hi,
I've recently been having a go at writing a COM object in D, and have run into 
this when trying it in D2.

Debugging through it, i get a crash on the
void* pstart = cast(void*) &_tlsstart;

on line 1192 of thread.d, due to a null pointer access.

Yes, that's the exact same place where it crashed for me.

This sounds like the issue described at http://www.nynaeve.net/?p=187 ?

Indeed it does. Thanks for the link, that's tremendously helpful.

Is this a known problem with D2 ?

It wasn't, but it is now. Walter has created bugzilla 3342.


Reply via email to