[phobos] "bus error" happens on Mac OS X

Sean Kelly sean at invisibleduck.org
Fri Nov 12 10:59:43 PST 2010


On Nov 12, 2010, at 4:20 AM, Steve Schveighoffer wrote:

> I think the Mac OS code generation has some issues.
> 
> In the original code before I checked that in, every module index is set (see 
> the revision before 414: 
> http://dsource.org/projects/druntime/browser/trunk/src/object_.d?rev=405#L1900). 
> I don't see why r414 fails and r413 doesn't.
> 
> BTW, I just noticed, a lot of the code in prior versions checks to see if the 
> array contains null pointers, does this happen?  I don't think I put those 
> guards in.

It does happen, though I don't know why.  The module dependency tree has been screwed up for me on OSX in the past, so it wouldn't surprise me if there were an issue with OSX codegen here.  I just haven't taken the time to try and find it.


More information about the phobos mailing list