[phobos] phobos commit, revision 2028
Shin Fujishiro
rsinfu at gmail.com
Sat Sep 18 17:39:06 PDT 2010
Brad Roberts <braddr at puremagic.com> wrote:
> The win32 phobos tests started failing after this submit.. with an access violation.
>
> http://d.puremagic.com/test-results/test_data.ghtml?dataid=3525
Probably it's related to the executable size.
With the following pragma, I found that the access violation starts
from about 82 instantiations of std.typecons.Tuple.
----------
struct Tuple(Specs...)
{
pragma(msg, "@@@");
...
----------
Removing some Tuple instantiations in Tuple's unittests suppressed the
access violation. Try removing first two blocks in Tuple's unittests;
phobos tests should succeed with no access violation.
Or, run the tests without a random module. For instance, inserting
__EOF__ at the beginning of std/json.d fixes the access violation!
My commit r2025 erased the body of a dummy function in Tuple. I reckon
that changeset could suppress the access violation thanks to smaller
executable. Now, another commit increased the size, and...
Shin
More information about the phobos
mailing list