[phobos] "bus error" happens on Mac OS X
Masahiro Nakagawa
repeatedly at gmail.com
Thu Nov 11 21:03:01 PST 2010
Any programs raised "bus error" in the trunk (My environment is Mac OS X
10.6.4).
I checked druntime and found problematic revision.
r413 works fine but r414 and later don't (Phobos unittest stopped at crc32
test).
http://dsource.org/projects/druntime/changeset/414
The cause is an access to _moduleinfo_array.
In the above link, "m.index = i;" at line 2045 is because of this bug.
But, but, but, r414 doesn't change the creation routine of
_moduleinfo_array.
It's a mystery to me... Why?
Masahiro
More information about the phobos
mailing list