[dmd-internals] Assertion failed: (len <= 6), function OmToHeader, file libmach.c, line 168., m

Sean Kelly sean at invisibleduck.org
Fri Jun 18 16:26:35 PDT 2010


On Jun 18, 2010, at 6:52 AM, Leandro Lucarella wrote:

> Benjamin Shropshire, el 17 de junio a las 21:57 me escribiste:
>> Walter Bright wrote:
>>> 
>>> Here's the asserting code:
>>> 
>>>  len = sprintf(h->user_id, "%u", om->user_id);
>>>  assert(len <= 6);
>>> 
>>> I'd add a printf to see what your user_id is.
>>> 
>> 
>> Why does dmd ever even need to look at UIDs/GIDs?
> 
> Or artificially set limits on them! Weird...

It's been a while, but I recall this being a limitation of the object file format--it wasn't arbitrarily imposed by DMD.  I really need to set aside the time to look at the code again before I say more though.


More information about the dmd-internals mailing list