[dmd-internals] Looking for paid help with a D compiler problem

Leandro Lucarella via dmd-internals dmd-internals at puremagic.com
Mon Jan 12 19:41:29 PST 2015


Omri Palmon via dmd-internals, el 12 de January a las 11:00 me escribiste:
> We are developing a large scale D project, and about 20% of the times we
> get the following error:
> 
>  dmd: backend/aa.c:423: void AArray::rehash_x(aaA*, aaA**, size_t):
> Assertion `0' failed.
>  Aborted (core dumped)

Are you using rdmd or plain dmd? We experience some random crashes (that
would look like that, but I don't remember precisely and I can't check
right now). We are using rdmd to run tests that sometimes runs
concurrently, and I have the theory this is because rdmd is not prepared
to run the same binary concurrently compiled from different locations.
My theory is rdmd object cache gets screwed with half compiled objects
from another instance or something and this is why dmd crashes. Is a
wild theory which I couldn't prove yet though. But if you are using
rdmd, and this happens only when you compile multiple things
concurrently, it might worth trying to use only dmd or avoid the
concurrency. I couldn't get to debug this problem myself yet, and since
all I need normally is just to trigger a rebuild of the project, it was
never a high priority issue.


-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
Es mas posible, que un elefante maneje un cero km a que un camello
habite un departamento de un ambiente.
	-- Peperino PĆ³moro


More information about the dmd-internals mailing list